PT-2016-1313 · Apache+5 · Apache Tomcat+5

Klaas Janssen

·

Published

2016-02-08

·

Updated

2024-06-15

·

CVE-2015-5346

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache Tomcat versions 7.x through 7.0.65 Apache Tomcat versions 8.x through 8.0.29 Apache Tomcat versions 9.x through 9.0.0.M1
Description The issue is related to session fixation, where an attacker could potentially hijack web sessions by leveraging the use of the requestedSessionSSL field for an unintended request. This is particularly relevant when different session settings are used for deployments of multiple versions of the same web application. The vulnerability is associated with the CoyoteAdapter.java and Request.java files. In theory, this could be used as part of a session fixation attack, although it would be challenging for the attacker to force the victim to use the 'correct' Request object. It requires at least one web application to be configured to use the SSL session ID as the HTTP session ID, which is not a common configuration.
Recommendations For Apache Tomcat versions 7.x through 7.0.65, update to version 7.0.66 or later. For Apache Tomcat versions 8.x through 8.0.29, update to version 8.0.30 or later. For Apache Tomcat versions 9.x through 9.0.0.M1, update to version 9.0.0.M2 or later. As a temporary workaround, consider restricting access to the requestedSessionSSL field in the affected API endpoint until a patch is available.

Exploit

Fix

XSS

Session Fixation

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2016-1193
BDU:2016-00612
CESA-2016_2046
CVE-2015-5346
DSA-3530-1
DSA-3552-1
DSA-3609-1
GHSA-JRCP-C39H-R29X
MGASA-2016-0090
OPENSUSE-SU-2016_0865-1
OPENSUSE-SU-2024:10446-1
OPENSUSE-SU-2024:13441-1
RHSA-2016:1087
RHSA-2016:1088
RHSA-2016:2046
RHSA-2016:2807
RHSA-2016_2046
SUSE-SU-2016:0769-1
SUSE-SU-2016:0822-1
USN-3024-1

Affected Products

Alt Linux
Apache Tomcat
Centos
Red Hat
Suse
Ubuntu