CVE-2017-5656: High severity Apache CXF vulnerability
An Apache CXF endpoint can be used as an intermediary, where a token credential from the received message is used as a delegation token to obtain a new token from a Security Token Service (STS) for the outbound request.
By default, the token retrieved from the STS is cached and associated with the delegation token via an identifier extracted from the delegation token.
However, there is a weakness in how the identifier is extracted from the delegation token, which means that an attacker could craft a token which would return an identifer corresponding to a cached token for another user.
External References:
http://cxf.apache.org/security-advisories.data/CVE-2017-5656.txt.asc
Upstream patch:
https://github.com/apache/cxf/commit/66c2c5b99e01a2165a2c5ed9ae34b4b9a512cb39
Other sources
Apache CXF's STSClient before 3.1.11 and 3.0.13 uses a flawed way of caching tokens that are associated with delegation tokens, which means that an attacker could craft a token which would return an identifer corresponding to a cached token for another user.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/org.apache.cxf:cxf-coreto a version that resolves this vulnerability.Fixed in 3.0.13 - Upgrade
Upgrade
maven/org.apache.cxf:cxf-coreto a version that resolves this vulnerability.Fixed in 3.1.11 - Upgrade
Upgrade
redhat/cxfto a version that resolves this vulnerability.Fixed in 3.1.11 - Upgrade
Upgrade
redhat/cxfto a version that resolves this vulnerability.Fixed in 3.0.13
Event History
Frequently Asked Questions
What is the severity of CVE-2017-5656?
CVE-2017-5656 is considered a moderate severity vulnerability due to its potential impact on security token management.
How do I fix CVE-2017-5656?
To fix CVE-2017-5656, upgrade Apache CXF to version 3.1.11 or later, or to 3.0.13 or later if using older versions.
Which versions of Apache CXF are affected by CVE-2017-5656?
CVE-2017-5656 affects Apache CXF versions from 3.0.0 up to 3.0.13 and 3.1.0 up to 3.1.11.
Is CVE-2017-5656 related to security token services?
Yes, CVE-2017-5656 involves the misuse of token credentials in the context of delegation tokens for security token services.
What type of software does CVE-2017-5656 impact?
CVE-2017-5656 impacts software that utilizes the Apache CXF framework for web services.