CVE-2018-15133:
Laravel Framework RCE Vulnerability
8.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.99044%
CWE
Published
5/14/2022
Updated
1/13/2025
KEV Status
Yes
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
laravel/framework | composer | <= 5.5.40 | |
laravel/framework | composer | >= 5.6.0, <= 5.6.29 | 5.6.30 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unsafe deserialization during cookie/header decryption. The core issue is in Encrypter::decrypt which by default performed unserialize() on decrypted data. The middleware components (EncryptCookies and VerifyCsrfToken) called this method without proper serialization controls, particularly for XSRF tokens. The patch added explicit serialization flags (false for XSRF-TOKEN) to prevent unserialization of untrusted data. The vulnerable functions are those that handled decryption of user-controlled tokens without these safeguards, enabling PHP object injection when the app key was known.