CVE-2007-3384 Apache Tomcat's CookieExample Vulnerable to XSS

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via the Name or Value fields in the Tomcat CookieExample servlet, 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
None listed

What is CVE-2007-3384?

CVE-2007-3384 is a medium-severity cross-site scripting vulnerability in Apache Tomcat, published on 8 Aug 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

Multiple cross-site scripting (XSS) vulnerabilities in examples/servlet/CookieExample in Apache Tomcat 3.3 through 3.3.2 allow remote attackers to inject arbitrary web script or HTML via the (1) Name or (2) Value field, related to error messages.

Which versions are affected by CVE-2007-3384?

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

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 3.3.0 to 3.3.2None
org.apache.tomcat:tomcat MavenFrom 3.3.0 to 3.3.2None

Products include Apache Tomcat.

How do I fix CVE-2007-3384?

No fix has been published for CVE-2007-3384 yet. Limit exposure of the affected software until one is available.

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-2007-3384 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-36hp-4x3g-phrg.

Is CVE-2007-3384 in your software?

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

Check your SBOMs for free