News for hackers. Stuff that matters.
Re:PHP bug: Password_verify() always return true with some hash by tonmoy on Thursday February 23, 2023 @07:54AM (#34909834)
The database could be corrupted somehow and then any password will match. Some developer may just look at the RFC and assume random strings should fail the check, so may develop something that actually passes on random string. It’s probably not even a real security issue, but definitely strange behavior
Re:PHP bug: Password_verify() always return true with some hash by victorNicollet on Thursday February 23, 2023 @10:11AM (#34911551)
Indeed, '$' is a just bit flip away from '4' or 'd', and we end up with a user account that can be accessed by any password.