CVE-2018-15133
Laravel Framework remote code execution in XSRF TOKEN handling
An attacker with the app's encryption key could run arbitrary code on the server via a crafted X-XSRF-TOKEN header.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Fuente: NVD
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2018-15133 divulgada · CVSS 8.1 (NVD) | |
| Explotación | CISA KEV | Agregada al catálogo de vulnerabilidades explotadas | |
| Remediación | Plazo KEV | Fecha límite de remediación para agencias federales (EE. UU.) | |
| Divulgación | Modificada | Última actualización del registro | |
| Explotación | Umbral EPSS | La probabilidad de explotación supera el 10 % | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Laravel Framework (the laravel/framework package) can let an attacker run code on the server by sending a crafted cookie value that the application unserializes. It can be reached remotely without logging in, but only if the attacker already holds the application's encryption key, and attacks using it are happening.
Affects laravel/framework through 5.5.40 and 5.6.x before 5.6.30, and only if the APP_KEY has been accessed by a malicious party and cookie serialization is on. Fixed in 5.6.30.
Descripción original del registro
In Laravel Framework through 5.5.40 and 5.6.x through 5.6.29, remote code execution might occur as a result of an unserialize call on a potentially untrusted X-XSRF-TOKEN value. This involves the decrypt method in Illuminate/Encryption/Encrypter.php and PendingBroadcast in gadgetchains/Laravel/RCE/3/chain.php in phpggc. The attacker must know the application key, which normally would never occur, but could happen if the attacker previously had privileged access or successfully accomplished a previous attack.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
laravel/framework |
Corregida | 5.6.30 | — | — |
5.6.30Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.htmlhttps://laravel.com/docs/5.6/upgrade#upgrade-5.6.30Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
