Lucene search

K
githubGitHub Advisory DatabaseGHSA-Q4XF-7FW5-4X8V
HistoryMay 15, 2024 - 9:50 p.m.

Laravel Hijacked authentication cookies vulnerability

2024-05-1521:50:28
CWE-384
GitHub Advisory Database
github.com
3
laravel
cookies
security vulnerability
authentication

7.1 High

AI Score

Confidence

High

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.

Affected configurations

Vulners
Node
illuminateauthRange<4.1.26
CPENameOperatorVersion
illuminate/authlt4.1.26

7.1 High

AI Score

Confidence

High