Skip to content
This repository was archived by the owner on Apr 19, 2022. It is now read-only.

fix magic hash authentication bypass#148

Open
peng-hui wants to merge 1 commit intodignajar:masterfrom
peng-hui:fix
Open

fix magic hash authentication bypass#148
peng-hui wants to merge 1 commit intodignajar:masterfrom
peng-hui:fix

Conversation

@peng-hui
Copy link

The loose comparison allows attackers to authenticate without a correct password. For example, if the hash value from sha1 starts with 0e and forms a magic hash, it can be easily bypassed.

-- Reference to magic hash

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant