CVE-2023-49087
Last modified
CVE-2023-49087 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Simplesamlphp | Saml2 | 5.0.0 | Alpha12 |
| Simplesamlphp | Xml-Security | 1.6.11 | — |
References
- https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6rExploit, Vendor Advisory
- https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6rExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-49087?
How severe is CVE-2023-49087?
How do I fix CVE-2023-49087?
Are you affected by CVE-2023-49087?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
