Mastodon < 3.5.9 Multiples Vulnerabilities

critical Web App Scanning Plugin ID 114490

Synopsis

Mastodon < 3.5.9 Multiples Vulnerabilities

Description

According to its self-reported version number, the Mastodon application running on the remote host is prior to 3.5.9 or 4.0.x prior to 4.0.5 or 4.1.x prior to 4.1.3. It is, therefore, affected by multiples vulnerabilities :

- Verified profile links can be formatted in a misleading way - Denial of Service through slow HTTP responses - Arbitrary file creation through media attachments - XSS through oEmbed preview cards

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Mastodon version 3.5.9 or later.

See Also

https://github.com/mastodon/mastodon/security/advisories/GHSA-55j9-c3mp-6fcq

https://github.com/mastodon/mastodon/security/advisories/GHSA-9928-3cp5-93fm

https://github.com/mastodon/mastodon/security/advisories/GHSA-ccm4-vgcc-73hp

Plugin Details

Severity: Critical

ID: 114490

Type: remote

Published: 11/5/2024

Updated: 11/5/2024

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: High

Score: 7.3

CVSS v2

Risk Factor: High

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2023-36460

CVSS v3

Risk Factor: Critical

Base Score: 9.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS Score Source: CVE-2023-36460

Vulnerability Information

CPE: cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 7/6/2023

Vulnerability Publication Date: 7/6/2023

Reference Information

CVE: CVE-2023-36459, CVE-2023-36460, CVE-2023-36461, CVE-2023-36462

CWE: 20, 22, 770, 79

OWASP: 2010-A2, 2010-A4, 2013-A3, 2013-A4, 2013-A9, 2017-A5, 2017-A7, 2017-A9, 2021-A1, 2021-A3, 2021-A6

WASC: Cross-Site Scripting, Denial of Service, Improper Input Handling, Path Traversal

CAPEC: 10, 101, 104, 108, 109, 110, 120, 125, 126, 13, 130, 135, 136, 14, 147, 153, 182, 197, 209, 22, 229, 23, 230, 231, 24, 250, 261, 267, 28, 3, 31, 42, 43, 45, 46, 469, 47, 473, 482, 486, 487, 488, 489, 490, 491, 493, 494, 495, 496, 52, 528, 53, 588, 591, 592, 63, 64, 67, 7, 71, 72, 73, 76, 78, 79, 8, 80, 81, 83, 85, 88, 9

DISA STIG: APSC-DV-002400, APSC-DV-002490, APSC-DV-002560, APSC-DV-002630

HIPAA: 164.306(a)(1), 164.306(a)(2)

ISO: 27001-A.12.6.1, 27001-A.14.2.5

NIST: sp800_53-CM-6b, sp800_53-SC-5, sp800_53-SI-10

OWASP API: 2019-API7, 2023-API8

OWASP ASVS: 4.0.2-12.3.1, 4.0.2-14.2.1, 4.0.2-5.1.3, 4.0.2-5.3.3

PCI-DSS: 3.2-2.2, 3.2-6.2, 3.2-6.5, 3.2-6.5.7, 3.2-6.5.8