CVE-2004-0940

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.

Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
4.830%
chance of exploitation in the next 30 days
higher than 92.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2

Weakness

Timeline

  1. 2004-10-18First Exploit-DB entry (EDB-ID 24694)8 days before publication
  2. 2004-10-26Published by the CNA04:00 UTC

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 587locallinux2004-10-21yes
EDB-ID 24694locallinux2004-10-18yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
apache http_serverfrom 1.3 through 1.3.32no fix listednot listed
hp hp-ux11.00no fix listed11.11no fix listed11.20no fix listed11.22no fix listednot listednot listednot listednot listed
openpkg openpkg2.0no fix listed2.1no fix listed2.2no fix listednot listednot listednot listed
slackware slackware_linux10.0no fix listed8.0no fix listed8.1no fix listed9.0no fix listed9.1no fix listednot listednot listednot listednot listednot listed
suse suse_linux8.0no fix listed8.1no fix listed8.2no fix listed9.0no fix listed9.1no fix listed(+1 more)not listednot listednot listednot listednot listed
trustix secure_linux1.5no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

21 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources