[ CVE-2018-15133 · Published 9 Aug 2018 ]
Laravel Deserialization of Untrusted Data Vulnerability
[ Why it matters ]Priority signals
- Exploited in the wild: on CISA's Known Exploited Vulnerabilities list since 2024-01-16
- EPSS: 77% chance of exploitation in the next 30 days (higher than 100% of CVEs)
[ Description ]Official 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.
CISA: Laravel Framework contains a deserialization of untrusted data vulnerability, allowing for remote command execution. This vulnerability may only be exploited if a malicious user has accessed the application encryption key (APP_KEY environment variable).
[ Fixes ]Fixes and patches
CISA required action (US federal deadline 6 Feb 2024): Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
No fix or interim patch is linked from our sources yet. Check the vendor references below and limit exposure of affected systems until a fix is available.
[ References ]References
- packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Com…ExploitThird Party AdvisoryVDB Entry
- laravel.com/docs/5.6/upgradeVendor Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalogUS Government Resource