Apache HTTP Server up to 1.3.31 mod_include get_tag memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.6 | $0-$5k | 0.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.
Product
Type
Vendor
Name
Version
- 1.3.0
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.3.6
- 1.3.7
- 1.3.8
- 1.3.9
- 1.3.10
- 1.3.11
- 1.3.12
- 1.3.13
- 1.3.14
- 1.3.15
- 1.3.16
- 1.3.17
- 1.3.18
- 1.3.19
- 1.3.20
- 1.3.21
- 1.3.22
- 1.3.23
- 1.3.24
- 1.3.25
- 1.3.26
- 1.3.27
- 1.3.28
- 1.3.29
- 1.3.30
- 1.3.31
License
Support
- end of life (old version)
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: 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-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Patch: httpd.apache.org
Timeline
10/12/2004 🔍10/18/2004 🔍
10/19/2004 🔍
10/20/2004 🔍
10/20/2004 🔍
10/21/2004 🔍
10/21/2004 🔍
10/24/2004 🔍
10/25/2004 🔍
11/17/2004 🔍
11/23/2004 🔍
02/09/2005 🔍
03/02/2006 🔍
03/10/2021 🔍
Sources
Vendor: apache.orgAdvisory: 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: 🔍
Entry
Created: 10/25/2004 12:46Updated: 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: 🔍
No comments yet. Languages: en.
Please log in to comment.