CVE-2006-7195 Apache Tomcat XSS Vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via header values in Apache Tomcat, requiring user interaction to execute.

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-2006-7195?

CVE-2006-7195 is a medium-severity cross-site scripting vulnerability in Apache Tomcat, published on 9 May 2007. 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 implicit-objects.jsp in Apache Tomcat 5.0.0 through 5.0.30 and 5.5.0 through 5.5.17 allows remote attackers to inject arbitrary web script or HTML via certain header values.

Which versions are affected by CVE-2006-7195?

4 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 5.0.0 to 5.0.30None
org.apache.tomcat:tomcat MavenFrom 5.0.0 to 5.0.30None
org.apache.tomcat:tomcat MavenFrom 5.5.05.5.18
org.apache.tomcat:tomcat MavenFrom 5.5.05.5.18

Products include Apache Tomcat.

How do I fix CVE-2006-7195?

Upgrade org.apache.tomcat:tomcat to 5.5.18 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-2006-7195 being exploited?

There is no known exploitation of CVE-2006-7195 in the wild and no public exploit code.

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-p57v-p3fx-qgwm.

Is CVE-2006-7195 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free