CVEvulnerability
CVE-2022-40482
5.3 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2023-04-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-203
Description
The authentication method in Laravel 8.x through 9.x before 9.32.0 was discovered to be vulnerable to user enumeration via timeless timing attacks with HTTP/2 multiplexing. This is caused by the early return inside the hasValidCredentials method in the Illuminate\Auth\SessionGuard class when a user is found to not exist.
Affected configurations
• laravel framework (>= 8.0.0 < 8.83.24)
• laravel framework (>= 9.0.0 < 9.32.0)
Related
Weakness · CWE (1)
- CWE-203 Observable Discrepancy weakness
References
- https://ephort.dk/blog/laravel-timing-attack-vulnerability/ Exploit, Technical Description, Third Party Advisory
- https://github.com/ephort/laravel-user-enumeration-demo Exploit, Third Party Advisory
- https://github.com/laravel/framework/pull/44069 Patch, Vendor Advisory
- https://github.com/laravel/framework/releases/tag/v9.32.0 Release Notes
- https://ephort.dk/blog/laravel-timing-attack-vulnerability/ Exploit, Technical Description, Third Party Advisory
- https://github.com/ephort/laravel-user-enumeration-demo Exploit, Third Party Advisory
- https://github.com/laravel/framework/pull/44069 Patch, Vendor Advisory
- https://github.com/laravel/framework/releases/tag/v9.32.0 Release Notes