Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


lighttpd "mtime" and "\r\n\r\n\" Denial of Service Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA24886  
Release Date: 2007-04-16

Critical:
Moderately critical
Impact: DoS
Where: From remote
Solution Status: Vendor Patch

Software:lighttpd 1.x

CVE reference:CVE-2007-1869 (Secunia mirror)
CVE-2007-1870 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Some vulnerabilities have been reported in lighttpd, which can be exploited by malicious users and malicious people to cause a DoS (Denial of Service).

1) An error exists during the parsing of the "\r\n\r\n" sequence. This can be exploited to cause an infinite loop by aborting the connection while the server parses the sequence, which e.g. results in a high CPU load and exhaustion of system resources .

2) An NULL pointer dereference exists within the mtime handling of files. This can be exploited to cause a crash by requesting a file with mtime 0.

Successful exploitation requires that the attacker can request or upload files with mtime 0, or can otherwise modify the mtime of files.

Vulnerability #1 is reported in version 1.4.12 and 1.4.13. Vulnerability #2 is reported in the 1.4.x branch and probably also affects the 1.3.x branch. Other versions may also be affected.

Solution:
Update to version 1.4.15 or apply patches.

http://www.lighttpd.net/assets/2007/4/13/lighttpd-1.4.x_crlf_parsing_dos.patch
http://www.lighttpd.net/assets/2007/4/13/lighttpd-1.4.x_zero_mtime_crash.patch

Provided and/or discovered by:
1) Robert Jakabosky
2) cubiq

Original Advisory:
http://www.lighttpd.net/assets/2007/4/13/lighttpd_sa2007_01.txt
http://www.lighttpd.net/assets/2007/4/13/lighttpd_sa2007_02.txt



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

8 Related Secunia Security Advisories

1. lighttpd OpenSSL Error Queue Denial of Service Vulnerability
2. lighttpd mod_cgi and mod_userdir Information Disclosure Security Issues
3. lighttpd File Descriptor Array Denial of Service Vulnerability
4. lighttpd mod_fastcgi PHP Header Overflow
5. lighttpd Multiple Vulnerabilities
6. Lighttpd Script Source Disclosure Vulnerability
7. Lighttpd Case-Insensitive Filename Source Code Disclosure
8. lighttpd "%00" Application Source Code Disclosure Vulnerability


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Linux Kernel LDT Buffer Size Handling Vulnerability
3.
Red Hat update for thunderbird
4.
Ubuntu update for php
5.
Debian update for clamav
6.
Red Hat update for kernel
7.
Slackware update for dnsmasq
8.
Debian update for xulrunner
9.
Fedora update for asterisk
10.
Microsoft Access Snapshot Viewer ActiveX Control Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia