CVE-2004-0940

Summary

CVECVE-2004-0940
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2005-02-09 05:00:00 UTC
Updated2025-04-03 01:03:51 UTC
DescriptionBuffer 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.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-131 | n/a


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary6.9AV:L/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:M/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Http Server All All All All
Operating System Hp Hp-ux 11.00 All All All
Operating System Hp Hp-ux 11.11 All All All
Operating System Hp Hp-ux 11.20 All All All
Operating System Hp Hp-ux 11.22 All All All
Application Openpkg Openpkg 2.0 All All All
Application Openpkg Openpkg 2.1 All All All
Application Openpkg Openpkg 2.2 All All All
Operating System Slackware Slackware Linux 10.0 All All All
Operating System Slackware Slackware Linux 8.0 All All All
Operating System Slackware Slackware Linux 8.1 All All All
Operating System Slackware Slackware Linux 9.0 All All All
Operating System Slackware Slackware Linux 9.1 All All All
Operating System Slackware Slackware Linux current All All All
Operating System Suse Suse Linux 8.0 All All All
Operating System Suse Suse Linux 8.1 All All All
Operating System Suse Suse Linux 8.2 All All All
Operating System Suse Suse Linux 9.0 All All All
Operating System Suse Suse Linux 9.1 All All All
Operating System Suse Suse Linux 9.2 All All All
Operating System Trustix Secure Linux 1.5 All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
Secunia - Advisories - Sun Solaris Multiple Apache Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
rhn.redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
Apache mod_include Local Buffer Overflow Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Exploit, Patch, Third Party Advisory, VDB Entry, Vendor Advisory
Advisories - Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com Third Party Advisory
Debian -- Security Information -- DSA-594-1 apache af854a3a-2127-422b-91ae-364da2661108 www.debian.org Mailing List, Third Party Advisory
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
'[OpenPKG-SA-2004.047] OpenPKG Security Advisory (apache)' - MARC af854a3a-2127-422b-91ae-364da2661108 marc.info Mailing List, Third Party Advisory
1. Overview: af854a3a-2127-422b-91ae-364da2661108 support.avaya.com Third Party Advisory
SecurityTracker.com Archives - Apache mod_include Buffer Overflow Lets Local Users Execute Arbitrary Code af854a3a-2127-422b-91ae-364da2661108 securitytracker.com Broken Link, Third Party Advisory, VDB Entry
Secunia - Advisories - Apache "mod_include" Privilege Escalation Vulnerability af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
redhat.com | Red Hat Support af854a3a-2127-422b-91ae-364da2661108 www.redhat.com Broken Link
httpd 1.3 vulnerabilities - The Apache HTTP Server Project af854a3a-2127-422b-91ae-364da2661108 www.apacheweek.com Product
Webmail : Solution de messagerie professionnelle - OVHcloud- OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link
Pony Mail! af854a3a-2127-422b-91ae-364da2661108 lists.apache.org Mailing List, Patch
#102197: Security Vulnerabilities in the Apache 1.3 Web Server af854a3a-2127-422b-91ae-364da2661108 sunsolve.sun.com Broken Link
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
Pony Mail! MITRE lists.apache.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

OrganizationPublishedContributorStatement
Apache2008-07-02Mark J CoxFixed in Apache HTTP Server 1.3.33: http://httpd.apache.org/security/vulnerabilities_13.html
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report