CVE-2023-49087
MEDIUMsimplesamlphp/saml2 5.0.0-alpha.12 - Insufficient Verification of Data Authenticity in XML Signature Validation
Title source: llmDescription
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 (2)
Core 2
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r
Scores
CVSS v3
6.8
EPSS
0.0019
EPSS Percentile
9.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Details
CWE
CWE-345
Status
published
Products (4)
simplesamlphp/saml2
5.0.0 alpha12
simplesamlphp/saml2
5.0.0-alpha.12 - 5.0.0-alpha.13Packagist
simplesamlphp/xml-security
1.6.11
simplesamlphp/xml-security
1.6.11 - 1.6.12Packagist
Published
Nov 30, 2023
Tracked Since
Feb 18, 2026