Vulnerability DatabaseGHSA-pjx8-984p-7p3x

GHSA-pjx8-984p-7p3x
PHP vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-pjx8-984p-7p3x) affects FOSUserBundle, a PHP package, where entropy is lost in the TokenGenerator component. The issue was discovered in versions 1.0.x through 1.3.x (prior to 1.3.5) and was disclosed on September 4, 2014. The vulnerability impacts the token generation mechanism used for email confirmation and password resetting functionalities (GitHub Advisory, Symfony Blog).

Technical details

The vulnerability stems from the usage of base_convert function which loses precision for large inputs, resulting in reduced entropy of generated tokens. The implementation used base_convert(bin2hex($randomNumber), 16, 36) which compromised the cryptographic safety of the tokens. The issue has been assigned a moderate severity rating and is categorized under CWE-331 (GitHub Advisory, FOSUserBundle Commit).

Impact

The vulnerability results in tokens being much less random than expected, compromising their cryptographic safety. This affects the security of email confirmation and password reset functionalities, potentially making these tokens more predictable than intended (Symfony Blog).

Mitigation and workarounds

The issue was fixed in FOSUserBundle version 1.3.5 by backporting the token generation logic from the 2.0.x branch, which uses base64 encoding instead. The fix requires updating route placeholders that match tokens to allow dashes, changing the regex pattern from \w+ to [\w-]+. No fixes were provided for versions 1.0, 1.1, and 1.2 as they were no longer maintained (Symfony Blog).

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-71537MEDIUM6.5
  • PHP logoPHP
  • paymenter/paymenter
NoYesSep 18, 2026
CVE-2026-77616MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77610MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77609MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 2026
CVE-2026-77608MEDIUM6.1
  • PHP logoPHP
  • mediawiki/semantic-media-wiki
NoYesSep 18, 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