7.8
CWE
119 79 131
Advisory Published
Updated

CVE-2004-0940: Buffer Overflow

First published: Tue Oct 26 2004(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Apache Http Server>=1.3<=1.3.32
openpkg openpkg=2.0
openpkg openpkg=2.1
openpkg openpkg=2.2
HPE HP-UX=11.00
HPE HP-UX=11.11
HPE HP-UX=11.20
HPE HP-UX=11.22
Slackware Linux=8.0
Slackware Linux=8.1
Slackware Linux=9.0
Slackware Linux=9.1
Slackware Linux=10.0
Slackware Linux=current
SUSE Linux=8.0
SUSE Linux=8.1
SUSE Linux=8.2
SUSE Linux=9.0
SUSE Linux=9.1
SUSE Linux=9.2
Trustix Secure Linux=1.5
Apache Http Server=1.3.23
Apache Http Server=1.3.27
Apache Http Server=1.3.1
Apache Http Server=1.3.25
Apache Http Server=1.3.28
Apache Http Server=1.3.19
Apache Http Server=1.3.31
Apache Http Server=1.3.24
Apache Http Server=1.3.20
Apache Http Server=1.3.7
Apache Http Server=1.3.6
openpkg openpkg=current
Apache Http Server=1.3.4
Apache Http Server=1.3.18
Apache Http Server=1.3
Apache Http Server=1.3.12
Apache Http Server=1.3.3
Apache Http Server=1.3.17
Apache Http Server=1.3.26
Apache Http Server=1.3.9
Apache Http Server=1.3.32
Apache Http Server=1.3.14
Apache Http Server=1.3.29
Apache Http Server=1.3.22
Apache Http Server=1.3.11
SUSE Linux=9.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2004-0940?

    CVE-2004-0940 is classified as a high severity vulnerability due to the potential for arbitrary code execution.

  • How do I fix CVE-2004-0940?

    To mitigate CVE-2004-0940, you should upgrade to Apache HTTP Server version 1.3.33 or later.

  • Who is affected by CVE-2004-0940?

    CVE-2004-0940 affects users running Apache HTTP Server versions 1.3.x up to and including 1.3.32.

  • What type of attack does CVE-2004-0940 enable?

    CVE-2004-0940 enables local users to execute arbitrary code through crafted Server Side Includes (SSI) documents.

  • Is CVE-2004-0940 a remote or local vulnerability?

    CVE-2004-0940 is a local vulnerability, as it requires authenticated access to the server to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203