Secunia Logo
 
lighttpd "mtime" and "\r\n\r\n\" Denial of Service Vulnerabilities
Secunia Advisory: SA24886
Release Date: 2007-04-16
Popularity: 8,601 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. Apple iPhone / iPod touch Multiple Vulnerabilities // 31 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 23 views
3. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 22 views
4. Microsoft Word Smart Tag Invalid Length Processing Vulnerability // 22 views
5. vBulletin Visitor Messages Script Insertion Vulnerability // 20 views
6. xt:Commerce SQL Injection Vulnerability // 19 views
7. Fedora update for thunderbird // 19 views
8. Checkpoint VPN-1 Information Disclosure Vulnerability // 19 views
9. SemanticScuttle Cross-Site Scripting Vulnerabilities // 18 views
10. Easyedit CMS Multiple SQL Injection Vulnerabilities // 18 views