drupal/simple_oauth - SA-CONTRIB-2022-002
This module enables you to implement OAuth 2.0 authentication for Drupal.
The module doesn't sufficiently verify client secret keys for "confidential" OAuth 2.0 clients when using certain grant types. The token refresh and client credentials grants are not affected.
This vulnerability is mitigated by the fact that the vast majority of OAuth 2.0 clients in the wild are public, not confidential. Furthermore, all affected grant types still require users to authenticate to Drupal during the OAuth flow.
The implicit grant type is insecure for other reasons (and still requires user authentication) and is disabled by default.
Sites at risk of information disclosure would be specifically configured to restrict access based on the OAuth client's confidentiality status and configured scopes, not only traditional Drupal user permissions and roles.
Further mitigation includes configuring allowed redirect URIs for clients. This is an OAuth best practice for guarding against man-in-the-middle attacks on authorization codes, and prevents redirection to imposter clients.
Anyone implementing OAuth 2.0 on their Drupal site is also encouraged to review the relevant RFCs and Internet-Drafts pertaining to OAuth security.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de Composer | drupal/simple_oauth | < 4.6.0, >= 5.0.0, < 5.0.6 | 4.6.0, 5.0.6 |
| Módulo de Drupal | drupal/simple_oauth | < 4.6.0, >= 5.0.0, < 5.0.6 | 4.6.0, 5.0.6 |
Referencias
- Debilidad (CWE)
-- Plataforma
- Composer, Drupal
- Paquete
drupal/simple_oauth- Publicada
- 05.01.2022
- Actualizado
- 11.10.2026 13:17
Fuentes y licencias
OSV / GitHub Advisory Database - DRUPAL-CONTRIB-2022-002 - CC BY-SA 2.0; code GPL-2.0-or-later
Historial de vulnerabilidades: drupal/simple_oauth
Todas las vulnerabilidades publicadas de este paquete (Módulo de Drupal), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 2
- Primera → última
- 01.2022 10.2025
- Sin corrección
- 0
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 1
- Sin evaluar 1
Divulgaciones por año
- 2022: 1
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
drupal/simple_oauth - SA-CONTRIB-2022-002 esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.