9.9
CRITICAL
CVE-2023-36460
Mastodon Arbitrary File Creation Vulnerability (Remote Code Execution)
Description

Mastodon is a free, open-source social network server based on ActivityPub. Starting in version 3.5.0 and prior to versions 3.5.9, 4.0.5, and 4.1.3, attackers using carefully crafted media files can cause Mastodon's media processing code to create arbitrary files at any location. This allows attackers to create and overwrite any file Mastodon has access to, allowing Denial of Service and arbitrary Remote Code Execution. Versions 3.5.9, 4.0.5, and 4.1.3 contain a patch for this issue.

INFO

Published Date :

July 6, 2023, 7:15 p.m.

Last Modified :

Nov. 21, 2024, 8:09 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2023-36460 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Joinmastodon mastodon

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-36460 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-36460 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/06/4
    Added Reference https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440
    Added Reference https://github.com/mastodon/mastodon/releases/tag/v3.5.9
    Added Reference https://github.com/mastodon/mastodon/releases/tag/v4.0.5
    Added Reference https://github.com/mastodon/mastodon/releases/tag/v4.1.3
    Added Reference https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jul. 14, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/07/06/4 No Types Assigned http://www.openwall.com/lists/oss-security/2023/07/06/4 Mailing List
    Changed Reference Type https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440 No Types Assigned https://github.com/mastodon/mastodon/commit/dc8f1fbd976ae544720a4e07120d9a91b2722440 Patch, Third Party Advisory
    Changed Reference Type https://github.com/mastodon/mastodon/releases/tag/v3.5.9 No Types Assigned https://github.com/mastodon/mastodon/releases/tag/v3.5.9 Third Party Advisory
    Changed Reference Type https://github.com/mastodon/mastodon/releases/tag/v4.0.5 No Types Assigned https://github.com/mastodon/mastodon/releases/tag/v4.0.5 Third Party Advisory
    Changed Reference Type https://github.com/mastodon/mastodon/releases/tag/v4.1.3 No Types Assigned https://github.com/mastodon/mastodon/releases/tag/v4.1.3 Third Party Advisory
    Changed Reference Type https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm No Types Assigned https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.9 *cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.0.5 *cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:* versions from (including) 4.1.0 up to (excluding) 4.1.3
  • CVE Modified by [email protected]

    Jul. 07, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/06/4 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-36460 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.86 }} 0.19%

score

0.82045

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability