Secunia Logo
Netsikker nu! 2008
 
lighttpd Multiple Vulnerabilities
Secunia Advisory: SA26130
Release Date: 2007-07-20
Last Update: 2007-08-03
Popularity: 13,500 views

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

Software:lighttpd 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-3946
CVE-2007-3947
CVE-2007-3948
CVE-2007-3949
CVE-2007-3950
CVE-2007-2841


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


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. WinFTP "PASV" Denial of Service Vulnerability // 45 views
2. My PHP Indexer "d" File Disclosure Vulnerability // 40 views
3. Real Estates Classifieds "cat" SQL Injection Vulnerability // 40 views
4. Joomla Ignite Gallery Component "gallery" SQL Injection // 39 views
5. Ayco Okul "linkid" SQL Injection Vulnerability // 39 views
6. NewLife Blogger "nlb3" SQL Injection Vulnerability // 36 views
7. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 32 views
8. Joomla OwnBiblio Component "catid" SQL Injection // 31 views
9. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 28 views
10. Subdreamer Light Global Variables SQL Injection Vulnerability // 25 views