simple_oauthThis module introduces an OAuth 2.0 authorization server, which can be configured to protect your Drupal instance with access tokens, or allow clients to request new access tokens and refresh them.
Since version 6.1.0, the module could cache a token's permissions in a way that let them be reused for another user's token with the same scopes. A user could gain permissions they do not have, including administrative access.
This vulnerability is mitigated by the fact that an attacker needs an OAuth2 token, and cannot trigger the issue themselves: a more privileged user's token with the same scopes must be used first. User 1 is not affected unless security.enable_super_user is set to false.
Install the latest version:
- If you use the "Simple OAuth (OAuth2) & OpenID Connect >= 6.1.0", upgrade to Simple OAuth (OAuth2) & OpenID Connect 6.1.3
- Bojan Bogdanovic (bojan_dev)
- Alexander Varwijk (kingdutch)
- Mingsong (mingsong), provisional member of the Drupal Security Team
- Trevor Bradley (trevorbradley)
- Jonathan Shaw (jonathanshaw)
- Swan Kalata (akalata) of the Drupal Security Team
- Benji Fisher (benjifisher) of the Drupal Security Team
- Damien McKenna (damienmckenna) of the Drupal Security Team
- Neil Drumm (drumm) of the Drupal Security Team
- Juraj Nemec (poker10) of the Drupal Security Team