GHSA-qvqm-h22r-4cp9
Laravel Framework RCE Vulnerability
Quick fix
GHSA-qvqm-h22r-4cp9 — laravel/framework: upgrade to the fixed version with the command below.
composer require laravel/framework:^5.6.30Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for laravel/framework (composer). Pin to a known-safe version or switch to an alternative.
5.6.0Fixed in: 5.6.30composer require laravel/framework:^5.6.30References
- https://nvd.nist.gov/vuln/detail/CVE-2018-15133[ADVISORY]
- https://github.com/laravel/framework/commit/d84cf988ed5d4661a4bf1fdcb08f5073835083a0[WEB]
- https://github.com/kozmic/laravel-poc-CVE-2018-15133[WEB]
- https://github.com/laravel/framework[PACKAGE]
- https://laravel.com/docs/5.6/upgrade#upgrade-5.6.30[WEB]
- http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html[WEB]