What’s Vulnerable › Vulnerabilities
CVE-2018-15133: Laravel Deserialization of Untrusted Data Vulnerability
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: yes — in CISA KEV since 2024-01-16
- EPSS: 76.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-08-09 · updated 2026-06-17
- Weakness: CWE-502
Description
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.
Affected products
- Laravel Framework: through 5.5.40; from 5.6.0 through 5.6.29
References
- http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html
- https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30
- http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html
- https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-15133
Get alerted when CVE-2018-15133 or the next vulnerability affects your stack