{"id":"CVE-2004-0940","state":"PUBLISHED","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 SSI documents to execute arbitrary code as the apache user via S","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.","publishedAt":"2004-10-26T04:00:00.000Z","updatedAt":"2024-08-08T00:31:48.244Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://marc.info/?l=bugtraq&m=109906660225051&w=2","http://www.apacheweek.com/features/security-13","http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","http://www.mandriva.com/security/advisories?name=MDKSA-2004:134","https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","http://www.securityfocus.com/bid/11471","http://www.redhat.com/support/errata/RHSA-2005-816.html","http://secunia.com/advisories/12898/","http://www.debian.org/security/2004/dsa-594","http://secunia.com/advisories/19073","http://securitytracker.com/id?1011783","http://www.redhat.com/support/errata/RHSA-2004-600.html","http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","http://www.vupen.com/english/advisories/2006/0789","https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%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/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%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/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/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E"],"weaknesses":[],"ingestedAt":"2026-10-29T19:26:59.037Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2004/0xxx/CVE-2004-0940.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2004-0940","state":"PUBLISHED","datePublished":"2004-10-26T04:00:00.000Z","dateUpdated":"2024-08-08T00:31:48.244Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2004-10-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2","name":"OpenPKG-SA-2004.047","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","name":"MDKSA-2004:134","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","name":"apache-modinclude-bo(17785)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/bid/11471","name":"11471","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","name":"RHSA-2005:816","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://secunia.com/advisories/12898/","name":"12898","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2004/dsa-594","name":"DSA-594","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/19073","name":"19073","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securitytracker.com/id?1011783","name":"1011783","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-600.html","name":"RHSA-2004:600","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","name":"102197","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://www.vupen.com/english/advisories/2006/0789","name":"ADV-2006-0789","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073139 [3/13] - in /websites/staging/httpd/trunk/content: ./ security/json/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073140 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1888194 [3/13] - /httpd/site/trunk/content/security/json/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073149 [4/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210606 svn commit: r1075470 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-06-06T10:08:39.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2004-10-22T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2004-0940","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"OpenPKG-SA-2004.047","refsource":"OPENPKG","url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2"},{"name":"http://www.apacheweek.com/features/security-13","refsource":"CONFIRM","url":"http://www.apacheweek.com/features/security-13"},{"name":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","refsource":"CONFIRM","url":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm"},{"name":"MDKSA-2004:134","refsource":"MANDRAKE","url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:134"},{"name":"apache-modinclude-bo(17785)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785"},{"name":"11471","refsource":"BID","url":"http://www.securityfocus.com/bid/11471"},{"name":"RHSA-2005:816","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2005-816.html"},{"name":"12898","refsource":"SECUNIA","url":"http://secunia.com/advisories/12898/"},{"name":"DSA-594","refsource":"DEBIAN","url":"http://www.debian.org/security/2004/dsa-594"},{"name":"19073","refsource":"SECUNIA","url":"http://secunia.com/advisories/19073"},{"name":"1011783","refsource":"SECTRACK","url":"http://securitytracker.com/id?1011783"},{"name":"RHSA-2004:600","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2004-600.html"},{"name":"102197","refsource":"SUNALERT","url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1"},{"name":"ADV-2006-0789","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2006/0789"},{"name":"[httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/","refsource":"MLIST","url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9@%3Ccvs.httpd.apache.org%3E"},{"name":"[httpd-cvs] 20210330 svn commit: r1073139 [3/13] - in /websites/staging/httpd/trunk/content: ./ security/json/","refsource":"MLIST","url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab@%3Ccvs.httpd.apache.org%3E"},{"name":"[httpd-cvs] 20210330 svn commit: r1073140 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html","refsource":"MLIST","url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5@%3Ccvs.httpd.apache.org%3E"},{"name":"[httpd-cvs] 20210330 svn commit: r1888194 [3/13] - /httpd/site/trunk/content/security/json/","refsource":"MLIST","url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3@%3Ccvs.httpd.apache.org%3E"},{"name":"[httpd-cvs] 20210330 svn commit: r1073149 [4/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/","refsource":"MLIST","url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8@%3Ccvs.httpd.apache.org%3E"},{"name":"[httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/","refsource":"MLIST","url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920@%3Ccvs.httpd.apache.org%3E"},{"name":"[httpd-cvs] 20210606 svn commit: r1075470 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html","refsource":"MLIST","url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e@%3Ccvs.httpd.apache.org%3E"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2","name":"OpenPKG-SA-2004.047","tags":["vendor-advisory","x_refsource_OPENPKG","x_transferred"]},{"url":"http://www.apacheweek.com/features/security-13","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:134","name":"MDKSA-2004:134","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","name":"apache-modinclude-bo(17785)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.securityfocus.com/bid/11471","name":"11471","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","name":"RHSA-2005:816","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://secunia.com/advisories/12898/","name":"12898","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.debian.org/security/2004/dsa-594","name":"DSA-594","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://secunia.com/advisories/19073","name":"19073","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://securitytracker.com/id?1011783","name":"1011783","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-600.html","name":"RHSA-2004:600","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","name":"102197","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2006/0789","name":"ADV-2006-0789","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073139 [3/13] - in /websites/staging/httpd/trunk/content: ./ security/json/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073140 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1888194 [3/13] - /httpd/site/trunk/content/security/json/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073149 [4/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E","name":"[httpd-cvs] 20210606 svn commit: r1075470 [1/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T00:31:48.244Z"}}]}}}