Mastodon 4.0.x < 4.0.4 LDAP injection

medium Web App Scanning Plugin ID 114494

Synopsis

Mastodon 4.0.x < 4.0.4 LDAP injection

Description

According to its self-reported version number, the version of Mastodon running on the remote host is 2.5.0 prior to 3.5.8 or 4.0.x prior to 4.0.4 or 4.1.x prior to 4.1.2. Therefore, it may be affected by a blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database.

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 4.0.4 or later.

See Also

https://github.com/mastodon/mastodon/security/advisories/GHSA-38g9-pfm9-gfqv

Plugin Details

Severity: Medium

ID: 114494

Type: remote

Published: 11/5/2024

Updated: 11/5/2024

Scan Template: basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS Score Source: CVE-2023-28853

CVSS v3

Risk Factor: Medium

Base Score: 6.5

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

CVSS Score Source: CVE-2023-28853

Vulnerability Information

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/4/2024

Vulnerability Publication Date: 4/4/2024

Reference Information

CVE: CVE-2023-28853