lighttpd "mtime" and "\r\n\r\n\" Denial of Service Vulnerabilities
Secunia Advisory: SA24886
Release Date: 2007-04-16
Popularity: 7,944 views

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

Software:lighttpd 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1869
CVE-2007-1870


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


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. phpBB Multiple Vulnerabilities // 54 views
2. Microsoft Word Malformed Object Pointer Vulnerability // 37 views
3. Zeroboard Two Vulnerabilities // 35 views
4. Subdreamer Light Global Variables SQL Injection Vulnerability // 31 views
5. Apple QuickTime Multiple Vulnerabilities // 30 views
6. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 29 views
7. Opera Multiple Vulnerabilities // 26 views
8. Internet Explorer DHTML Edit ActiveX Control Cross-Site Scripting // 26 views
9. Zeroboard Multiple Vulnerabilities // 24 views
10. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 21 views