Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Simplesamlphp | Saml2 | 5.0.0 |
| Simplesamlphp | Xml-Security | 1.6.11 |
Related Weaknesses (CWE)
References
- https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804bPatch
- https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxhExploitVendor Advisory
- https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804bPatch
- https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxhExploitVendor Advisory
FAQ
What is CVE-2023-49087?
CVE-2023-49087 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 DigestV...
How severe is CVE-2023-49087?
CVE-2023-49087 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-49087?
Check the references section above for vendor advisories and patch information. Affected products include: Simplesamlphp Saml2, Simplesamlphp Xml-Security.