GHSA-q4xf-7fw5-4x8v

Suggest an improvement
Source
https://github.com/advisories/GHSA-q4xf-7fw5-4x8v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-q4xf-7fw5-4x8v/GHSA-q4xf-7fw5-4x8v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-q4xf-7fw5-4x8v
Published
2024-05-15T21:50:28Z
Modified
2024-11-29T05:42:54.698186Z
Summary
Laravel Hijacked authentication cookies vulnerability
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-384"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-15T21:50:28Z"
}
References

Affected packages

Packagist / illuminate/auth

Package

Name
illuminate/auth
Purl
pkg:composer/illuminate/auth

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.1.26

Affected versions

v4.*

v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.0.5
v4.0.6
v4.0.7
v4.0.8
v4.0.9
v4.0.10
v4.1.0
v4.1.1
v4.1.2
v4.1.3
v4.1.4
v4.1.5
v4.1.6
v4.1.7
v4.1.8
v4.1.9
v4.1.10
v4.1.11
v4.1.12
v4.1.13
v4.1.14
v4.1.15
v4.1.16
v4.1.17
v4.1.18
v4.1.19
v4.1.20
v4.1.21
v4.1.22
v4.1.23
v4.1.24
v4.1.25