{"id":"CVE-2024-21632","published":"2024-01-02T21:54:54Z","modified":"2025-06-17T20:29:07Z","title":"omniauth-microsoft_graph vulnerable to account takeover (nOAuth)","vendor":"synth","product":"omniauth-microsoft_graph","tier":"tail","description":{"text":"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00904,"percentile":0.60652,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://github.com/synth/omniauth-microsoft_graph/security/advisories/GHSA-5g66-628f-7cvj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/synth/omniauth-microsoft_graph/commit/f132078389612b797c872b45bd0e0b47382414c1","tags":["x_refsource_MISC"]},{"url":"https://www.descope.com/blog/post/noauth","tags":["x_refsource_MISC"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":12.13},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"synth","affectedVersions":[{"vendor":"synth","product":"omniauth-microsoft_graph","versions":["< 2.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-01-03T19:37:02.254845Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"omniauth-microsoft_graph","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-5g66-628f-7cvj"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0260","exploited":false,"provenance":"source"}}