Re:PHP bug: Password_verify() always return true with some hash
by bawolff on Thursday February 23, 2023 @11:27AM
(#34912582)
That's like arguing everything causes cancer, therefore smoking is fine.
Re:PHP bug: Password_verify() always return true with some hash
by tialaramex on Thursday February 23, 2023 @03:05PM
(#34915746)
The equivalent of an argument that everything causes cancer => smoking is fine would be all bugs are security bugs => don't bother fixing the bug underpinning a known a remote code execution exploit.
Which is not at all what I was getting at. Again, don't spend time trying to argue why this or that bug is probably fine actually and not "really" a security problem, fix it and then it isn't.
Why are all bugs security bugs? Because security depends on the actual behaviour of the software, and bugs cause this behaviour to deviate from your intended and documented behaviour in unknown ways which means they have unknown impact on security. Figuring out whether any user of the software actually incurs a security impact as a result of any particular bug is likely to be far more work than fixing it, so just fix it.