---
cve: "CVE-2023-28853"
severity: "HIGH"
cvss: 7.7
epss: "1.3%"
vendor: "mastodon"
kev: false
exploited: false
published: "2023-04-04 22:15:08"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-15T20:27:15+02:00"
---

# CVE-2023-28853

> 7.7 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Keine | good |
| A Verfügbarkeit | Keine | good |

## Patch verfügbar (OSV)

- 1bd831b9a9d288566ca38045f6410c771946634b (Commit)
- 214c3670959361230c5199e668df4de3da513b22 (Commit)

## Referenzen

- <https://github.com/mastodon/mastodon/security/advisories/GHSA-38g9-pfm9-gfqv>
- <https://github.com/mastodon/mastodon/pull/24379>
- <https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/app/models/concerns/ldap_authenticable.rb#L7-L14>
- <https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/config/initializers/devise.rb#L398-L414>
- <https://github.com/mastodon/mastodon/releases/tag/v3.5.8>
- <https://github.com/mastodon/mastodon/releases/tag/v4.0.4>
- <https://github.com/mastodon/mastodon/releases/tag/v4.1.2>
- <http://www.openwall.com/lists/oss-security/2023/07/06/6>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2023-28853) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
