Skip to content

GHSA-p62r-7637-3wwc Laravel Hijacked authentication cookies vulnerability

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHPLaravel

Description

Laravel 4.1.26 introduces security improvements for "remember me" cookies. Before this update, if a remember cookie was hijacked by another malicious user, the cookie would remain valid for a long period of time, even after the true owner of the account reset their password, logged out, etc.

This change requires the addition of a new remember_token column to your users (or equivalent) database table. After this change, a fresh token will be assigned to the user each time they login to your application. The token will also be refreshed when the user logs out of the application. The implications of this change are: if a "remember me" cookie is hijacked, simply logging out of the application will invalidate the cookie.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
Laravel Framework(Packagist) = v4.0.0; = v4.0.1; = v4.0.2; = v4.0.3 +35 more 4.1.26 Fixed

Affected products

ProductAffected versionsFixed in
Laravel Framework(Packagist) >= 4.0.0, < 4.1.26 4.1.26
Laravel Framework(Packagist) = v4.0.0 No fix listed
Laravel Framework(Packagist) = v4.0.1 No fix listed
Laravel Framework(Packagist) = v4.0.10 No fix listed
Laravel Framework(Packagist) = v4.0.11 No fix listed
Laravel Framework(Packagist) = v4.0.2 No fix listed
Laravel Framework(Packagist) = v4.0.3 No fix listed
Laravel Framework(Packagist) = v4.0.4 No fix listed
Laravel Framework(Packagist) = v4.0.5 No fix listed
Laravel Framework(Packagist) = v4.0.6 No fix listed
Laravel Framework(Packagist) = v4.0.7 No fix listed
Laravel Framework(Packagist) = v4.0.8 No fix listed
Laravel Framework(Packagist) = v4.0.9 No fix listed
Laravel Framework(Packagist) = v4.1.0 No fix listed
Laravel Framework(Packagist) = v4.1.1 No fix listed
Laravel Framework(Packagist) = v4.1.10 No fix listed
Laravel Framework(Packagist) = v4.1.11 No fix listed
Laravel Framework(Packagist) = v4.1.12 No fix listed
Laravel Framework(Packagist) = v4.1.13 No fix listed
Laravel Framework(Packagist) = v4.1.14 No fix listed
Laravel Framework(Packagist) = v4.1.15 No fix listed
Laravel Framework(Packagist) = v4.1.16 No fix listed
Laravel Framework(Packagist) = v4.1.17 No fix listed
Laravel Framework(Packagist) = v4.1.18 No fix listed
Laravel Framework(Packagist) = v4.1.19 No fix listed
Show 14 more
ProductAffected versionsFixed in
Laravel Framework(Packagist) = v4.1.2 No fix listed
Laravel Framework(Packagist) = v4.1.20 No fix listed
Laravel Framework(Packagist) = v4.1.21 No fix listed
Laravel Framework(Packagist) = v4.1.22 No fix listed
Laravel Framework(Packagist) = v4.1.23 No fix listed
Laravel Framework(Packagist) = v4.1.24 No fix listed
Laravel Framework(Packagist) = v4.1.25 No fix listed
Laravel Framework(Packagist) = v4.1.3 No fix listed
Laravel Framework(Packagist) = v4.1.4 No fix listed
Laravel Framework(Packagist) = v4.1.5 No fix listed
Laravel Framework(Packagist) = v4.1.6 No fix listed
Laravel Framework(Packagist) = v4.1.7 No fix listed
Laravel Framework(Packagist) = v4.1.8 No fix listed
Laravel Framework(Packagist) = v4.1.9 No fix listed

References