Secunia Logo
Netsikker nu! 2008
 
lighttpd "mtime" and "\r\n\r\n\" Denial of Service Vulnerabilities
Secunia Advisory: SA24886
Release Date: 2007-04-16
Popularity: 8,251 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

7th Oct, 2008
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 340 views
Debian update for php5
Moderately // 269 views
Atarone CMS Multiple Vulnerabilities
Moderately // 294 views
Debian update for squid
Less // 294 views
SUSE update for mercurial
Moderately // 342 views
SUSE update for openssh
Less // 275 views
Fedora update for mediawiki

Solutions | More...  


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. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 33 views
2. HP-UX NFS/ONCplus Denial of Service Vulnerability // 30 views
3. D-Bus "_dbus_validate_signature_with_reason()" Denial of Service // 28 views
4. Debian update for php5 // 27 views
5. Atarone CMS Multiple Vulnerabilities // 27 views
6. SUSE update for dovecot and graphicsmagic // 25 views
7. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 25 views
8. CMME Information Disclosure Security Issues // 25 views
9. SUSE update for openssh // 24 views
10. phpBB "gen_rand_string()" Predictable RNG Weakness // 24 views