CVE-2025-27773

SimpleSAMLphp SAML2 library has incorrect signature verification for HTTP-Redirect binding

State
Published
Severity
8.6 High
Published
Mar 11, 2025
Updated
May 9, 2025
Reserved
Mar 6, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:NGitHub_M

Weaknesses

  • CWE-347 Improper Verification of Cryptographic Signature

Affected Products

ProductVersions
saml2simplesamlphp
  • < 4.17.0Affected
  • >= 5.0.0-alpha.1, < 5.0.0-alpha.20Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.