Re:PHP bug: Password_verify() always return true with some hash
by stef25 on Thursday February 23, 2023 @07:55AM
(#34909856)
Obligatory "that article is from 10 years ago and it's really not the same PHP anymore"
[ Parent
| on HN ]
Re:PHP bug: Password_verify() always return true with some hash
by quchen on Thursday February 23, 2023 @08:02AM
(#34909932)
OP’s link disagrees. A critical vulnerability being called »not a bug RTFM« is the same cultural and engineering level of »string length as hash function what’s the problem«.
Re:PHP bug: Password_verify() always return true with some hash
by aeyes on Thursday February 23, 2023 @08:07AM
(#34910006)
The response is wrong though. The RFC for this function which someone quoted further down in the bug report clearly stated that it should return false even if you feed it a garbage hash.