#2024 Non-moderators may modify state and cause occupants to be kicked from MUCs

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

    **Description** Prosody's muc#admin handler processed changes to a live affiliation record before applying the required authorization check. By supplying an item with an affiliation, JID and nick, any XMPP entity could cause a reserved-nickname conflict kick to be executed against an occupant, including an owner, before the affiliation change was rejected. The handler could also overwrite affiliation data such as the reserved nickname and reason for existing affiliations. **Affected configurations** All MUCs are affected in versions prior to 13.0.8, where the exposure to malicious users is obviously greater for public channels. **Mitigation** The best mitigation is to upgrade if you host MUCs where untrusted users are allowed to join. **Fixes** Affiliation changes are authorized before reserved-nickname kicks, and affiliation data is copied before modification. Commits: 9f1d26ba8176 **Attribution** The issue was identified in an external security review.

  2. MattJ on

    Changes
    • tags Hidden

New comment

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