CVE-2017-5656: Session Fixation in Apache CXF
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.87589%
CWE
Published
5/13/2022
Updated
12/21/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.cxf:cxf-core | maven | >= 3.1.0, <= 3.1.10 | 3.1.11 |
org.apache.cxf:cxf-core | maven | <= 3.0.12 | 3.0.13 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from how delegation token identifiers were generated for caching. The commit 1a4fe22fc297f8be204788bcdfcd498e91201a01 specifically modifies the getIdFromToken
method to implement secure hashing (SHA-256) for BinarySecurityTokens and proper handling of SAML/UsernameTokens. The original implementation's reliance on mutable/extractable attributes like 'Id' and 'AssertionID' without cryptographic uniqueness made it vulnerable to identifier collisions, which is explicitly addressed in the patch.