Skip to content

[VULN-21] Account Enumeration via Signup Errors #36

Description

@lyncmi07

Severity: Low
Affected location: routes/auth.ts:23-26

Issue:
Signup returns explicit "username already taken" message, allowing enumeration of existing usernames.

Mitigation plan:

  1. Return generic response for signup conflicts.
  2. Keep detailed reason only in server logs.
  3. Pair with rate limiting on signup attempts.

Verification / tests:

  • Test duplicate vs non-duplicate signup responses are indistinguishable to client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions