CVE-2022-24307 Missing authorization in n/a
Attackers can bypass access controls in Mastodon by exploiting improper handling of signed JSON-LD activities, potentially accessing unauthorized data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-24307?
CVE-2022-24307 is a critical missing authorization vulnerability in n/a, published on 3 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Mastodon before 3.3.2 and 3.4.x before 3.4.6 has incorrect access control because it does not compact incoming signed JSON-LD activities. (JSON-LD signing has been supported since version 1.6.0.)
Weakness: CWE-863
Which versions are affected by CVE-2022-24307?
1 open source package ship an affected version, including mastodon. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mastodon Bitnami | All versions | 3.3.2, 3.4.6 |
Products include Joinmastodon Mastodon.
How do I fix CVE-2022-24307?
Upgrade mastodon to a fixed version for your release line: 3.3.2 or 3.4.6.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-24307 being exploited?
There is no known exploitation of CVE-2022-24307 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-36460 Mastodon vulnerable to arbitrary file creation through media attachments
- CVE-2022-2166 Improper Restriction of Excessive Authentication Attempts in mastodon/mastodon
- CVE-2018-21018 Auth bypass in n/a
- CVE-2024-23832 Mastodon Remote user impersonation and takeover
- CVE-2023-36459 Mastodon vulnerable to Cross-site Scripting through oEmbed preview cards
Sources
Also known as BIT-mastodon-2022-24307, GHSA-x7fq-6476-543v.