Apache HTTP Server up to 1.3.32-r1 mod_include get_tag memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic has been found in Apache HTTP Server up to 1.3.32-r1. This affects the function get_tag of the component mod_include. The manipulation leads to memory corruption.
This vulnerability is referenced as CVE-2004-0940. The attack needs to be initiated within the local network. Furthermore, an exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, has been found in Apache HTTP Server up to 1.3.32-r1 (Web Server). This issue affects the function get_tag of the component mod_include. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is availability. The summary by CVE is:
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 weakness was published 11/02/2004 by Matthias Geerdsen with Gentoo (Website). The advisory is shared at gentoo.org. The identification of this vulnerability is CVE-2004-0940 since 10/12/2004. Access to the local network is required for this attack to succeed. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.
The exploit is available at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $5k-$25k. 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. 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.
The vulnerability is also documented in the databases at X-Force (17785), Exploit-DB (587), Tenable (15797), SecurityFocus (BID 11471†) and OSVDB (11003†). xforce.iss.net is providing further details. Similar entries are available at VDB-878, VDB-940, VDB-964 and VDB-1481. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
License
Support
- end of life (old version)
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 5.9
VulDB Base Score: 6.5
VulDB Temp Score: 5.9
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
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Access: Public
Status: Proof-of-Concept
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: 🔍
OpenVAS ID: 15554
OpenVAS Name: Apache mod_include priviledge escalation
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: httpd.apache.org
Timeline
10/12/2004 🔍10/19/2004 🔍
10/20/2004 🔍
10/22/2004 🔍
11/02/2004 🔍
11/03/2004 🔍
11/23/2004 🔍
02/09/2005 🔍
12/02/2024 🔍
Sources
Vendor: apache.orgAdvisory: gentoo.org
Researcher: Matthias Geerdsen
Organization: Gentoo
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2004-0940 (🔍)
GCVE (CVE): GCVE-0-2004-0940
GCVE (VulDB): GCVE-100-965
X-Force: 17785 - Apache mod_include module buffer overflow, High Risk
SecurityFocus: 11471 - Apache mod_include Local Buffer Overflow Vulnerability
Secunia: 12898 - Apache "mod_include" Privilege Escalation Vulnerability, Less Critical
OSVDB: 11003
SecurityTracker: 1011783 - Apache mod_include Buffer Overflow Lets Local Users Execute Arbitrary Code
Vulnerability Center: 5679
Vupen: ADV-2006-0789
scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍
Entry
Created: 11/03/2004 14:37Updated: 12/02/2024 12:57
Changes: 11/03/2004 14:37 (84), 04/16/2019 15:10 (13), 03/10/2021 10:10 (3), 07/05/2024 08:19 (16), 12/02/2024 12:57 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.