#2031 OAuth role not applied via SASL authentication

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

    **Description** On the OAUTHBEARER SASL path, mod_tokenauth resolved the user from a token but did not apply a restricted role carried by that token. The account's primary role was used instead, so a token intended to grant reduced privileges could authenticate with broader access. **Affected configurations** The issue affects deployments that issue OAUTHBEARER tokens with a restricted role, including through community OAuth2 modules. **Mitigation** Operators who cannot upgrade immediately should avoid issuance of restricted-role OAUTHBEARER tokens in their deployment. **Fixes** The OAUTHBEARER SASL path resolves and applies the token role. Commits: 6c89731e0afb (mod_tokenauth) **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.