PT-2024-40370 · Unknown · Zend Framework

Published

2024-06-07

·

Updated

2024-06-07

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Zend Framework versions prior to the fixed version
Description The issue concerns the generation of CAPTCHA challenges. Specifically, the Zend Captcha Word (v1) and ZendCaptchaWord (v2) components use PHP's internal array rand() function to select a sequence of random letters, which does not provide sufficient entropy due to its reliance on rand() instead of more secure methods like openssl pseudo random bytes(). This could potentially lead to information disclosure if an attacker can brute force the random number generation.
Recommendations For versions prior to the fixed version, consider using a more cryptographically secure method for generating random numbers, such as openssl pseudo random bytes(), to replace the array rand() function in Zend Captcha Word and ZendCaptchaWord components. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

GHSA-MG4X-PRH7-G4MX

Affected Products

Zend Framework