[Bug] Rate limiting on judge login page #232
Labels
A: Backend
A task that concerns backend development
bug
Something isn't working
high priority
Issue that should be handled first
What Happened?
Well... someone tried to hack jury DURING hackutd smh by just brute force iterating through codes, which unfortunately does work.
Steps to Reproduce
but given that there are 1,000,000 possible codes and no limit on the login endpoint, its not difficult to figure out...
What device(s) are you seeing this issue on?
No response
What browser are you seeing this issue on?
No response
Possible Solutions
So there's a lot of complex solutions, but the simplest way to solve the problem is to implement the following steps:
The rate limit and increased digits should honestly be enough to deter anyone performing this attack. Ideally, events should have judges log in before sending out expo pages to all users, allowing them to simply disable the login if they wanted (tho they may still want to keep it open for late judges).
One last note: All events should use the QR code judge account creation system instead of through emails (this isn't for security but rather just simplicity and consistency on judge account logins)
Additional Info
No response
The text was updated successfully, but these errors were encountered: