Exploit database

Vulnerability

CVE-2018-15133

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

11 sources
PHP Laravel Framework token Unserialize Remote Command Execution
MSF-unix--http--laravel_token_unserialize_execMetasploitUnix / remote

This module exploits a vulnerability in the PHP Laravel Framework for versions 5.5.40, 5.6.x <= 5.6.29. Remote Command Execution is possible via a correctly formatted HTTP X-XSRF-TOKEN header, due to an insecure unserialize call of the decrypt method in Illuminate/Encryption/Encrypter.php. Authentication is not required, however exploitation requires knowledge of the Laravel APP_KEY. Similar vulnerabilities appear to exist within Laravel cookie tokens based on the code fix. In some cases the APP_KEY is leaked which allows for discovery and exploitation.

2018-08-07laravel_token_unserialize_exec.rb
kozmic/laravel-poc-cve-2018-15133
GH-283cc16d537a16ce7dfaa2d6e35b5463GitHubUnofficial GitHub source

PoC for CVE-2018-15133 (Laravel unserialize vulnerability)

2018-08-144 files · 259 stars
aljavier/exploit_laravel_cve-2018-15133
GH-b4fdced68f6e498394d1d162339aac8fGitHubUnofficial GitHub source

Exploit for Laravel Remote Code Execution with API_KEY (CVE-2018-15133)

2020-11-134 files · 58 stars
pwnedshell/larascript
GH-5907bd6d7769b6f158dcc5dbe91a5d70GitHubUnofficial GitHub source

Laravel RCE exploit. CVE-2018-15133

2020-12-217 files · 35 stars
azharikun/cve-2018-15133
GH-181b26b5efe0a0cda62fd9ef194a9751GitHubUnofficial GitHub source

azharikun/cve-2018-15133 source repository

2021-01-033 files · 3 stars
yeahhbean/laravel-cve-2018-15133
GH-a35513764d9ffdf20205f236d683c33aGitHubUnofficial GitHub source

yeahhbean/laravel-cve-2018-15133 source repository

2025-04-27198 files · 2 stars
0xsalle/cve-2018-15133
GH-d6cb817d652b8375a149b5110c3d08d5GitHubUnofficial GitHub source

0xsalle/cve-2018-15133 source repository

2023-05-103 files · 0 stars
addy-shetty/laazy_sqli-labs
GH-e87d3df29a145cea592974e58084fab1GitHubUnofficial GitHub source

addy-shetty/laazy_sqli-labs source repository

2025-04-076 files · 0 stars