CVE-2002-0840
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…
Check your servers for CVE-2002-0840
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2002-0840 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
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.
Exploitation
EPSS 95.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.9% of all scored CVEs. Scores of 26 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2002-0840 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2002-0840RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2002-0840Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2002-0840
trivy image --scanners vuln IMAGE | grep CVE-2002-0840
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
36 of 37 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- DSA-188 debian.org · vendor advisory
- http://marc.info/?l=apache-httpd-announce&m=103367938230488&w=2 marc.info
- ESA-20021007-024 linuxsecurity.com · vendor advisory
- HPSBUX0210-224 online.securityfocus.com · vendor advisory
- DSA-187 debian.org · vendor advisory
- http://www.apacheweek.com/issues/02-10-04 apacheweek.com
- DSA-195 debian.org · vendor advisory
- MDKSA-2002:068 linux-mandrake.com · vendor advisory
- CLA-2002:530 distro.conectiva.com.br · vendor advisory
- RHSA-2002:243 redhat.com · vendor advisory
- RHSA-2002:222 redhat.com · vendor advisory
- RHSA-2003:106 redhat.com · vendor advisory
4 more
- RHSA-2002:251 redhat.com · vendor advisory
- VU#240329 kb.cert.org · third party advisory
- RHSA-2002:248 redhat.com · vendor advisory
- RHSA-2002:244 redhat.com · vendor advisory
Other references
- 20021003 [OpenPKG-SA-2002.009] OpenPKG Security Advisory (apache) marc.info · mailing list
- 20021017 TSLSA-2002-0069-apache archives.neohapsis.com · mailing list
- 20021002 Apache 2 Cross-Site Scripting marc.info · mailing list
- 862 osvdb.org · vdb entry
- apache-http-host-xss(10241) exchange.xforce.ibmcloud.com · vdb entry
- 20021002 Apache 2 Cross-Site Scripting archives.neohapsis.com · mailing list
- 5847 securityfocus.com · vdb entry
- [httpd-cvs] 20190815 svn commit: r1048742 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20190815 svn commit: r1048743 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058586 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058587 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
8 more
- [httpd-cvs] 20210330 svn commit: r1073140 [1/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073140 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073143 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [2/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210603 svn commit: r1075360 [1/3] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210606 svn commit: r1075470 [1/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210606 svn commit: r1075470 [2/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
Source: the record CVE-2002-0840 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse