CVSS 9.2 CRITICAL Truy cập trái phép

Laravel TokenGuard authentication bypass through non-string API credentials

Mã khác
GHSA-f9x3-7vq9-cph6
Công bố
Cập nhật
Lần đầu thấy
Nguồn
GitHub Advisory

Mô tả

Laravel's built-in TokenGuard, when configured with a standard token-based API guard, may be bypassed to authenticate as an arbitrary existing user without knowledge of their valid API token.

Under certain database configurations (MySQL/MariaDB) an attacker can submit a specially crafted, non-string credential value that is mishandled during the authentication lookup, causing the underlying query to match an unintended user record rather than failing authentication as expected.

Impact

An unauthenticated attacker may authenticate as another user without possessing that user's API token, leading to authentication bypass and account takeover on any route protected by the affected guard.

Điểm và phân loại

CVSS
9.2 CRITICAL v4.0
Nguồn điểm
GitHub Advisory
Mức độ (theo nguồn)
CRITICAL
EPSS
0.78%

Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Ảnh hưởng

Package Bản bị ảnh hưởng Bản đã sửa
composer laravel/framework >= 13.0.0, < 13.29.0 13.29.0
composer laravel/framework < 12.68.0 12.68.0

Vì sao được giữ

  • CVSS 9.2 >= 8.0

Loại tác động

Truy cập trái phép
CWE-287; từ khoá "authentication bypass"; từ khoá "account takeover"

Tham khảo