{"id":"CVE-2004-0940","sourceIdentifier":"cve@mitre.org","published":"2005-02-09T05:00:00.000","lastModified":"2026-06-16T22:06:42.493","vulnStatus":"Modified","cveTags":[],"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":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","baseScore":6.9,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10.0,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-131"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*","versionStartIncluding":"1.3","versionEndIncluding":"1.3.32","matchCriteriaId":"E48FC2F5-318B-4460-861D-80314B42F84B"},{"vulnerable":true,"criteria":"cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*","matchCriteriaId":"48A4B336-2D5B-4D9B-AA87-E5266FED05BD"},{"vulnerable":true,"criteria":"cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*","matchCriteriaId":"37042CDE-E4FE-442E-891A-CD84433D36E2"},{"vulnerable":true,"criteria":"cpe:2.3:a:openpkg:openpkg:2.2:*:*:*:*:*:*:*","matchCriteriaId":"11F6E348-01DF-4FA4-808E-39A2A7A2B97B"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:hp:hp-ux:11.00:*:*:*:*:*:*:*","matchCriteriaId":"771931F7-9180-4EBD-8627-E1CF17D24647"},{"vulnerable":true,"criteria":"cpe:2.3:o:hp:hp-ux:11.11:*:*:*:*:*:*:*","matchCriteriaId":"EDD9BE2B-7255-4FC1-B452-E8370632B03F"},{"vulnerable":true,"criteria":"cpe:2.3:o:hp:hp-ux:11.20:*:*:*:*:*:*:*","matchCriteriaId":"6AB76FE0-BEF3-40D4-B362-0C95CA625A71"},{"vulnerable":true,"criteria":"cpe:2.3:o:hp:hp-ux:11.22:*:*:*:*:*:*:*","matchCriteriaId":"EBD0DC0A-ACAD-4870-9C0F-3095F2AC8CCD"},{"vulnerable":true,"criteria":"cpe:2.3:o:slackware:slackware_linux:8.0:*:*:*:*:*:*:*","matchCriteriaId":"78D76664-F4AC-470A-9686-3F708922A340"},{"vulnerable":true,"criteria":"cpe:2.3:o:slackware:slackware_linux:8.1:*:*:*:*:*:*:*","matchCriteriaId":"57F41B40-75E6-45C8-A5FB-8464C0B2D064"},{"vulnerable":true,"criteria":"cpe:2.3:o:slackware:slackware_linux:9.0:*:*:*:*:*:*:*","matchCriteriaId":"300A6A65-05FD-401C-80F6-B5F5B1F056E0"},{"vulnerable":true,"criteria":"cpe:2.3:o:slackware:slackware_linux:9.1:*:*:*:*:*:*:*","matchCriteriaId":"AA3D53C9-3806-45E6-8AE9-7D41280EF64C"},{"vulnerable":true,"criteria":"cpe:2.3:o:slackware:slackware_linux:10.0:*:*:*:*:*:*:*","matchCriteriaId":"D29C5A03-A7C9-4780-BB63-CF1E874D018D"},{"vulnerable":true,"criteria":"cpe:2.3:o:slackware:slackware_linux:current:*:*:*:*:*:*:*","matchCriteriaId":"B1CB2DD9-E77F-46EE-A145-F87AD10EA8E4"},{"vulnerable":true,"criteria":"cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*","matchCriteriaId":"28CD54FE-D682-4063-B7C3-8B29B26B39AD"},{"vulnerable":true,"criteria":"cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*","matchCriteriaId":"F8C55338-3372-413F-82E3-E1B476D6F41A"},{"vulnerable":true,"criteria":"cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*","matchCriteriaId":"1EFB33BF-F6A5-48C1-AEB5-194FCBCFC958"},{"vulnerable":true,"criteria":"cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*","matchCriteriaId":"FB0E2D3B-B50A-46C2-BA1E-3E014DE91954"},{"vulnerable":true,"criteria":"cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*","matchCriteriaId":"CFABFCE5-4F86-4AE8-9849-BC360AC72098"},{"vulnerable":true,"criteria":"cpe:2.3:o:suse:suse_linux:9.2:*:*:*:*:*:*:*","matchCriteriaId":"CFF36BC6-6CCD-4FEE-A120-5B8C4BF5620C"},{"vulnerable":true,"criteria":"cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*","matchCriteriaId":"39605B96-BAD6-45C9-BB9A-43D6E2C51ADD"}]}]}],"references":[{"url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://secunia.com/advisories/12898/","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"http://secunia.com/advisories/19073","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"http://securitytracker.com/id?1011783","source":"cve@mitre.org","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"http://www.apacheweek.com/features/security-13","source":"cve@mitre.org","tags":["Product"]},{"url":"http://www.debian.org/security/2004/dsa-594","source":"cve@mitre.org","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:134","source":"cve@mitre.org","tags":["Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-600.html","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"http://www.securityfocus.com/bid/11471","source":"cve@mitre.org","tags":["Broken Link","Exploit","Patch","Third Party Advisory","VDB Entry","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/0789","source":"cve@mitre.org","tags":["Broken Link"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","source":"cve@mitre.org","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","source":"cve@mitre.org","tags":["Mailing List","Patch"]},{"url":"http://marc.info/?l=bugtraq&m=109906660225051&w=2","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"http://secunia.com/advisories/12898/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"]},{"url":"http://secunia.com/advisories/19073","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"]},{"url":"http://securitytracker.com/id?1011783","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://www.apacheweek.com/features/security-13","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"http://www.debian.org/security/2004/dsa-594","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:134","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-600.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"]},{"url":"http://www.redhat.com/support/errata/RHSA-2005-816.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"]},{"url":"http://www.securityfocus.com/bid/11471","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Exploit","Patch","Third Party Advisory","VDB Entry","Vendor Advisory"]},{"url":"http://www.vupen.com/english/advisories/2006/0789","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17785","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]},{"url":"https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch"]}],"vendorComments":[{"organization":"Apache","comment":"Fixed in Apache HTTP Server 1.3.33:\nhttp://httpd.apache.org/security/vulnerabilities_13.html","lastModified":"2008-07-02T00:00:00"}]}