CVE-2015-5346: XSS

Published Feb 23, 2016
·
Updated

Session fixation vulnerability in Apache Tomcat 7.x before 7.0.66, 8.x before 8.0.30, and 9.x before 9.0.0.M2, when different session settings are used for deployments of multiple versions of the same web application, might allow remote attackers to hijack web sessions by leveraging use of a requestedSessionSSL field for an unintended request, related to CoyoteAdapter.java and Request.java.

Other sources

When recycling the Request object to use for a new request, the requestedSessionSSL field was not recycled. This meant that a session ID provided in the next request to be processed using the recycled Request object could be used when it should not have been. This gave the client the ability to control the session ID. In theory, this could have been used as part of a session fixation attack but it would have been hard to achieve as the attacker would not have been able to force the victim to use the 'correct' Request object. It was also necessary for at least one web application to be configured to use the SSL session ID as the HTTP session ID. This is not a common configuration.

Red Hat

Affected Software

78 affected componentsFixes available
redhat/tomcat<7.0.67
7.0.67
redhat/tomcat<8.0.32
8.0.32
maven/org.apache.tomcat:tomcat>=7.0.0<=7.0.65
7.0.66
maven/org.apache.tomcat:tomcat>=8.0.0.RC1<=8.0.30
8.0.31
maven/org.apache.tomcat:tomcat=9.0.0.M1
9.0.0.M2
Apache Tomcat=7.0.0-beta
Apache Tomcat=7.0.2-beta
Apache Tomcat=7.0.4-beta
Apache Tomcat=7.0.5-beta
Apache Tomcat=7.0.6
Apache Tomcat=7.0.10
Apache Tomcat=7.0.11
Apache Tomcat=7.0.12
Apache Tomcat=7.0.14
Apache Tomcat=7.0.16
Apache Tomcat=7.0.19
Apache Tomcat=7.0.20
Apache Tomcat=7.0.21
Apache Tomcat=7.0.22
Apache Tomcat=7.0.23
Apache Tomcat=7.0.25
Apache Tomcat=7.0.26
Apache Tomcat=7.0.27
Apache Tomcat=7.0.28
Apache Tomcat=7.0.29
Apache Tomcat=7.0.30
Apache Tomcat=7.0.32
Apache Tomcat=7.0.33
Apache Tomcat=7.0.34
Apache Tomcat=7.0.35
Apache Tomcat=7.0.37
Apache Tomcat=7.0.39
Apache Tomcat=7.0.40
Apache Tomcat=7.0.41
Apache Tomcat=7.0.42
Apache Tomcat=7.0.47
Apache Tomcat=7.0.50
Apache Tomcat=7.0.52
Apache Tomcat=7.0.53
Apache Tomcat=7.0.54
Apache Tomcat=7.0.55
Apache Tomcat=7.0.56
Apache Tomcat=7.0.57
Apache Tomcat=7.0.59
Apache Tomcat=7.0.61
Apache Tomcat=7.0.62
Apache Tomcat=7.0.63
Apache Tomcat=7.0.64
Apache Tomcat=7.0.65
Apache Tomcat=8.0.0-rc1
Apache Tomcat=8.0.0-rc10
Apache Tomcat=8.0.0-rc3
Apache Tomcat=8.0.0-rc5
Apache Tomcat=8.0.1
Apache Tomcat=8.0.3
Apache Tomcat=8.0.11
Apache Tomcat=8.0.12
Apache Tomcat=8.0.14
Apache Tomcat=8.0.15
Apache Tomcat=8.0.17
Apache Tomcat=8.0.18
Apache Tomcat=8.0.20
Apache Tomcat=8.0.21
Apache Tomcat=8.0.22
Apache Tomcat=8.0.23
Apache Tomcat=8.0.24
Apache Tomcat=8.0.26
Apache Tomcat=8.0.27
Apache Tomcat=8.0.28
Apache Tomcat=8.0.29
Apache Tomcat=9.0.0-milestone1
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Apache Tomcat=9.0.0-m1

Event History

Feb 25, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
May 14, 2022
Advisory Published
via GitHub·03:13 AM

Frequently Asked Questions

1

What is the severity of CVE-2015-5346?

CVE-2015-5346 is classified as a medium severity vulnerability due to its potential to allow remote session hijacking.

2

How do I fix CVE-2015-5346?

To mitigate CVE-2015-5346, upgrade Apache Tomcat to versions 7.0.67, 8.0.32, or 9.0.0.M2 or later.

3

Which versions of Apache Tomcat are affected by CVE-2015-5346?

CVE-2015-5346 affects Apache Tomcat versions 7.x prior to 7.0.66, 8.x prior to 8.0.30, and 9.x prior to 9.0.0.M2.

4

What types of attacks are possible with CVE-2015-5346?

CVE-2015-5346 allows attackers to hijack user sessions through session fixation attacks.

5

Is CVE-2015-5346 exploitable in all configurations of Tomcat?

CVE-2015-5346 is exploitable when different session settings are used for multiple deployments of the same web application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203