lighttpd mod_fastcgi PHP Header Overflow
Secunia Advisory: SA26732
Release Date: 2007-09-10
Popularity: 6,646 views

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

Software:lighttpd 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4727


Description:
Mattias Bengtsson and Philip Olausson have reported a vulnerability in lighttpd, which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to an error in the mod_fastcgi extension when handling headers in a HTTP request. This can be exploited to e.g. add or replace PHP headers (e.g. SCRIPT_FILENAME) via a HTTP request containing an overly long header.

Successful exploitation allows execution of arbitrary PHP code.

The vulnerability affects versions prior to 1.4.18.

Solution:
Update to version 1.4.18.

Provided and/or discovered by:
Mattias Bengtsson and Philip Olausson, SECWEB

Original Advisory:
SECWEB:
http://secweb.se/en/advisories/lighttpd-fastcgi-remote-vulnerability/

lighttpd:
http://www.lighttpd.net/assets/2007/9/9/lighttpd_sa_2007_12.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. Adobe Flash Player Multiple Vulnerabilities // 58 views
2. VLC Media Player Multiple Vulnerabilities // 44 views
3. IBM DB2 Multiple Vulnerabilities // 42 views
4. Linux Kernel "listxattr" Memory Corruption and CHRP Denial of Service // 38 views
5. Sun Java JDK / JRE Multiple Vulnerabilities // 37 views
6. Microsoft Office Two Code Execution Vulnerabilities // 36 views
7. NetBSD Malformed ICMPv6 "MLD-QUERY" Denial of Service // 28 views
8. libpng "png_push_read_zTXt()" Off-By-One Vulnerability // 25 views
9. MemHT Portal "stats_res" SQL Injection Vulnerability // 25 views
10. Microsoft Word Malformed Object Pointer Vulnerability // 24 views