Vulnerability DatabaseGHSA-gcfg-hmwx-wq5h

GHSA-gcfg-hmwx-wq5h
PHP vulnerability analysis and mitigation

Overview

The Httpful PHP library (nategood/httpful) contains a security vulnerability related to missing default certificate validation in HTTPS connections. The vulnerability affects all versions prior to 1.0.0, where the strict_ssl parameter was set to false by default, potentially allowing insecure HTTPS connections (GitHub Advisory, Security Advisories).

Technical details

The vulnerability stems from the default configuration in the Request.php file where strictssl was set to false and the initializeDefaults method forced withoutStrictSSL. This configuration effectively disabled SSL/TLS certificate validation by default, making HTTPS connections susceptible to man-in-the-middle attacks. The issue has a CVSS v4 score of 6.9 (Moderate severity) with Network attack vector and Low attack complexity (GitHub Advisory).

Impact

When strict SSL verification is disabled, attackers could potentially intercept HTTPS connections between the application and remote servers. This could lead to unauthorized access to sensitive information, as the application would not properly verify the authenticity of SSL certificates, making it vulnerable to man-in-the-middle attacks (GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in version 1.0.0 by changing the default value of strict_ssl to true. Users should upgrade to version 1.0.0 or later to ensure proper certificate validation. For those unable to upgrade immediately, they can manually enable strict SSL verification by calling ->withStrictSSL() on their requests (GitHub Commit).

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