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: 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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.santuario:xmlsec | >= 1.4.0, < 1.4.3 | 1.4.3 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2009-0217
- https://www.w3.org/QA/2009/07/hmac_truncation_in_xml_signatu.html
- https://www.w3.org/2008/06/xmldsigcore-errata.html#e03
- https://www.us-cert.gov/cas/techalerts/TA09-294A.html
- https://www.ubuntu.com/usn/USN-903-1
- https://www.redhat.com/support/errata/RHSA-2009-1694.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00505.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00494.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00325.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00310.html
- https://www.mandriva.com/security/advisories?name=MDVSA-2009:209
- https://www.kb.cert.org/vuls/id/WDON-7TY529
- https://www.kb.cert.org/vuls/id/MAPG-7TSKXQ
- https://www.kb.cert.org/vuls/id/466161
- https://www.gentoo.org/security/en/glsa/glsa-201408-19.xml
- https://www.debian.org/security/2010/dsa-1995
- https://svn.apache.org/viewvc?revision=794013&view=revision
- https://rhn.redhat.com/errata/RHSA-2009-1428.html
- https://marc.info/?l=bugtraq&m=125787273209737&w=2
- https://lists.opensuse.org/opensuse-security-announce/2010-03/msg00005.html
- https://lists.opensuse.org/opensuse-security-announce/2009-11/msg00002.html
- https://lists.apple.com/archives/security-announce/2009/Sep/msg00000.html
- https://issues.apache.org/bugzilla/show_bug.cgi?id=47527
- https://issues.apache.org/bugzilla/show_bug.cgi?id=47526
- https://gitlab.gnome.org/Archive/xmlsec/-/commit/34b349675af9f72eb822837a8772cc1ead7115c7
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-041
- https://bugzilla.redhat.com/show_bug.cgi?id=511915
- http://www.us-cert.gov/cas/techalerts/TA10-159B.html
- Debilidad (CWE)
-- Plataforma
- Java / Kotlin (Maven)
- Paquete
org.apache.santuario:xmlsec- Publicada
- 02.05.2022
- Actualizado
- 11.10.2026 12:21
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-8hfm-837h-hjg5 - CC BY 4.0
Historial de vulnerabilidades: org.apache.santuario:xmlsec
Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 8
- Primera → última
- 08.2019 10.2023
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 1
- Media 7
Divulgaciones por año
- 2019: 1
- 2020: 0
- 2021: 1
- 2022: 5
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Apache XML Security For Java vulnerable to authentication bypass by HMAC truncation esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.