{"id":"CVE-2025-27773","published":"2025-03-11T19:04:52Z","modified":"2025-05-09T20:03:38Z","title":"SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding","vendor":"simplesamlphp","product":"saml2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00415,"percentile":0.36673,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/simplesamlphp/saml2/security/advisories/GHSA-46r4-f8gj-xg56","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/simplesamlphp/saml2/commit/7867d6099dc7f31bed1ea10e5bea159c5623d2a0","tags":["x_refsource_MISC"]},{"url":"https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L104-L113","tags":["x_refsource_MISC"]},{"url":"https://github.com/simplesamlphp/saml2/blob/9545abd0d9d48388f2fa00469c5c1e0294f0303e/src/SAML2/HTTPRedirect.php#L178-L217","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00013.html","tags":[]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":7.33},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"simplesamlphp","affectedVersions":[{"vendor":"simplesamlphp","product":"saml2","versions":["< 4.17.0",">= 5.0.0-alpha.1, < 5.0.0-alpha.20"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-11T19:26:31.017558Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"simplesamlphp/saml2","vulnerableRanges":["<4.17.0",">=5.0.0-alpha.1, <5.0.0-alpha.20"],"patched":["4.17.0","5.0.0-alpha.20"],"from":["GHSA-46r4-f8gj-xg56"],"provenance":"source"},{"ecosystem":"Packagist","package":"simplesamlphp/saml2-legacy","vulnerableRanges":["<4.17.0"],"patched":["4.17.0"],"from":["GHSA-46r4-f8gj-xg56"],"provenance":"source"}],"summary":{"text":"The SimpleSAMLphp saml2 library, a PHP library for SAML2 functionality, contains incorrect signature verification in its HTTP-Redirect binding. An attacker holding any validly signed SAMLResponse delivered via that binding can cause the application to accept an unsigned message, and the flaw is exploitable over the network with no privileges or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:38Z"},"euvd":{"id":"EUVD-2025-7804","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-52806","published":"2024-12-02","fixed":"4.6.14","kev":false,"link":{"from":"CVE-2024-52806","to":"CVE-2025-27773","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"4.6.14","toFixed":"4.17.0","daysApart":99},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2-legacy","fromFixed":"4.6.14","toFixed":"4.17.0","daysApart":99}]}},{"cve":"CVE-2026-49289","published":"2026-08-19","fixed":"4.20.3","kev":false,"link":{"from":"CVE-2025-27773","to":"CVE-2026-49289","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"4.17.0","toFixed":"4.19.3","daysApart":526},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2-legacy","fromFixed":"4.17.0","toFixed":"4.19.3","daysApart":526}]}},{"cve":"CVE-2023-49087","published":"2023-11-30","fixed":"5.0.0-alpha.13","kev":false,"link":{"from":"CVE-2023-49087","to":"CVE-2025-27773","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"5.0.0-alpha.13","toFixed":"5.0.0-alpha.20","daysApart":467}]}},{"cve":"CVE-2025-27773","published":"2025-03-11","fixed":"5.0.0-alpha.20","kev":false},{"cve":"CVE-2026-49283","published":"2026-08-19","fixed":"6.2.1","kev":false,"link":{"from":"CVE-2025-27773","to":"CVE-2026-49283","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2","fromFixed":"4.17.0","toFixed":"4.19.3","daysApart":526},{"kind":"version-step","provenance":"source","package":"Packagist:simplesamlphp/saml2-legacy","fromFixed":"4.17.0","toFixed":"4.19.3","daysApart":526}]}},{"cve":"CVE-2026-110782","published":"2026-11-17","fixed":"7.0.0-rc2","kev":false}],"package":"Packagist:simplesamlphp/saml2"}}