
Cloud Vulnerability DB
A community-led vulnerabilities database
In Zend Framework, a security vulnerability was identified affecting both Zend_Captcha_Word (v1) and Zend\Captcha\Word (v2) components. The vulnerability involves insufficient entropy in CAPTCHA word generation, where the system used PHP's internal array_rand() function, which relies on the less secure rand() function instead of cryptographically secure methods. This vulnerability was disclosed on November 23, 2015, affecting versions >= 2.0.0 and < 2.4.9 of the framework (Zend Advisory, GitHub Advisory).
The vulnerability stems from the use of PHP's array_rand() function in the CAPTCHA word generation process. This function relies on the rand() function, which provides insufficient entropy compared to more secure cryptographic methods like openssl_pseudo_random_bytes(). The issue has been assigned a moderate severity rating with a CVSS score of 5.3, with the following base metrics: Network attack vector, Low attack complexity, No privileges required, No user interaction, Unchanged scope, Low confidentiality impact, and No impact on integrity or availability. The vulnerability is classified under CWE-200 (Information Exposure) and CWE-331 (Insufficient Entropy) (GitHub Advisory).
The primary impact of this vulnerability is potential information disclosure. An attacker could potentially predict or brute force the random number generation used in CAPTCHA word creation, potentially compromising the security of the CAPTCHA system (Zend Advisory).
The vulnerability has been patched in multiple versions: Zend Framework 1.12.17, Zend Framework 2.4.9, zend-captcha 2.4.9, and zend-captcha 2.5.2. The fix involves replacing array_rand() with more secure random number generation methods - Zend_Crypt_Math::randInteger() in version 1 and Zend\Math\Rand::getInteger() in version 2. Users are recommended to upgrade to these patched versions (Zend Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."