8.6high
omniauth-microsoft_graph vulnerable to account takeover (nOAuth)
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.90% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-5g66-628f-7cvj
Description
omniauth-microsoft_graph provides an Omniauth strategy for the Microsoft Graph API. Prior to versions 2.0.0, the implementation did not validate the legitimacy of the `email` attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the `email` is used as a trusted user identifier. This could lead to account takeover. Version 2.0.0 contains a fix for this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| synth omniauth-microsoft_graph | < 2.0.0 | CVE List |
| omniauth-microsoft_graph (RubyGems) | before 2.0.0 | GitHub Advisory Database |
| recognizeapp omniauth::microsoftgraph | before 2.0.0 | NVD |
All scores
| GitHub_M | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
omniauth-microsoft_graph provides an Omniauth strategy for the Microsoft Graph API. Prior to versions 2.0.0, the implementation did not validate the legitimacy of the `email` attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the `email` is used as a trusted user identifier. This could lead to account takeover. Version 2.0.0 contains a fix for this issue.
GitHub Advisory Database
Summary
The implementation did not validate the legitimacy of the email attribute of the user nor did it give/document an option to do so, making it susceptible to nOAuth misconfiguration in cases when the email is used as a trusted user identifier
NVD (es)
omniauth-microsoft_graph proporciona una estrategia Omniauth para la API de Microsoft Graph. Antes de las versiones 2.0.0, la implementación no validaba la legitimidad del atributo "email" del usuario ni daba/documentaba una opción para hacerlo, lo que la hacía susceptible a una mala configuración de nOAuth en los casos en que se utiliza el "email" como identificador de usuario confiable. Esto podría llevar a la apropiación de cuentas. La versión 2.0.0 contiene una solución para este problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21632 changed 2025-06-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5g66-628f-7cvj changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-21632 changed 2026-06-17 | Public domain |