CVE-2023-49087

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:*
cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*

History

06 Dec 2023, 17:49

Type Values Removed Values Added
References () https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r - () https://github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6r - Exploit, Vendor Advisory
References () https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 - () https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 - Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CPE cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:*
cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*

30 Nov 2023, 06:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-11-30 06:15

Updated : 2024-02-05 00:22


NVD link : CVE-2023-49087

Mitre link : CVE-2023-49087

CVE.ORG link : CVE-2023-49087


JSON object : View

Products Affected

simplesamlphp

  • xml-security
  • saml2
CWE
CWE-345

Insufficient Verification of Data Authenticity