-
Notifications
You must be signed in to change notification settings - Fork 704
Open
Labels
HacktoberfestIssues suitable for the annual Hacktoberfest organized by Digital OceanIssues suitable for the annual Hacktoberfest organized by Digital Oceanbugpriority/lowsecurity
Description
Description
Invalid (nonexistent) journalist accounts login attempts are not throttled. This may allow an attacker with ATHS credentials to potentially enumerate journalist usernames on the journalist interface.
Steps to Reproduce
- go to journalist interface
- attempt to log in with valid journalist username 6 times
- observe that the 6th login is throttled
- attempt to log in with invalid journalist username 6 times
- observe that the 6th login is not throttled
Expected Behavior
Invalid usernames should exhibit the same behavior as valid usernames, otherwise would allow an attacker to distinguish between journalist and non-journalist accounts and potentially enumerate journalist accounts.
Actual Behavior
Invalid usernames are not throttled.
Comments
Because the journalist interface requires an ATHS token to login, and this would, in the worst case, disclose usernames, the risk is quite low. More discussion (including a regression test) can be found here: #3564
Metadata
Metadata
Assignees
Labels
HacktoberfestIssues suitable for the annual Hacktoberfest organized by Digital OceanIssues suitable for the annual Hacktoberfest organized by Digital Oceanbugpriority/lowsecurity