Skip to content

CVE-2023-28853 Mastodon's blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database

MediumCVSS 6.5 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for authentication. Starting in version 2.5.0 and prior to versions 3.5.8, 4.0.4, and 4.1.2, the LDAP query made during login is insecure and the attacker can perform LDAP injection attack to leak arbitrary attributes from LDAP database. This issue is fixed in versions 3.5.8, 4.0.4, and 4.1.2.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
joinmastodon mastodon >= 2.5.0, < 3.5.8; >= 4.0.0, < 4.0.4; >= 4.1.0, < 4.1.2 3.5.8, 4.0.4, 4.1.2 Fixed
mastodon = >= 2.5.0, < 3.5.8; = >= 4.0.0, < 4.0.4; = >= 4.1.0, < 4.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
mastodon = >= 2.5.0, < 3.5.8 No fix listed
mastodon = >= 4.0.0, < 4.0.4 No fix listed
mastodon = >= 4.1.0, < 4.1.2 No fix listed
joinmastodon mastodon >= 2.5.0, < 3.5.8 3.5.8
joinmastodon mastodon >= 4.0.0, < 4.0.4 4.0.4
joinmastodon mastodon >= 4.1.0, < 4.1.2 4.1.2

References