Skip to content
OpenAdvisories
Unscored Public exploit CVE-2002-0840 EUVD-2002-0832GHSA-rg25-cp4q-r4c8

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 UseCanonicalNa…

Published Sep 1, 2004 · Updated Aug 8, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.0.43-1 —
Debian 13 apache2 2.0.43-1 —
Debian 12 apache2 2.0.43-1 —
Debian 3.0 apache 1.3.26-0woody DSA-187
Debian 3.0 apache-perl 1.3.26-1-1.26-0woody2 DSA-195
Debian 3.0 apache-ssl 1.3.26.1+1.48-0woody3 DSA-188

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References