GHSA-7852-W36X-6MF6
Laravel Encrypter Component Potential Decryption Failure Leading to Unintended Behavior
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-7852-W36X-6MF6 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
The Laravel Encrypter component is susceptible to a vulnerability that may result in decryption failure, leading to an unexpected return of `false`. Exploiting this issue requires the attacker to manipulate the encrypted payload before decryption. When combined with weak type comparisons in the application's code, such as the example below:
<?php
$decyptedValue = decrypt($secret);
if ($decryptedValue == '') {
// Code is run even though decrypted value is false...
}Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
Packagistlaravel/framework |
Corregida | 5.5.40, 5.6.15 | — | — |
5.5.405.6.15Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/laravel/framework/commit/28e53f23a76206fb130e9a54eb95aa3f010e79c9https://github.com/laravel/framework/commit/886d261df0854426b4662b7ed5db6a1c575a4279https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/2018-03-30-1.yamlhttps://github.com/laravel/frameworkhttps://medium.com/@taylorotwell/laravel-security-release-5-6-15-and-5-5-40-56f1257933a0Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
