CVE-2025-27773

High

Description

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.

SeverityHigh
CVSS8.6
Exploit probability—
ProductSimplesamlphp/saml2
PublishedMar 11, 2025
First seenMar 11, 2025
Weakness typeCWE-347CWE-347

How to fix

Update
  • simplesamlphp/saml24.17.0, 5.0.0-alpha.20 or later
  • simplesamlphp/saml2-legacy4.17.0 or later

Affected products

ProductAffected versionsFixed in
simplesamlphp/saml2Packagistv < 4.17.0, 5.0.0-alpha.1 ≤ v < 5.0.0-alpha.204.17.0, 5.0.0-alpha.20
simplesamlphp/saml2-legacyPackagistv < 4.17.04.17.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.