CVE-2004-0940: Buffer Overflow

Published Oct 26, 2004
·
Updated

Buffer overflow in the gettag function in modinclude 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.

Affected Software

47 affected components
Apache HTTP Server>=1.3<=1.3.32
Openpkg Openpkg=2.0
Openpkg Openpkg=2.1
Openpkg Openpkg=2.2
HP HP-UX=11.00
HP HP-UX=11.11
HP HP-UX=11.20
HP HP-UX=11.22
Slackware Slackware Linux=8.0
Slackware Slackware Linux=8.1
Slackware Slackware Linux=9.0
Slackware Slackware Linux=9.1
Slackware Slackware Linux=10.0
Slackware Slackware Linux=current
SUSE SuSE Linux=8.0
SUSE SuSE Linux=8.1
SUSE SuSE Linux=8.2
SUSE SuSE Linux=9.0
SUSE SuSE Linux=9.1
SUSE 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 SuSE Linux=9.0

Event History

Oct 26, 2004
CVE Published
via MITRE·08:00 AM
Data Sourced
via MITRE·08:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203