CVE-2025-27773
PHP vulnerability analysis and mitigation

Overview

The SimpleSAMLphp SAML2 library, a PHP library for SAML2 related functionality, was found to contain a signature confusion vulnerability in versions prior to 4.17.0 and 5.0.0-alpha.20. The vulnerability was discovered and disclosed on March 11, 2025, affecting the HTTPRedirect binding implementation (GitHub Advisory).

Technical details

The vulnerability exists in the HTTPRedirect binding's signature verification process. The issue allows an attacker to manipulate the signature verification by exploiting how the library processes SAMLRequest and SAMLResponse parameters. The vulnerability has been assigned a CVSS v3.1 score of 8.6 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N, indicating it can be exploited remotely without requiring privileges or user interaction (GitHub Advisory).

Impact

An attacker with any signed SAMLResponse via the HTTP-Redirect binding can cause the application to accept an unsigned message. This could allow an attacker to effectively impersonate any user within the Service Provider (SP). The vulnerability is particularly impactful because there are no checks to verify that SAMLRequest actually contains a Request - it could instead contain a Response (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in versions 4.17.0 and 5.0.0-alpha.20. Users are strongly recommended to upgrade to these patched versions. The fix involves improving how the signed query is built and verified from the same message that will be consumed (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management