#2022 Invitation username restrictions not enforced

Reporter MattJ
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Status-Fixed
  • Milestone-13.0
  • Priority-High
  • Type-Defect
  • Security
  1. MattJ on

    **Description** Username restrictions in invitations were insufficiently enforced on account invitations. This allowed account invitations locked to a specific username to be used to register an account with a different username. Password reset invitations were **not** affected by this issue, and correctly enforced resets for the named account only. **Affected configurations** Deployments using mod_invites and mod_invites_register are affected. These modules are enabled in the default configuration, but the issues are only relevant when an invitation is generated and sent to a malicious user. **Mitigation** Don't rely on username-restricted invitations in versions earlier than 13.0.8. **Fixes** Username restrictions are stored in a separate field and enforced. Commit: b5c3a26c1103 **Attribution** This issue was identified in an external security review of Prosody trunk provided to the Prosody team.

  2. MattJ on

    Changes
    • tags Status-Fixed
  3. MattJ on

    Changes
    • tags Hidden

New comment

Not published. Used for spam prevention and optional update notifications.