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.
References
Link | Resource |
---|---|
https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 | Patch |
https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r | Exploit Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2023-11-30T05:20:28.298Z
Updated: 2023-11-30T05:20:28.298Z
Reserved: 2023-11-21T18:57:30.429Z
Link: CVE-2023-49087
JSON object: View
NVD Information
Status : Analyzed
Published: 2023-11-30T06:15:47.173
Modified: 2023-12-06T17:49:44.997
Link: CVE-2023-49087
JSON object: View
Redhat Information
No data.
CWE