Apache HTTP Server up to 1.3.31 mod_include get_tag 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.6$0-$5k0.00

A vulnerability has been found in Apache HTTP Server up to 1.3.31 (Web Server) and classified as critical. This vulnerability affects the function get_tag of the component mod_include. 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, integrity, and availability. CVE summarizes:

Buffer overflow in the get_tag function in mod_include for Apache 1.3.x to 1.3.32 allows local users who can create SSI documents to execute arbitrary code as the apache user via SSI (XSSI) documents that trigger a length calculation error.

The bug was discovered 10/18/2004. The weakness was published 10/20/2004 by Crazy Einstein (Website). The advisory is shared for download at secunia.com. This vulnerability was named CVE-2004-0940 since 10/12/2004. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.

A public exploit has been developed by xCrZx and been published 4 days after the advisory. It is possible to download the exploit at securiteam.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 15797 (FreeBSD : apache mod_include buffer overflow vulnerability (11)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 86680 (Multiple Apache 1.3.32 and Earlier Web Server Local Buffer Overflow Vulnerabilities).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at httpd.apache.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (17785), Tenable (15797) and Exploit-DB (587). Additional details are provided at securityfocus.com. Similar entries are available at 878, 964, 965 and 1481.

Productinfo

Type

Vendor

Name

Version

License

Support

  • end of life (old version)

CPE 2.3info

CPE 2.2info

CVSSv4info

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

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: Proof-of-Concept
Author: xCrZx
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 15797
Nessus Name: FreeBSD : apache mod_include buffer overflow vulnerability (11)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 15554
OpenVAS Name: Apache mod_include priviledge escalation
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

ATK: 308
Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: httpd.apache.org

Timelineinfo

10/12/2004 🔍
10/18/2004 +6 days 🔍
10/19/2004 +1 days 🔍
10/20/2004 +1 days 🔍
10/20/2004 +0 days 🔍
10/21/2004 +1 days 🔍
10/21/2004 +0 days 🔍
10/24/2004 +2 days 🔍
10/25/2004 +1 days 🔍
11/17/2004 +23 days 🔍
11/23/2004 +6 days 🔍
02/09/2005 +78 days 🔍
03/02/2006 +386 days 🔍
03/10/2021 +5487 days 🔍

Sourcesinfo

Vendor: apache.org

Advisory: secunia.com
Researcher: Crazy Einstein
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-0940 (🔍)
X-Force: 17785 - Apache mod_include module buffer overflow, High Risk
SecurityTracker: 1011783 - Apache mod_include Buffer Overflow Lets Local Users Execute Arbitrary Code
SecuriTeam: securiteam.com
SecurityFocus: 11471 - Apache mod_include Local Buffer Overflow Vulnerability
Secunia: 19073 - Sun Solaris Multiple Apache Vulnerabilities, Moderately Critical
OSVDB: 11003 - Apache HTTP Server mod_include get_tag() Function Local Overflow
Vupen: ADV-2006-0789

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

Entryinfo

Created: 10/25/2004 12:46
Updated: 03/10/2021 09:20
Changes: 10/25/2004 12:46 (92), 04/16/2019 15:10 (13), 03/10/2021 09:15 (7), 03/10/2021 09:20 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!