
Cloud Vulnerability DB
A community-led vulnerabilities database
The Laravel Cookie serialization vulnerability (GHSA-2867-6rrm-38gr) was identified in Laravel versions 5.5.0 to 5.6.30. This high-severity security issue affects the illuminate/cookie package and was disclosed on August 7, 2018. The vulnerability is related to cookie encryption and serialization logic in Laravel framework (Laravel Docs, GitHub Advisory).
The vulnerability is classified as CWE-502 and involves potential exploitation of PHP object serialization/unserialization of cookie values. While Laravel cookies are encrypted and signed by default, if an attacker gains access to the application's encryption key (APP_KEY environment variable), they could craft malicious cookie values to exploit vulnerabilities in PHP's object serialization process (Laravel Docs).
If exploited, this vulnerability could allow malicious actors with access to the application's encryption key to call arbitrary class methods within the application through crafted cookie values. The vulnerability invalidates all application sessions, requiring users to log in again unless they have a remember_token set (Laravel Docs).
The vulnerability can only be exploited if a malicious user has access to the application's encryption key (APP_KEY environment variable). This typically occurs in scenarios involving ex-employees or other parties who previously had access to the encryption key (Laravel Docs).
Laravel 5.6.30 addresses this vulnerability by disabling all serialization/unserialization of cookie values by default. Organizations can re-enable cookie serialization if needed through the App\Http\Middleware\EncryptCookies middleware by setting the static $serialize property. However, this is only recommended while making applications compatible with the security changes. If there's suspicion that the encryption key has been compromised, it should be rotated to a new value (Laravel Docs).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."