Intel

AIKIDO-2024-10208

laravel/framework is vulnerable to Return of Wrong Status Code

Return of Wrong Status Code Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 6, 2024

10

Low Risk

This Affects:

phplaravel/framework
5.7.0 - 11.18.1
Fixed in 11.19.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to returning the wrong status code when using Bcrypt/Argon/Argon2I hashers. Nullish or empty values are not checked before verifying if a given $hashedValue is compatible with the app's algorithm. A runtime exception is thrown, causing the end user to receive a 500 server error instead of the expected 401/422 or similar authentication failure, which may reveal that the user has not set a password yet.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

laravel/framework is vulnerable to Return of Wrong Status Code in versions 5.7.0 - 11.18.1.

How to fix this

Upgrade the laravel/framework library to the patch version.