In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.
Workaround:
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Link | Tags |
---|---|
https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr | vendor advisory exploit |
http://www.openwall.com/lists/oss-security/2024/04/12/11 | mailing list |
https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html | mailing list |
https://security.netapp.com/advisory/ntap-20240510-0010/ | third party advisory |