CVE-2024-23832CWE-290

Mastodon Remote user impersonation and takeover

Critical · published February 1, 2024

CVSS v3.1
9.4
EPSS
2%
Percentile
84.3
In the wild
Unconfirmed
What it is

🚨 A simple flaw in Mastodon’s LDAP authentication could turn any user into an imposter! Just like a fake ID slipping past a bouncer, this vulnerability allows attackers to impersonate anyone on the platform. 🔥 Think of it as a restaurant where the waiter accepts any name on a reservation list without checking ID. An attacker could simply claim to be someone else and take that table, accessing all their data and even making orders on their behalf! This vulnerability is a game-changer for any Mastodon instance; an attacker could easily take over accounts, read private messages, and wreak havoc across the network. With the potential to impersonate any user, this flaw could lead to massive breaches of privacy and trust among users. The fallout could be absolutely devastating!

Put simply

Think of it as a restaurant where the waiter accepts any name on a reservation list without checking ID. An attacker could simply claim to be someone else and take that table, accessing all their data and even making orders on their behalf! The issue lies in Mastodon's insufficient origin validation, which fails to verify the authenticity of LDAP authentication requests. This allows attackers to impersonate any remote account without proper authorization, gaining complete access to the victim's account.

What to do

This vulnerability is a game-changer for any Mastodon instance; an attacker could easily take over accounts, read private messages, and wreak havoc across the network. With the potential to impersonate any user, this flaw could lead to massive breaches of privacy and trust among users. The fallout could be absolutely devastating! To secure your Mastodon instance, upgrade to version 3.5.17 or 4.0.13 (or higher) immediately. Additionally, review your LDAP configuration to ensure that proper origin validation is in place and restrict access to trusted sources only. You’ve got this! With the right updates, you can keep your Mastodon community safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.4 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02452 · 84.3th percentile
Weakness
CWE-290 · Authentication Bypass by Spoofing
Published
2024-02-01T16:18Z
EPSS history
Timeline
  • 01 FEB 16:18Z
    Mastodon Remote user impersonation and takeover
    cvelistv5