Improper Verification of Cryptographic Signature Affecting simplesamlphp/saml2 package, versions <4.17.0>=5.0.0-alpha.1, <5.0.0-alpha.20


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SIMPLESAMLPHPSAML2-9406866
  • published14 Mar 2025
  • disclosed11 Mar 2025
  • creditahacker1-securesaml

Introduced: 11 Mar 2025

NewCVE-2025-27773  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade simplesamlphp/saml2 to version 4.17.0, 5.0.0-alpha.20 or higher.

Overview

Affected versions of this package are vulnerable to Improper Verification of Cryptographic Signature through the HTTPRedirect binding process. An attacker can manipulate the message processing by appending a malicious SAMLRequest in front of a valid SAMLResponse, leading to the application processing an unsigned or altered message as if it were valid.

CVSS Base Scores

version 4.0
version 3.1