Skip to content

Journalist interface logins with invalid usernames are not throttled #3566

@emkll

Description

@emkll

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions