CVE-2023-46241CWE-863

Potential account take over due to unverified emails from Microsoft Identity Platform

Critical · published February 21, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
56.1
In the wild
Unconfirmed
What it is

🚨 A simple misconfiguration could hand over the keys to your Discourse account! 🔥 Think of this as a hotel where anyone can check into your room if the front desk doesn’t check IDs properly. If the wrong person walks in, they could rummage through your belongings without breaking a sweat! An attacker could exploit this vulnerability to take full control of a victim’s Discourse account, potentially accessing private discussions, sensitive data, or even making unauthorized changes. Imagine someone sneaking into your online community and impersonating you—absolutely devastating!

Put simply

Think of this as a hotel where anyone can check into your room if the front desk doesn’t check IDs properly. If the wrong person walks in, they could rummage through your belongings without breaking a sweat! This vulnerability in the `discourse-microsoft-auth` plugin allows unauthorized access due to misconfigured account settings, specifically when sites allow accounts from outside their organizational directory. The exploit relies on a failure to properly restrict access based on these configurations.

What to do

An attacker could exploit this vulnerability to take full control of a victim’s Discourse account, potentially accessing private discussions, sensitive data, or even making unauthorized changes. Imagine someone sneaking into your online community and impersonating you—absolutely devastating! To protect your community, immediately disable the `discourse-microsoft-auth` plugin by setting `microsoft_auth_enabled` to `false`. Next, run the `microsoft_auth:log_out_users` rake task to log out all users linked to Microsoft accounts. Finally, update to the patched version from commit c40665f and encourage users to re-verify their accounts! You've got this! Follow these steps, and you'll have your security locked down in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00798 · 56.1th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2024-02-21T16:08Z
EPSS history
Timeline
  • 21 FEB 16:08Z
    Potential account take over due to unverified emails from Microsoft Identity Platform
    cvelistv5