Improper Verification of Cryptographic Signature Affecting simplesamlphp/saml2-legacy package, versions <4.17.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

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-SIMPLESAMLPHPSAML2LEGACY-9406867
  • published14 Mar 2025
  • disclosed11 Mar 2025
  • creditahacker1-securesaml

Introduced: 11 Mar 2025

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

How to fix?

Upgrade simplesamlphp/saml2-legacy to version 4.17.0 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