CVE Vulnerabilities

CVE-2023-49087

Insufficient Verification of Data Authenticity

Published: Nov 30, 2023 | Modified: Dec 06, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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 PHPs canonicalization function) manages to manipulate the canonicalized versions 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.

Weakness

The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

Affected Software

Name Vendor Start Version End Version
Saml2 Simplesamlphp 5.0.0-alpha12 (including) 5.0.0-alpha12 (including)
Xml-security Simplesamlphp 1.6.11 (including) 1.6.11 (including)

References