Deserialization of Untrusted Data in Laravel Framework - CVE-2018-15133
Published: April 5, 2020 / Updated: January 16, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to insecure input validation when processing serialized data passed via the X-XSRF-TOKEN token in decrypt() method from Illuminate/Encryption/Encrypter.php and PendingBroadcast() method from gadgetchains/Laravel/RCE/3/chain.php in phpggc. A remote attacker can pass specially crafted data to the application and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system but requires knowledge of application key.
Affected software
How to mitigate CVE-2018-15133
Links to Public Exploits and PoC-codes
- Exploit #9078 - Lab-for-cve-2018-15133 (Ejecución de exploit de deserialización con CVE-2017-5941) (May 16, 2023)
- Exploit #8959 - CVE-2018-15133-Lavel-Expliot ("Lavel Exploit CVE-2018-15133 is a powerful exploit that allows attackers to gain unauthorized access to vulnerable systems. This exploit was originally developed as part of a Capture The Flag (CTF) challenge and has since be (April 5, 2023)
- Exploit #6006 - PHP Laravel Framework 5.5.40 / 5.6.x < 5.6.30 - token Unserialize Remote Command Execution (Metasploit) (June 17, 2021)
- Exploit #4959 - Larascript (Laravel RCE exploit. CVE-2018-15133) (December 23, 2020)
- Exploit #4850 - exploit_laravel_cve-2018-15133 (Exploit for Laravel Remote Code Execution with API_KEY (CVE-2018-15133)) (November 17, 2020)
- Exploit #3576 - Laravel-CVE-2018-15133 (Cette exploit en python va vous permettre de créer des listes de sites et les exploiter rapidement.) (July 22, 2020)
- Exploit #2363 - Laravel-CVE-2018-15133 (Cette exploit en python va vous permettre de créer des listes de sites et les exploiter rapidement.) (April 7, 2020)
- Exploit #2302 - PHP Laravel Framework token Unserialize Remote Command Execution (April 7, 2020)
- Exploit #2262 - Laravel-PHP-Unit-RCE-Auto-shell-uploader (Laravel-PHP-Unit-RCE (CVE-2018-15133) Auto Exploiter and Shell Uploader) (April 5, 2020)