Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. laravel/framework
  4. ›
  5. CVE-2018-15133

CVE-2018-15133: Laravel Framework RCE Vulnerability

May 14, 2022 (updated January 13, 2025)

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.

References

  • github.com/advisories/GHSA-qvqm-h22r-4cp9
  • github.com/kozmic/laravel-poc-CVE-2018-15133
  • github.com/laravel/framework
  • github.com/laravel/framework/commit/d84cf988ed5d4661a4bf1fdcb08f5073835083a0
  • laravel.com/docs/5.6/upgrade
  • nvd.nist.gov/vuln/detail/CVE-2018-15133

Code Behaviors & Features

Detect and mitigate CVE-2018-15133 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 5.5.40, all versions starting from 5.6.0 before 5.6.30

Fixed versions

  • 5.6.30

Solution

Upgrade to version 5.6.30 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data

Source file

packagist/laravel/framework/CVE-2018-15133.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:44 +0000.