CVE-2018-15133
Laravel Deserialization of Untrusted Data Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 6 February 2024). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 76.81% probability · 100th percentile
- CISA KEV
- Listed 16 January 2024 · due 6 February 2024
- Weakness
- CWE-502
- Affected
- laravel/laravel
- Source
- cve@mitre.org
CISA notes
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30; https://nvd.nist.gov/vuln/detail/CVE-2018-15133
References
- http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30Vendor Advisory
- http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.htmlExploit, Third Party Advisory, VDB Entry
- https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-15133US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.