nday
CVE-2004-0940

Apache HTTP Server: buffer overflow / out-of-bounds writeTitle composed by nday; the CVE record has none.

A public PoC appeared 8 days before the CVE record was published. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from NVD's analysts
Exploit-DB
Exploit-DB entries 24694, 587
Apache HTTP Server
CPE names NVD's analysts give as vulnerable: a:apache:http_server
web / application server
CPE names NVD's analysts give as vulnerable: a:apache:http_serverthe product type of Apache HTTP Server in nday's product registry
stage
POC
disclosed
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2004-10-26T04:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2004-10-18, date only +1 more
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

2004-10-18date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache 1.3.x mod_include - Local Buffer Overflow” (EDB-24694). Verified by Exploit-DB.

src exploitdb 24694 · nday , bulk import · raw
{
  "id": 23802,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24694",
  "occurred_at": "2004-10-18T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24694",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24694",
    "file": "exploits/linux/local/24694.c",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Apache 1.3.x mod_include - Local Buffer Overflow",
    "author": "xCrZx",
    "edb_id": 24694,
    "cve_ids": [
      "CVE-2004-0940"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-10-18",
    "date_updated": "2017-01-31",
    "date_published": "2004-10-18"
  }
}
2004-10-21date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “Apache 1.3.31 mod_include - Local Buffer Overflow” (EDB-587). Verified by Exploit-DB.

src exploitdb 587 · nday , bulk import · raw
{
  "id": 23800,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/587",
  "occurred_at": "2004-10-21T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "587",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/587",
    "file": "exploits/linux/local/587.c",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Apache 1.3.31 mod_include - Local Buffer Overflow",
    "author": "xCrZx",
    "edb_id": 587,
    "cve_ids": [
      "CVE-2004-0940"
    ],
    "platform": "linux",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-10-20",
    "date_updated": "2017-01-31",
    "date_published": "2004-10-21"
  }
}
+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 81833,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2004-0940",
  "occurred_at": "2004-10-26T04:00:00Z",
  "observed_at": "2026-11-13T05:35:38.65165Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2004-10-26T04:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.