CVE-2023-49087GHSA-WW7X-3GXH-QM6R
Validation of SignedInfo
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.6.12, 5.0.0-alpha.13
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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