Why is the /validate endpoint public? #893
Unanswered
Leonabcd123
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
From my reading of the code, you need to provide both username and password (both must be correct) to get a 1. If either username or password is incorrect, it returns a 0. Therefore you shouldn't be able to enumerate email addresses or detect if a certain email address is a pwn.college user. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Why does the /validate endpoint (in the score.py file) allow users to match usernames to passwords without being the actual user? Can't this be used to get the emails of users?
Beta Was this translation helpful? Give feedback.
All reactions