{"id":"CVE-2004-0940","published":"2004-10-26T04:00:00Z","modified":"2024-08-08T00:31:48Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0483,"percentile":0.92198,"provenance":"source"},"cwes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2","tags":["vendor-advisory","x_refsource_OPENPKG"]},{"url":"http://www.apacheweek.com/features/security-13","tags":["x_refsource_CONFIRM"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:134","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/11471","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/12898/","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2004/dsa-594","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/19073","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securitytracker.com/id?1011783","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-600.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://www.vupen.com/english/advisories/2006/0789","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":18.44},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2004-10-18"},"first":{"date":"2004-10-18","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/24694"},"provenance":"source"},"summary":{"text":"The flaw is a buffer overflow in the get_tag function of mod_include, a component of the Apache HTTP Server in versions 1.3.x through 1.3.32. It is caused by a length calculation error that is triggered when processing SSI (XSSI) documents. An attacker who can create SSI documents on the local system can execute arbitrary code as the apache user by crafting a document that triggers the length calculation error. The attack requires local access and the ability to place SSI documents on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:07:08Z"},"euvd":{"id":"EUVD-2004-0938","exploited":false,"provenance":"source"},"exploits":[{"id":587,"url":"https://www.exploit-db.com/exploits/587","title":"Apache 1.3.31 mod_include - Local Buffer Overflow","date":"2004-10-21","verified":true,"provenance":"source"},{"id":24694,"url":"https://www.exploit-db.com/exploits/24694","title":"Apache 1.3.x mod_include - Local Buffer Overflow","date":"2004-10-18","verified":true,"provenance":"source"}]}