GHSA-8XHV-GQM4-3W99
ZendFramework1 Potential Insufficient Entropy Vulnerability
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-8XHV-GQM4-3W99 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
We discovered several methods used to generate random numbers in ZF1 that potentially used insufficient entropy. These random number generators are used in the following method calls:
Zend_Ldap_Attribute::createPassword
Zend_Form_Element_Hash::_generateHash
Zend_Gdata_HttpClient::filterHttpRequest
Zend_Filter_Encrypt_Mcrypt::_srand
Zend_OpenId::randomBytesIn each case, the methods were using rand() or mt_rand(), neither of which can generate cryptographically secure values. This could potentially lead to information disclosure should an attacker be able to brute force the random number generation.
Moreover, we discovered a potential security issue in the usage of the openssl_random_pseudo_bytes() http://php.net/manual/en/function.openssl-random-pseudo-bytes.php function in Zend_Crypt_Math::randBytes, reported in PHP BUG #70014 https://bugs.php.net/bug.php?id=70014, and the security implications reported in a discussion on the random_compat library. https://github.com/paragonie/random_compat/issues/96
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistzendframework/zendframework1 |
Corregida | 1.12.18 | — | — |
1.12.18Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://framework.zend.com/security/advisory/ZF2016-01https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2016-01.yamlhttps://github.com/zendframework/zf1Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
