Laravel Framework RCE Vulnerability
High severity
GitHub Reviewed
Published
May 14, 2022
to the GitHub Advisory Database
•
Updated Jun 10, 2024
Package
Affected versions
<= 5.5.40
>= 5.6.0, <= 5.6.29
Patched versions
None
Description
Published by the National Vulnerability Database
Aug 9, 2018
Published to the GitHub Advisory Database
May 14, 2022
Reviewed
Jul 22, 2023
Last updated
Jun 10, 2024
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 ingadgetchains/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.References