CVE-2004-0940

Public Exploit

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.

Category

7.8
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 4.16% Top 15%
Vendor Advisory marc.info Vendor Advisory mandriva.com Vendor Advisory redhat.com Vendor Advisory debian.org Vendor Advisory redhat.com Vendor Advisory sun.com Vendor Advisory securityfocus.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
http://marc.info/?l=bugtraq&m=109906660225051&w=2 mailing list third party advisory vendor advisory
http://www.apacheweek.com/features/security-13 product
http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm third party advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2004:134 third party advisory vendor advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/17785 vdb entry third party advisory
http://www.securityfocus.com/bid/11471 patch vendor advisory exploit vdb entry third party advisory broken link
http://www.redhat.com/support/errata/RHSA-2005-816.html vendor advisory broken link
http://secunia.com/advisories/12898/ third party advisory broken link
http://www.debian.org/security/2004/dsa-594 mailing list third party advisory vendor advisory
http://secunia.com/advisories/19073 third party advisory broken link
http://securitytracker.com/id?1011783 vdb entry third party advisory broken link
http://www.redhat.com/support/errata/RHSA-2004-600.html vendor advisory broken link
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1 vendor advisory broken link
http://www.vupen.com/english/advisories/2006/0789 vdb entry broken link
https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E mailing list patch
https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E mailing list patch
https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E mailing list patch
https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E mailing list patch
https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E mailing list patch
https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E mailing list patch
https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E mailing list patch

Frequently Asked Questions

What is the severity of CVE-2004-0940?
CVE-2004-0940 has been scored as a high severity vulnerability.
How to fix CVE-2004-0940?
To fix CVE-2004-0940, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2004-0940 being actively exploited in the wild?
It is possible that CVE-2004-0940 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~4% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.