CVE-2002-1157 Cross-site scripting in n/a
Remote attackers can execute arbitrary scripts in victim browsers via XSS in Apache mod_ssl when specific DNS and canonical name settings are enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2002-1157?
CVE-2002-1157 is a high-severity cross-site scripting vulnerability in n/a, published on 1 Sep 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting vulnerability in the mod_ssl Apache module 2.8.9 and earlier, when UseCanonicalName is off and wildcard DNS is enabled, allows remote attackers to execute script as other web site visitors, via the server name in an HTTPS response on the SSL port, which is used in a self-referencing URL, a different vulnerability than CAN-2002-0840.
Which versions are affected by CVE-2002-1157?
It affects 1 product.
Products include Mod Ssl Mod Ssl.
How do I fix CVE-2002-1157?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2002-1157 being exploited?
There is no known exploitation of CVE-2002-1157 in the wild and no public exploit code.
Sources
Also known as DSA-181, GHSA-42vq-2xjj-6g8w.