MTIby Motiontic
Colour theme
VulnerabilityCVE-2024-3096WID-SEC-W-2024-0867:CVE-2024-3096

PHP function password_verify can erroneously return true when argument contains NUL

Not on CISA KEV
  • Overview

Summary

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • BSI CERT-Bund Source: BSI CERT-Bund
  • CVE List Source: CVE Program (cve.org)