XML signature spoofing Affecting org.apache.santuario:xmlsec package, versions [1.4.0,1.4.8)[1.5.0,1.5.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.54% (78th percentile)

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 Learn

Learn about XML signature spoofing vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHESANTUARIO-30029
  • published21 Aug 2013
  • disclosed20 Aug 2013
  • creditJames Forshaw

Introduced: 20 Aug 2013

CVE-2013-2172  (opens in a new tab)
CWE-310  (opens in a new tab)

How 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."

CVSS Scores

version 3.1