PT-2018-12889 · Laravel · Laravel Framework

Published

2018-08-09

·

Updated

2025-07-15

·

CVE-2018-15133

CVSS v3.1

8.1

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Laravel Framework versions 5.5.0 through 5.5.40 Laravel Framework versions 5.6.0 through 5.6.29
Description Remote code execution might occur due to an unserialize call on a potentially untrusted X-XSRF-TOKEN value. This issue 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 could happen if the attacker previously had privileged access or successfully accomplished a previous attack.
Recommendations For Laravel Framework versions 5.5.0 through 5.5.40, update to a version later than 5.5.40 to resolve the issue. For Laravel Framework versions 5.6.0 through 5.6.29, update to a version later than 5.6.29 to resolve the issue. As a temporary workaround, consider restricting access to untrusted X-XSRF-TOKEN values until a patch is applied.

Exploit

Fix

RCE

Deserialization of Untrusted Data

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2018-15133
GHSA-QVQM-H22R-4CP9

Affected Products

Laravel Framework