CVE-2002-1567 Apache Tomcat XSS Vulnerability
Remote attackers can execute arbitrary scripts and steal cookies via crafted URLs in Apache Tomcat, requiring user interaction.
- 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-1567?
CVE-2002-1567 is a medium-severity cross-site scripting vulnerability in Apache Tomcat, published on 19 Sep 2003. 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 (XSS) vulnerability in Apache Tomcat 4.1 allows remote attackers to execute arbitrary web script and steal cookies via a URL with encoded newlines followed by a request to a .jsp file whose name contains the script.
Which versions are affected by CVE-2002-1567?
2 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 4.1.0 | 4.1.29 |
org.apache.tomcat:tomcat Maven | From 4.1.0 | 4.1.29 |
Products include Apache Tomcat.
How do I fix CVE-2002-1567?
Upgrade org.apache.tomcat:tomcat to 4.1.29 or later.
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-1567 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2002-1567 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-86fp-jgwm-wgj5.