CVE-2018-15133: Laravel Deserialization of Untrusted Data Vulnerability

Published Aug 9, 2018
·
Updated

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.

Other sources

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.

Laravel Framework contains a deserialization of untrusted data vulnerability, allowing for remote command execution. This vulnerability may only be exploited if a malicious user has accessed the application encryption key (APPKEY environment variable).

CISA

Affected Software

8 affected componentsFixes available
composer/laravel/framework>=5.6.0<=5.6.29
5.6.30
composer/laravel/framework<=5.5.40
Laravel Laravel Framework
Laravel Laravel<=5.5.40
Laravel Laravel>=5.6.0<=5.6.29
PHPUnit unit testing framework
Apache HTTP Server
Laravel web application framework

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/laravel/framework to a version that resolves this vulnerability.

    Fixed in 5.6.30
  2. Operational

    If the application encryption key (APP_KEY environment variable) may have been exposed, rotate the APP_KEY to a new value.

Event History

Aug 9, 2018
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Data Sourced
via NVD·07:29 PM
DescriptionSeverityWeaknessAffected Software
May 14, 2022
Advisory Published
via GitHub·12:56 AM
Jan 16, 2024
Known Exploited
via CISA·12:00 AM
News Published
via BleepingComputer·05:34 PM
Jan 17, 2024
News Published
via The Register·01:29 AM
Jan 20, 2024
News Published
via BleepingComputer·05:35 PM
Jan 21, 2024
News Published
via The Register·01:34 AM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-15133?

The severity of CVE-2018-15133 is high with a severity value of 8.1.

2

How does CVE-2018-15133 occur?

CVE-2018-15133 occurs as a result of an unserialize call on a potentially untrusted X-XSRF-TOKEN value.

3

Which Laravel versions are affected by CVE-2018-15133?

Laravel Framework versions 5.5.40 and 5.6.x through 5.6.29 are affected by CVE-2018-15133.

4

How can I fix CVE-2018-15133?

To fix CVE-2018-15133, upgrade to Laravel Framework version 5.6.30 or newer. Refer to the official Laravel documentation for the upgrade process.

5

Where can I find more information about CVE-2018-15133?

You can find more information about CVE-2018-15133 in the NIST National Vulnerability Database (NVD), Laravel documentation, and Packet Storm Security website.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203