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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
PHP Laravel Framework token Unserialize Remote Command Execution
exploit/unix/http/laravel_token_unserialize_exec
Exploit-DB 1
- PHP Laravel Framework 5.5.40 / 5.6.x < 5.6.30 - token Unserialize Remote Command Execution (Metasploit) EDB-47129 · remote · Jul 16, 2019 · verified
GitHub 14 repositories · most starred shown
-
kozmic/laravel-poc-CVE-2018-15133 ★ 258 · Aug 14, 2018
PoC for CVE-2018-15133 (Laravel unserialize vulnerability)
-
aljavier/exploit_laravel_cve-2018-15133 ★ 57 · Nov 13, 2020
Exploit for Laravel Remote Code Execution with API_KEY (CVE-2018-15133)
-
pwnedshell/Larascript ★ 35 · Dec 21, 2020
Laravel RCE exploit. CVE-2018-15133
-
Prabesh01/Laravel-PHP-Unit-RCE-Auto-shell-uploader ★ 6 · Apr 5, 2020
Laravel-PHP-Unit-RCE (CVE-2018-15133) Auto Exploiter and Shell Uploader
-
AzhariKun/CVE-2018-15133 ★ 3 · Jan 3, 2021
-
yeahhbean/Laravel-CVE-2018-15133 ★ 2 · Apr 27, 2025
-
NatteeSetobol/CVE-2018-15133-Lavel-Expliot ★ 0 · Dec 28, 2021
"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) …
-
AlienX2001/better-poc-for-CVE-2018-15133 ★ 0 · Nov 9, 2020
An automated PoC for CVE 2018-15133
-
bukitbarisan/laravel-rce-cve-2018-15133 ★ 0 · Apr 27, 2020
CVE-2018-15133 (Webased)
-
Bilelxdz/Laravel-CVE-2018-15133 ★ 0 · Feb 25, 2020
Cette exploit en python va vous permettre de créer des listes de sites et les exploiter rapidement.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | laravel/framework | <= 5.5.40 | — | GHSA-qvqm-h22r-4cp9 |
| Packagist | laravel/framework | >= 5.6.0, < 5.6.30 | 5.6.30 | GHSA-qvqm-h22r-4cp9 |