
CVE-2025-27773 – SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding
https://notcve.org/view.php?id=CVE-2025-27773
11 Mar 2025 — The SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. Prior to versions 4.17.0 and 5.0.0-alpha.20, there is a signature confusion attack in the HTTPRedirect binding. An attacker with any signed SAMLResponse via the HTTP-Redirect binding can cause the application to accept an unsigned message. Versions 4.17.0 and 5.0.0-alpha.20 contain a fix for the issue. • https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113 • CWE-347: Improper Verification of Cryptographic Signature •

CVE-2024-52806 – SimpleSAMLphp SAML2 has an XXE in parsing SAML messages
https://notcve.org/view.php?id=CVE-2024-52806
02 Dec 2024 — SimpleSAMLphp SAML2 library is a PHP library for SAML2 related functionality. When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE. This vulnerability is fixed in 4.6.14 and 5.0.0-alpha.18. La librería SAML2 SimpleSAMLphp es una librería PHP para funciones relacionadas con SAML2. Al cargar un documento XML (no confiable), por ejemplo, SAMLResponse, es posible inducir un XXE. • https://github.com/simplesamlphp/saml2/commit/5fd4ce4596656fb0c1278f15b8305825412e89f7 • CWE-611: Improper Restriction of XML External Entity Reference •

CVE-2023-49087 – Validation of SignedInfo
https://notcve.org/view.php?id=CVE-2023-49087
30 Nov 2023 — 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 w... • https://github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581 • CWE-345: Insufficient Verification of Data Authenticity •