CVE-2004-0940 EXPLOIT
7.8
HIGH · CVSS 3.1 · EPSS 4.8% (pctl 92)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 7.8 (HIGH, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 4.83% — more likely to be exploited than 92% of all CVEs |
| Weakness | CWE-131 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2005-02-09 |
| Last modified | 2026-06-16 |
Affected (6)
| Vendor | Product |
|---|---|
| apache | http server |
| hp | hp-ux |
| openpkg | openpkg |
| slackware | slackware linux |
| suse | suse linux |
| trustix | secure linux |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Apache 1.3.31 mod_include - Local Buffer Overflow | 2004-10-21 |
| exploit-db | Apache 1.3.x mod_include - Local Buffer Overflow | 2004-10-18 |
References
- http://marc.info/?l=bugtraq&m=109906660225051&w=2
- http://secunia.com/advisories/12898/
- http://secunia.com/advisories/19073
- http://securitytracker.com/id?1011783
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1
- http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm
- http://www.apacheweek.com/features/security-13
- http://www.debian.org/security/2004/dsa-594
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:134
- http://www.redhat.com/support/errata/RHSA-2004-600.html
- http://www.redhat.com/support/errata/RHSA-2005-816.html
- http://www.securityfocus.com/bid/11471
- http://www.vupen.com/english/advisories/2006/0789
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17785
- https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E
- https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E
→ the Explorer · watch your stack · NVD