#2032 Potential storage policy bypass

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 file-based storage abstraction module (datamanager) improperly modified the list of callbacks when multiple were present and one was removed. These callbacks are commonly used to enforce various policies, such as preventing storage for anonymous users, or removing "virtual" contacts added by mod_groups). The callbacks are global, so this effect could occur across multiple virtual hosts on the same Prosody instance. **Affected configurations** The issue affects deployments where modules using data manager callbacks are reloaded or unloaded. **Mitigation** Operators who cannot upgrade immediately should avoid dynamically reloading or unloading modules that add or remove data manager callbacks (mod_auth_anonymous, mod_groups). **Fixes** The datamanager callback removal logic has been fixed. Commit: 3072b5fe5e7b **Attribution** The issue was identified by a Prosody team member.

  2. MattJ on

    Changes
    • tags Hidden

New comment

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