#2021 Invitation reuse

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

    **Description** A single-use invitation remained cached on an unauthenticated session after it had been used. The same session could submit additional registration requests with different usernames. Two concurrent sessions that validated the invitation before either completed registration could produce the same result. **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** Operators who cannot upgrade immediately may disable invitation-based registration and password resets. If invitations must remain enabled, restrict them to administrators and issue them for trusted users only. **Fixes** Invitations are marked used in memory, registration hooks ignore used invitations. Commit: 4df0aa0c48bd **Attribution** This issue was identified in an external security review of Prosody trunk provided to the Prosody team.

  2. MattJ on

    Commits: ea4e687e3dda, fff798b74382, 7ed1c6023424, b427a17b6111

  3. MattJ on

    Changes
    • tags Hidden

New comment

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