MODERATE

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:

  1. the Oracle Security Developer Tools component in Oracle Application Server 10.1.2.3, 10.1.3.4, and 10.1.4.3IM;
  2. the WebLogic Server component in BEA Product Suite 10.3, 10.0 MP1, 9.2 MP3, 9.1, 9.0, and 8.1 SP6;
  3. Mono before 2.4.2.2;
  4. XML Security Library before 1.2.12;
  5. 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;
  6. Sun JDK and JRE Update 14 and earlier;
  7. 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)

ArtifactAffected versionsFixed in
org.apache.santuario » xmlsec
>= 1.4.0, < 1.4.3
1.4.3

Blast radius

1affected artifacts
4affected versions
795dependent artifacts (est.)
29,148dependent versions

41% of the dependent artifacts (329) still pull an affected version in their latest release.

DepthDependent 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

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.