CVE-2004-0940
Alta (7.8)—Exploit
Gravedad7.8Alta · CVSS 3.1
Probabilidad de explotación4.83 %mayor que el 92 % de las CVE · dato del 24 nov 2026
Explotación activaNono figura en el catálogo de CISA · comprobado 25 nov, 09:00
Exploit públicoDisponiblePublicado en Exploit-DB
Desbordamiento de búfer en la función get_tag de mod_include para Apache 1.3.x hasta la 1.3.32 permite a usuarios locales que puedan crear documentos SSI ejecutar código arbitrario como el usuario apache mediante documentos SSI (XSSI) que provoquen un error de cálculo de longitud.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Primer exploit público: Publicado en Exploit-DB
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Exploits públicos
Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.
- Publicado en Exploit-DB · Apache 1.3.31 mod_include - Local Buffer Overflow (21 oct 2004)
- Publicado en Exploit-DB · Apache 1.3.x mod_include - Local Buffer Overflow (18 oct 2004)
Tecnologías afectadas (6)
Registro NVD
- Estado en NVD
- Modificada
- Publicada
- 9 feb 2005
- Última modificación
- 16 jun 2026
- Vector CVSS
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Debilidad (CWE)
- CWE-131
Referencias
- Aviso del fabricantesecurityfocus.com/bid/11471
- Parchelists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d…
- Parchelists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962ca…
- Parchelists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600…
- Parchelists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2a…
- Parchelists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8a…
Mostrar 15 referencias másMostrar menos
- Parchelists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f6988…
- Parchelists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f1…
- Aviso de tercerosmarc.info
- Aviso de tercerossecuritytracker.com/id
- Aviso de tercerossupport.avaya.com/elmodocs2/security/ASA-2006-081.htm
- Aviso de tercerosdebian.org/security/2004/dsa-594
- Aviso de tercerosmandriva.com/security/advisories
- Aviso de tercerosexchange.xforce.ibmcloud.com/vulnerabilities/17785
- Página del productoapacheweek.com/features/security-13
- Enlace rotosecunia.com/advisories/12898
- Enlace rotosecunia.com/advisories/19073
- Enlace rotosunsolve.sun.com/search/document.do
- Enlace rotoredhat.com/support/errata/RHSA-2004-600.html
- Enlace rotoredhat.com/support/errata/RHSA-2005-816.html
- Enlace rotovupen.com/english/advisories/2006/0789
JSON original (NVD)
Mostrar
{
"id": "CVE-2004-0940",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 6.9,
"accessVector": "LOCAL",
"vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
"authentication": "NONE",
"integrityImpact": "COMPLETE",
"accessComplexity": "MEDIUM",
"availabilityImpact": "COMPLETE",
"confidentialityImpact": "COMPLETE"
},
"acInsufInfo": false,
"impactScore": 10,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": true,
"exploitabilityScore": 3.4,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2005-02-09T05:00:00.000",
"references": [
{
"url": "http://marc.info/?l=bugtraq&m=109906660225051&w=2",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/12898/",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/19073",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "http://securitytracker.com/id?1011783",
"tags": [
"Broken Link",
"Third Party Advisory",
"VDB Entry"
],
"source": "cve@mitre.org"
},
{
"url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm",
"tags": [
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.apacheweek.com/features/security-13",
"tags": [
"Product"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.debian.org/security/2004/dsa-594",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2004:134",
"tags": [
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2004-600.html",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2005-816.html",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/bid/11471",
"tags": [
"Broken Link",
"Exploit",
"Patch",
"Third Party Advisory",
"VDB Entry",
"Vendor Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.vupen.com/english/advisories/2006/0789",
"tags": [
"Broken Link"
],
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17785",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "http://marc.info/?l=bugtraq&m=109906660225051&w=2",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/12898/",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/19073",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://securitytracker.com/id?1011783",
"tags": [
"Broken Link",
"Third Party Advisory",
"VDB Entry"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.apacheweek.com/features/security-13",
"tags": [
"Product"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.debian.org/security/2004/dsa-594",
"tags": [
"Mailing List",
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDKSA-2004:134",
"tags": [
"Third Party Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2004-600.html",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.redhat.com/support/errata/RHSA-2005-816.html",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/bid/11471",
"tags": [
"Broken Link",
"Exploit",
"Patch",
"Third Party Advisory",
"VDB Entry",
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.vupen.com/english/advisories/2006/0789",
"tags": [
"Broken Link"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17785",
"tags": [
"Third Party Advisory",
"VDB Entry"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E",
"tags": [
"Mailing List",
"Patch"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-131"
}
]
}
],
"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."
}
],
"lastModified": "2026-06-16T22:06:42.493",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E48FC2F5-318B-4460-861D-80314B42F84B",
"versionEndIncluding": "1.3.32",
"versionStartIncluding": "1.3"
},
{
"criteria": "cpe:2.3:a:openpkg:openpkg:2.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "48A4B336-2D5B-4D9B-AA87-E5266FED05BD"
},
{
"criteria": "cpe:2.3:a:openpkg:openpkg:2.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "37042CDE-E4FE-442E-891A-CD84433D36E2"
},
{
"criteria": "cpe:2.3:a:openpkg:openpkg:2.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "11F6E348-01DF-4FA4-808E-39A2A7A2B97B"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:hp:hp-ux:11.00:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "771931F7-9180-4EBD-8627-E1CF17D24647"
},
{
"criteria": "cpe:2.3:o:hp:hp-ux:11.11:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EDD9BE2B-7255-4FC1-B452-E8370632B03F"
},
{
"criteria": "cpe:2.3:o:hp:hp-ux:11.20:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6AB76FE0-BEF3-40D4-B362-0C95CA625A71"
},
{
"criteria": "cpe:2.3:o:hp:hp-ux:11.22:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "EBD0DC0A-ACAD-4870-9C0F-3095F2AC8CCD"
},
{
"criteria": "cpe:2.3:o:slackware:slackware_linux:8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "78D76664-F4AC-470A-9686-3F708922A340"
},
{
"criteria": "cpe:2.3:o:slackware:slackware_linux:8.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "57F41B40-75E6-45C8-A5FB-8464C0B2D064"
},
{
"criteria": "cpe:2.3:o:slackware:slackware_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "300A6A65-05FD-401C-80F6-B5F5B1F056E0"
},
{
"criteria": "cpe:2.3:o:slackware:slackware_linux:9.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AA3D53C9-3806-45E6-8AE9-7D41280EF64C"
},
{
"criteria": "cpe:2.3:o:slackware:slackware_linux:10.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D29C5A03-A7C9-4780-BB63-CF1E874D018D"
},
{
"criteria": "cpe:2.3:o:slackware:slackware_linux:current:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B1CB2DD9-E77F-46EE-A145-F87AD10EA8E4"
},
{
"criteria": "cpe:2.3:o:suse:suse_linux:8.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "28CD54FE-D682-4063-B7C3-8B29B26B39AD"
},
{
"criteria": "cpe:2.3:o:suse:suse_linux:8.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F8C55338-3372-413F-82E3-E1B476D6F41A"
},
{
"criteria": "cpe:2.3:o:suse:suse_linux:8.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1EFB33BF-F6A5-48C1-AEB5-194FCBCFC958"
},
{
"criteria": "cpe:2.3:o:suse:suse_linux:9.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FB0E2D3B-B50A-46C2-BA1E-3E014DE91954"
},
{
"criteria": "cpe:2.3:o:suse:suse_linux:9.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CFABFCE5-4F86-4AE8-9849-BC360AC72098"
},
{
"criteria": "cpe:2.3:o:suse:suse_linux:9.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CFF36BC6-6CCD-4FEE-A120-5B8C4BF5620C"
},
{
"criteria": "cpe:2.3:o:trustix:secure_linux:1.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "39605B96-BAD6-45C9-BB9A-43D6E2C51ADD"
}
],
"operator": "OR"
}
]
}
],
"vendorComments": [
{
"comment": "Fixed in Apache HTTP Server 1.3.33:\nhttp://httpd.apache.org/security/vulnerabilities_13.html",
"lastModified": "2008-07-02T00:00:00",
"organization": "Apache"
}
],
"sourceIdentifier": "cve@mitre.org"
}