{
    "id": "CVE-2004-0940",
    "published": "2005-02-09 05:00:00",
    "last_modified": "2026-06-16 22:06:42",
    "cvss_score": "7.8",
    "cvss_severity": "HIGH",
    "cvss_version": "3.1",
    "cvss_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "cwe": "CWE-131",
    "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.",
    "epss_score": "0.04830",
    "epss_percentile": "0.91741",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-10-06 18:17:03",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "apache",
            "product": "http_server"
        },
        {
            "vendor": "hp",
            "product": "hp-ux"
        },
        {
            "vendor": "openpkg",
            "product": "openpkg"
        },
        {
            "vendor": "slackware",
            "product": "slackware_linux"
        },
        {
            "vendor": "suse",
            "product": "suse_linux"
        },
        {
            "vendor": "trustix",
            "product": "secure_linux"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "587",
            "title": "Apache 1.3.31 mod_include - Local Buffer Overflow",
            "date": "2004-10-21",
            "url": "https://www.exploit-db.com/exploits/587"
        },
        {
            "source": "exploit-db",
            "ref_id": "24694",
            "title": "Apache 1.3.x mod_include - Local Buffer Overflow",
            "date": "2004-10-18",
            "url": "https://www.exploit-db.com/exploits/24694"
        }
    ],
    "refs_list": [
        "http://marc.info/?l=bugtraq&m=109906660225051&w=2",
        "http://secunia.com/advisories/12898/",
        "http://secunia.com/advisories/19073",
        "http://securitytracker.com/id?1011783",
        "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102197-1",
        "http://support.avaya.com/elmodocs2/security/ASA-2006-081.htm",
        "http://www.apacheweek.com/features/security-13",
        "http://www.debian.org/security/2004/dsa-594",
        "http://www.mandriva.com/security/advisories?name=MDKSA-2004:134",
        "http://www.redhat.com/support/errata/RHSA-2004-600.html",
        "http://www.redhat.com/support/errata/RHSA-2005-816.html",
        "http://www.securityfocus.com/bid/11471",
        "http://www.vupen.com/english/advisories/2006/0789",
        "https://exchange.xforce.ibmcloud.com/vulnerabilities/17785",
        "https://lists.apache.org/thread.html/r5419c9ba0951ef73a655362403d12bb8d10fab38274deb3f005816f5%40%3Ccvs.httpd.apache.org%3E",
        "https://lists.apache.org/thread.html/r734a07156abf332d5ab27fb91d9d962cacfef4f3681e44056f064fa8%40%3Ccvs.httpd.apache.org%3E",
        "https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E",
        "https://lists.apache.org/thread.html/rd65d8ba68ba17e7deedafbf5bb4899f2ae4dad781d21b931c2941ac3%40%3Ccvs.httpd.apache.org%3E",
        "https://lists.apache.org/thread.html/re895fc1736d25c8cf57e102c871613b8aeec9ea26fd8a44e7942b5ab%40%3Ccvs.httpd.apache.org%3E",
        "https://lists.apache.org/thread.html/rf2f0f3611f937cf6cfb3b4fe4a67f69885855126110e1e3f2fb2728e%40%3Ccvs.httpd.apache.org%3E",
        "https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E",
        "http://marc.info/?l=bugtraq&m=109906660225051&w=2",
        "http://secunia.com/advisories/12898/",
        "http://secunia.com/advisories/19073",
        "http://securitytracker.com/id?1011783"
    ]
}