CVE-2015-5351 Apache Tomcat allows remote attackers to bypass a CSRF protection mechanism by using a token
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | All versions | 7.0.68 |
org.apache.tomcat:tomcat Maven | All versions | 7.0.68 |
org.apache.tomcat:tomcat Maven | From 8.0.0 | 8.0.31 |
org.apache.tomcat:tomcat Maven | From 8.0.0 | 8.0.31 |
org.apache.tomcat:tomcat Maven | From 9.0.0.M0 | 9.0.0.M2 |
org.apache.tomcat:tomcat Maven | From 9.0.0.M0 | 9.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.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-w7cg-5969-678w, UBUNTU-CVE-2015-5351.