CVE-2002-0840: XSS

Published 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.

Affected Software

47 affected components
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 Application Server=1.0.2
Oracle Application Server=1.0.2.1s
Oracle Application Server=1.0.2.2
Oracle Application Server=9.0.2
Oracle Application Server=9.0.2-r2
Oracle Application Server=9.0.2.1
Oracle Database Server=8.1.7
Oracle Database Server=9.2.1
Oracle Database Server=9.2.2
Oracle Oracle8i=8.1.7
Oracle Oracle8i=8.1.7.1
Oracle Oracle8i=8.1.7_.0.0_enterprise
Oracle Oracle8i=8.1.7_.1.0_enterprise
Oracle Oracle9i=9.0
Oracle Oracle9i=9.0.1
Oracle Oracle9i=9.0.1.2
Oracle Oracle9i=9.0.1.3
Oracle Oracle9i=9.0.2

Event History

Oct 11, 2002
CVE Published
04:00 AM
Sep 1, 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-2002-0840?

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

2

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'.

3

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.

4

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.

5

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