Jan Kneschke lighttpd 1.4.15 mod_fastcgi memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.0$0-$5k0.00

A vulnerability has been found in Jan Kneschke lighttpd 1.4.15 (Web Server) and classified as critical. This vulnerability affects an unknown functionality of the component mod_fastcgi. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, and integrity. CVE summarizes:

Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."

The bug was discovered 09/09/2007. The weakness was presented 09/10/2007 by Mattias Bengtsson Philip Olausson with SECWEB (Website). The advisory is available at secweb.se. This vulnerability was named CVE-2007-4727 since 09/05/2007. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are unknown but a public exploit is available.

It is possible to download the exploit at d2sec.com. It is declared as functional. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 27341 (openSUSE 10 Security Update : lighttpd (lighttpd-4532)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 87353 (lighttpd Buffer Overflow Vulnerability).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at lighttpd.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 8980.

The vulnerability is also documented in the databases at X-Force (36526) and Tenable (27341). See 458, 992, 1454 and 2668 for similar entries.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.0

VulDB Base Score: 6.5
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 27341
Nessus Name: openSUSE 10 Security Update : lighttpd (lighttpd-4532)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 58644
OpenVAS Name: Debian Security Advisory DSA 1362-2 (lighttpd)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: lighttpd.net
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

09/05/2007 🔍
09/09/2007 +4 days 🔍
09/09/2007 +0 days 🔍
09/10/2007 +1 days 🔍
09/10/2007 +0 days 🔍
09/10/2007 +0 days 🔍
09/10/2007 +0 days 🔍
09/12/2007 +1 days 🔍
09/16/2007 +4 days 🔍
09/19/2007 +3 days 🔍
09/28/2007 +9 days 🔍
10/17/2007 +19 days 🔍
03/15/2021 +4898 days 🔍

Sourcesinfo

Advisory: 1986
Researcher: Mattias Bengtsson Philip Olausson
Organization: SECWEB
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2007-4727 (🔍)
OVAL: 🔍

X-Force: 36526 - lighttpd mod_fastcgi code execution, High Risk
Vulnerability Center: 16051 - Lighttpd <1.4.18 Buffer Overflow in mod_fastcgi Extension Allows Remote Code Execution, High
SecurityFocus: 25622 - Lighttpd Mod_FastCGI Request Headers Remote Header Overflow Vulnerability
Secunia: 26997
OSVDB: 36933 - lighttpd mod_fastcgi HTTP Request Header Overflow
Vupen: ADV-2007-3110

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 09/19/2007 09:00
Updated: 03/15/2021 17:53
Changes: 09/19/2007 09:00 (106), 07/25/2019 17:34 (1), 03/15/2021 17:53 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!