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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.49% (76th percentile)
Expand this section
NVD
4.3 medium

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

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