CVE-2023-46241
CRITICALDescription
`discourse-microsoft-auth` is a plugin that enables authentication via Microsoft. On sites with the `discourse-microsoft-auth` plugin enabled, an attack can potentially take control of a victim's Discourse account. Sites that have configured their application's account type to any options other than `Accounts in this organizational directory only (O365 only - Single tenant)` are vulnerable. This vulnerability has been patched in commit c40665f44509724b64938c85def9fb2e79f62ec8 of `discourse-microsoft-auth`. A `microsoft_auth:revoke` rake task has also been added which will deactivate and log out all users that have connected their accounts to Microsoft. User API keys as well as API keys created by those users will also be revoked. The rake task will also remove the connection records to Microsoft for those users. This will allow affected users to re-verify their account emails as well as reconnect their Discourse account to Microsoft for authentication. As a workaround, disable the `discourse-microsoft-auth` plugin by setting the `microsoft_auth_enabled` site setting to `false`. Run the `microsoft_auth:log_out_users` rake task to log out all users with associated Microsoft accounts.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 52% of all known CVEs.
References
Related Vulnerabilities
Other CWE-863 (Incorrect Authorization) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-22518 | Critical | 9.8 | 100% | KEV + Ransom | Fix |
| CVE-2023-38035 | Critical | 9.8 | 100% | KEV + Ransom | - |
| CVE-2022-46169 | Critical | 9.8 | 100% | KEV | Fix |
| CVE-2025-29927 | Critical | 9.1 | 100% | - | Fix |
| CVE-2024-38856 | Critical | 9.8 | 99% | KEV | Fix |
| CVE-2020-36289 | Medium | 5.3 | 99% | - | Fix |
Embed a live status badge for CVE-2023-46241
Markdown
[](https://tridentstack.com/cve/CVE-2023-46241)HTML
<a href="https://tridentstack.com/cve/CVE-2023-46241"><img src="https://tridentstack.com/cve/badge/CVE-2023-46241.svg" alt="CVE-2023-46241"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-02-05.