Vulnerability DatabaseGHSA-hxhc-wmg8-xrqf

GHSA-hxhc-wmg8-xrqf
PHP vulnerability analysis and mitigation

Overview

A high-severity vulnerability was identified in namshi/jose PHP package affecting multiple versions (< 1.1.2, >= 1.2.0 < 1.2.2, >= 2.0.0 < 2.0.3, and >= 2.1.0 < 2.1.2). The vulnerability was discovered and patched on February 19, 2015, and allows the acceptance of unsecure JSON Web Signatures (JWS) by default (GitHub Advisory).

Technical details

The vulnerability stems from the $allowUnsecure flag functionality in the JWS loading process. When this flag is set to true, the system permits tokens signed with the 'none' algorithm to be processed, which represents a significant security weakness. The issue was present in the default configuration of affected versions (GitHub Advisory, Security Fix).

Impact

This vulnerability could allow attackers to impersonate legitimate users by crafting valid JWT tokens signed with the 'none' algorithm, effectively bypassing the signature verification process (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in versions 1.1.2, 1.2.2, 2.0.3, and 2.1.2. Users should upgrade to these patched versions immediately. The fix involves disabling unsecure JWSes by default, requiring explicit opt-in for accepting tokens signed with the 'none' algorithm (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