GHSA-8hfm-837h-hjg5

Suggest an improvement
Source
https://github.com/advisories/GHSA-8hfm-837h-hjg5
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-8hfm-837h-hjg5/GHSA-8hfm-837h-hjg5.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8hfm-837h-hjg5
Aliases
Published
2022-05-02T03:13:38Z
Modified
2024-03-11T05:20:03.390548Z
Summary
Apache XML Security For Java vulnerable to authentication bypass by HMAC truncation
Details

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.

References

Affected packages

Maven / org.apache.santuario:xmlsec

Package

Name
org.apache.santuario:xmlsec
View open source insights on deps.dev
Purl
pkg:maven/org.apache.santuario/xmlsec

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.4.0
Fixed
1.4.3

Affected versions

1.*

1.4.0
1.4.1
1.4.2