XML signature spoofing Affecting org.apache.santuario:xmlsec package, versions [1.4.0,1.4.8) [1.5.0,1.5.5)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHESANTUARIO-30029
- published 21 Aug 2013
- disclosed 20 Aug 2013
- credit James Forshaw
Introduced: 20 Aug 2013
CVE-2013-2172 Open this link in a new tabHow to fix?
Upgrade org.apache.santuario:xmlsec
to version 1.4.8, 1.5.5 or higher.
Overview
org.apache.santuario:xmlsec is a package to provide implementation of the primary security standards for XML, XML-Signature Syntax and Processing and XML Encryption Syntax and Processing.
Affected versions of this package are vulnerable to XML signature spoofing. The class DOMCanonicalizationMethod
within jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java
allows context-dependent attackers to spoof an XML Signature by using the CanonicalizationMethod parameter to specify an arbitrary weak "canonicalization algorithm to apply to the SignedInfo part of the Signature."