Skip to content

Password login has no rate limiting; brute force is unbounded #906

Description

@serendipty01

What happened

UserApi.login accepts unlimited attempts per account; trust proxy: true makes IP-keyed limiting useless;

Possible Solution

Redis fixed-window counter keyed on email, 10 attempts → 15-min block.

Version/commit

No response

Affected browser(s)

No response

Relevant logs/errors

Anything else

No response

Screenshots

No response

Checklist

  • I’ve reviewed and agree to follow the code of conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    None yet

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions