Vulnerability DatabaseGHSA-9wrw-p9rm-r782

GHSA-9wrw-p9rm-r782
PHP vulnerability analysis and mitigation

Overview

A security vulnerability was identified in onelogin/php-saml library affecting versions prior to 2.10.4, where improper signature validation occurred on LogoutRequest and LogoutResponse components. The issue was discovered and disclosed on February 28, 2017, impacting the signature verification mechanism of the SAML toolkit (GitHub Advisory).

Technical details

The vulnerability stems from the way signature verification was implemented using the verifySignature method of XMLSecurityKey class from the xmlseclibs library. The issue occurs when the openssl_verify() function, which returns 1 for successful verification, 0 for failed verification, and -1 for errors, is implicitly converted to boolean in PHP. Due to PHP's implicit conversion rules, where any non-zero value (including -1) is converted to true, an error state during signature verification would be incorrectly interpreted as a successful verification (GitHub Advisory).

Impact

The vulnerability's impact was considered low severity as it only affected the signature validation of LogoutRequest and LogoutResponse components, while the critical SAMLResponses signature validation remained unaffected. However, the flaw could potentially allow an attacker to bypass signature verification when an error occurs during the verification process (GitHub Advisory).

Exploitability

The vulnerability could be exploited in scenarios where signature verification errors occur during LogoutRequest or LogoutResponse processing, as these errors would be incorrectly interpreted as successful validations (GitHub Advisory).

Mitigation and workarounds

The vulnerability was patched in version 2.10.4 of the php-saml toolkit. The fix involved modifying the signature validation logic to explicitly check for a return value of 1 from the verification process, rather than relying on implicit boolean conversion (SAML Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59989CRITICAL9.2
  • PHP logoPHP
  • phalcon/cphalcon
NoYesAug 21, 2026
CVE-2026-63135HIGH8.2
  • PHP logoPHP
  • yourls/yourls
NoYesAug 21, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-8hgv-xc77-jmcrMEDIUM5.1
  • PHP logoPHP
  • getgrav/grav
NoYesAug 21, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

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