CVE-2009-0217
Apache XML Security For Java vulnerable to authentication bypass by HMAC truncation
Description
The design of the W3C XML Signature Syntax and Processing (XMLDsig) recommendation, as implemented in multiple products.
The Apache XML Security (Java) is affected by the vulnerability published in US-Cert VU #466161. See: http://www.kb.cert.org/vuls/id/466161 for more information. This bug can allow an attacker to bypass authentication by inserting/modifying a small HMAC truncation length parameter in the XML Signature HMAC based SignatureMethod algorithms.
An inexhaustive list of additional affected products includes:
- the Oracle Security Developer Tools component in Oracle Application Server 10.1.2.3, 10.1.3.4, and 10.1.4.3IM;
- the WebLogic Server component in BEA Product Suite 10.3, 10.0 MP1, 9.2 MP3, 9.1, 9.0, and 8.1 SP6;
- Mono before 2.4.2.2;
- XML Security Library before 1.2.12;
- IBM WebSphere Application Server Versions 6.0 through 6.0.2.33, 6.1 through 6.1.0.23, and 7.0 through 7.0.0.1;
- Sun JDK and JRE Update 14 and earlier;
- Microsoft .NET Framework 3.0 through 3.0 SP2, 3.5, and 4.0; and other products uses a parameter that defines an HMAC truncation length (HMACOutputLength) but does not require a minimum for this length, which allows attackers to spoof HMAC-based signatures and bypass authentication by specifying a truncation length with a small number of bits.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.santuario » xmlsec | >= 1.4.0, < 1.4.3 | 1.4.3 |
Blast radius
41% of the dependent artifacts (329) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 301 |
| 2 hops | 1,042 |
| 3 hops | 2,537 |
| 4 hops | 829 |
| 5 hops | 2,128 |
| 6 hops | 22,311 |
Most used dependents
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.core350 usages
- org.apache.ws.security » wss4j247 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.application.authentication.framework238 usages
- org.opensaml » opensaml235 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.application.common158 usages
- org.wso2.carbon.identity » org.wso2.carbon.identity.core135 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.base127 usages
- org.apache.cxf » cxf-bundle127 usages
- org.apache.ws.security.wso2 » wss4j121 usages
- org.wso2.carbon.identity » org.wso2.carbon.identity.application.authentication.framework108 usages
- org.apache.rampart.wso2 » rampart-core100 usages
- org.mule.modules » mule-module-cxf98 usages
- org.wso2.carbon » org.wso2.carbon.core.services96 usages
- org.wso2.carbon.identity » org.wso2.carbon.identity.application.common89 usages
Computed from the dependency graph of build 20261201.0702 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
