CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2018-15133

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.
Publish Date : 2018-08-09 Last Update Date : 2019-07-15
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 502

- Products Affected By CVE-2018-15133

# Product Type Vendor Product Version Update Edition Language
1 Application Laravel Laravel 5.5.40 Version Details Vulnerabilities
2 Application Laravel Laravel 5.6.0 Version Details Vulnerabilities
3 Application Laravel Laravel 5.6.1 Version Details Vulnerabilities
4 Application Laravel Laravel 5.6.2 Version Details Vulnerabilities
5 Application Laravel Laravel 5.6.3 Version Details Vulnerabilities
6 Application Laravel Laravel 5.6.4 Version Details Vulnerabilities
7 Application Laravel Laravel 5.6.5 Version Details Vulnerabilities
8 Application Laravel Laravel 5.6.6 Version Details Vulnerabilities
9 Application Laravel Laravel 5.6.7 Version Details Vulnerabilities
10 Application Laravel Laravel 5.6.8 Version Details Vulnerabilities
11 Application Laravel Laravel 5.6.9 Version Details Vulnerabilities
12 Application Laravel Laravel 5.6.10 Version Details Vulnerabilities
13 Application Laravel Laravel 5.6.11 Version Details Vulnerabilities
14 Application Laravel Laravel 5.6.12 Version Details Vulnerabilities
15 Application Laravel Laravel 5.6.13 Version Details Vulnerabilities
16 Application Laravel Laravel 5.6.14 Version Details Vulnerabilities
17 Application Laravel Laravel 5.6.15 Version Details Vulnerabilities
18 Application Laravel Laravel 5.6.16 Version Details Vulnerabilities
19 Application Laravel Laravel 5.6.17 Version Details Vulnerabilities
20 Application Laravel Laravel 5.6.18 Version Details Vulnerabilities
21 Application Laravel Laravel 5.6.19 Version Details Vulnerabilities
22 Application Laravel Laravel 5.6.20 Version Details Vulnerabilities
23 Application Laravel Laravel 5.6.21 Version Details Vulnerabilities
24 Application Laravel Laravel 5.6.22 Version Details Vulnerabilities
25 Application Laravel Laravel 5.6.23 Version Details Vulnerabilities
26 Application Laravel Laravel 5.6.24 Version Details Vulnerabilities
27 Application Laravel Laravel 5.6.25 Version Details Vulnerabilities
28 Application Laravel Laravel 5.6.26 Version Details Vulnerabilities
29 Application Laravel Laravel 5.6.27 Version Details Vulnerabilities
30 Application Laravel Laravel 5.6.28 Version Details Vulnerabilities
31 Application Laravel Laravel 5.6.29 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Laravel Laravel 31

- References For CVE-2018-15133

https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30 CONFIRM
http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html

- Metasploit Modules Related To CVE-2018-15133

PHP Laravel Framework token Unserialize Remote Command Execution
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.
Module type : exploit Rank : excellent Platforms : Unix


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.