CVE-2015-5351 Apache Tomcat allows remote attackers to bypass a CSRF protection mechanism by using a token

High 8.8 Published Updated

Remote attackers can bypass CSRF protection in Apache Tomcat Manager applications by exploiting session token generation flaws.

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-2015-5351?

CVE-2015-5351 is a high-severity vulnerability in Apache Tomcat, published on 25 Feb 2016. 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

The (1) Manager and (2) Host Manager applications in Apache Tomcat 7.x before 7.0.68, 8.x before 8.0.31, and 9.x before 9.0.0.M2 establish sessions and send CSRF tokens for arbitrary new requests, which allows remote attackers to bypass a CSRF protection mechanism by using a token.

Weakness: CWE-352

Which versions are affected by CVE-2015-5351?

6 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 3 products.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenAll versions7.0.68
org.apache.tomcat:tomcat MavenAll versions7.0.68
org.apache.tomcat:tomcat MavenFrom 8.0.08.0.31
org.apache.tomcat:tomcat MavenFrom 8.0.08.0.31
org.apache.tomcat:tomcat MavenFrom 9.0.0.M09.0.0.M2
org.apache.tomcat:tomcat MavenFrom 9.0.0.M09.0.0.M2

Products include Apache Tomcat, Canonical Ubuntu Linux, Debian Debian Linux.

How do I fix CVE-2015-5351?

Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 7.0.68, 8.0.31 or 9.0.0.M2.

Is CVE-2015-5351 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-w7cg-5969-678w, UBUNTU-CVE-2015-5351.

Is CVE-2015-5351 in your software?

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

Check your SBOMs for free