Vulnerability

CVE-2023-49087

highCVSS 3.1 7.5Published 30 Nov 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Simplesamlphp saml2, xml-security

Weakness type

References

  • github.com /simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c8…
  • github.com /simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning