Skip to main content
← All vulnerabilities
CVE-2023-36460

Mastodon vulnerable to arbitrary file creation through media attachments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.5.9, 4.0.5, 4.1.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • mastodon mastodon

    From 3.5.0 · fixed in 3.5.9; From 4.0.0 · fixed in 4.0.5; From 4.1.0 · fixed in 4.1.3

References 6

GitHub · mastodon/mastodon

openwall.com