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 Multiple Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA26130  
Release Date: 2007-07-20
Last Update: 2007-08-03

Critical:
Highly critical
Impact: Security Bypass
DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:lighttpd 1.x

CVE reference:CVE-2007-3946 (Secunia mirror)
CVE-2007-3947 (Secunia mirror)
CVE-2007-3948 (Secunia mirror)
CVE-2007-3949 (Secunia mirror)
CVE-2007-3950 (Secunia mirror)
CVE-2007-2841 (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 people to bypass certain security restrictions, cause a DoS (Denial of Service), or potentially to compromise a vulnerable system.

1) An error in the processing of HTTP headers can be exploited to cause a DoS by sending duplicate HTTP headers with a trailing whitespace character.

2) An error in mod_auth can be exploited to cause a DoS by sending requests with the algorithm set to "MD5-sess" and without a cnonce.

3) An error when parsing Auth-Digest headers in mod_auth can potentially be exploited to cause a DoS by sending multiple whitespace characters.

4) An error exists in the mechanism that limits the number of active connections. This can be exploited to cause a DoS.

5) An error exists in the processing of HTTP requests. This can be exploited to access restricted files by adding a "/" to an URL.

6) An error exists in mod_scgi. This can be exploited to cause a DoS by sending a SCGI request and closing the connection while lighttpd processes the request.

7) The return value of "base64_decode" in mod_auth was not checked properly when parsing the credentials for basic authentication, which could lead to accessing uninitialized memory.

8) An error in the header parsing code can lead to access of memory outside of the original boundaries and can cause a memory corruption.

Successful exploitation of this vulnerability can potentially be exploited to execute arbitrary code.

The vulnerabilities are reported in lighttpd-1.4.15. Previous versions may also be affected.

Solution:
Update to version 1.4.16.
http://www.lighttpd.net/download

Provided and/or discovered by:
1) Olaf van der Spek
2, 3, 7, 8) Stefan Esser
4) pyunyh
5) jay
6) jtate

Changelog:
2007-07-25: Updated "Solution" section. Added vulnerabilities #7 and #8 and raised criticality. Updated credits and "Original Advisory" section.
2007-07-27: Added CVE reference.
2007-08-03: Added CVE reference.

Original Advisory:
http://www.lighttpd.net/2007/7/24/1-4-16-let-s-ship-it

1) http://trac.lighttpd.net/trac/ticket/1232
2, 3) http://trac.lighttpd.net/trac/changeset/1875
4) http://trac.lighttpd.net/trac/ticket/1216
5) http://trac.lighttpd.net/trac/ticket/1230
6) http://trac.lighttpd.net/trac/ticket/1263
7) http://www.lighttpd.net/assets/2007/7/24/lighttpd_sa2007_04.txt
8) http://www.lighttpd.net/assets/2007/7/24/lighttpd_sa2007_06.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 "mtime" and "\r\n\r\n\" Denial of Service 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.
Mozilla Firefox Multiple Vulnerabilities
2.
Opera for Windows Unspecified Code Execution
3.
VLC Media Player WAV Processing Integer Overflow
4.
Mozilla Thunderbird Multiple Vulnerabilities
5.
Opera Canvas Functions Information Disclosure
6.
PCRE pcre_compile.c Buffer Overflow Vulnerability
7.
Novell eDirectory ds.dlm Module Buffer Overflow
8.
Drupal Organic groups Information Disclosure and Script Insertion
9.
UnixWare ReliantHA Privilege Escalation Vulnerabilities
10.
XchangeBoard "boardID" SQL Injection Vulnerability





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