Skip to main content
← All vulnerabilities
CVE-2023-49087GHSA-WW7X-3GXH-QM6R

Validation of SignedInfo

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.6.12, 5.0.0-alpha.13
None on Exploit-DB, Metasploit or GitHub

Summary

xml-security is a library that implements XML signatures and encryption. Validation of an XML signature requires verification that the hash value of the related XML-document matches a specific DigestValue-value, but also that the cryptographic signature on the SignedInfo-tree (the one that contains the DigestValue) verifies and matches a trusted public key. If an attacker somehow (i.e. by exploiting a bug in PHP's canonicalization function) manages to manipulate the canonicalized version's DigestValue, it would be possible to forge the signature. This issue has been patched in version 1.6.12 and 5.0.0-alpha.13.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • simplesamlphp xml-security

    1.6.11, 5.0.0-alpha.12

  • simplesamlphp/xml-securityPackagist

    From 1.6.11 · fixed in 1.6.12

  • simplesamlphp/saml2Packagist

    From 5.0.0-alpha.12 · fixed in 5.0.0-alpha.13

References 2

GitHub · simplesamlphp/xml-security