An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04aGZtLTgzN2gtaGpnNc3ANg

Apache XML Security For Java vulnerable to authentication bypass by HMAC truncation

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: 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,, and;
  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;
  4. XML Security Library before 1.2.12;
  5. IBM WebSphere Application Server Versions 6.0 through, 6.1 through, and 7.0 through;
  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.
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: 10 months ago

Identifiers: GHSA-8hfm-837h-hjg5, CVE-2009-0217

Affected Packages

Versions: >= 1.4.0, < 1.4.3
Fixed in: 1.4.3