CWE
NVD-CWE-Other 79
Advisory Published
CVE Published
Updated

CVE-2002-0840: XSS

First published: Fri Oct 11 2002(Updated: )

Cross-site scripting (XSS) vulnerability in the default error page of Apache 2.0 before 2.0.43, and 1.3.x up to 1.3.26, when UseCanonicalName is "Off" and support for wildcard DNS is present, allows remote attackers to execute script as other web page visitors via the Host: header, a different vulnerability than CAN-2002-1157.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Apache Http Server=1.3
Apache Http Server=1.3.1
Apache Http Server=1.3.3
Apache Http Server=1.3.4
Apache Http Server=1.3.6
Apache Http Server=1.3.9
Apache Http Server=1.3.11
Apache Http Server=1.3.12
Apache Http Server=1.3.14
Apache Http Server=1.3.17
Apache Http Server=1.3.18
Apache Http Server=1.3.19
Apache Http Server=1.3.20
Apache Http Server=1.3.22
Apache Http Server=1.3.23
Apache Http Server=1.3.24
Apache Http Server=1.3.25
Apache Http Server=1.3.26
Apache Http Server=2.0
Apache Http Server=2.0.28
Apache Http Server=2.0.32
Apache Http Server=2.0.35
Apache Http Server=2.0.36
Apache Http Server=2.0.37
Apache Http Server=2.0.38
Apache Http Server=2.0.39
Apache Http Server=2.0.40
Apache Http Server=2.0.41
Apache Http Server=2.0.42
Oracle Java System Application Server=1.0.2
Oracle Java System Application Server=1.0.2.1s
Oracle Java System Application Server=1.0.2.2
Oracle Java System Application Server=9.0.2
Oracle Java System Application Server=9.0.2-r2
Oracle Java System Application Server=9.0.2.1
Oracle Database=8.1.7
Oracle Database=9.2.1
Oracle Database=9.2.2
Oracle Database=8.1.7
Oracle Database=8.1.7.1
Oracle Database=8.1.7_.0.0_enterprise
Oracle Database=8.1.7_.1.0_enterprise
Oracle Database=9.0
Oracle Database=9.0.1
Oracle Database=9.0.1.2
Oracle Database=9.0.1.3
Oracle Database=9.0.2

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-2002-0840?

    CVE-2002-0840 has a moderate severity rating due to the potential for cross-site scripting attacks.

  • How do I fix CVE-2002-0840?

    To fix CVE-2002-0840, upgrade to Apache version 2.0.43 or later, or ensure UseCanonicalName is set to 'On'.

  • What types of attacks can exploit CVE-2002-0840?

    CVE-2002-0840 can be exploited via cross-site scripting attacks that involve manipulating the Host: header.

  • Which versions of Apache are affected by CVE-2002-0840?

    CVE-2002-0840 affects Apache version 1.3.x up to 1.3.26 and all versions of Apache 2.0 before 2.0.43.

  • Is CVE-2002-0840 related to wildcard DNS support?

    Yes, CVE-2002-0840 requires support for wildcard DNS in order for the vulnerability to be exploited.

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