Vulnerability Details : CVE-2023-28853
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.
Products affected by CVE-2023-28853
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
- cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-28853
0.33%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 71 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-28853
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
2.8
|
3.6
|
NIST | |
7.7
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
3.1
|
4.0
|
GitHub, Inc. |
CWE ids for CVE-2023-28853
-
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.Assigned by: nvd@nist.gov (Secondary)
-
The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-28853
-
https://github.com/mastodon/mastodon/releases/tag/v4.1.2
Release v4.1.2 · mastodon/mastodon · GitHubRelease Notes
-
https://github.com/mastodon/mastodon/security/advisories/GHSA-38g9-pfm9-gfqv
Blind LDAP injection in login allows the attacker to leak arbitrary attributes from LDAP database · Advisory · mastodon/mastodon · GitHubExploit;Vendor Advisory
-
https://github.com/mastodon/mastodon/releases/tag/v3.5.8
Release v3.5.8 · mastodon/mastodon · GitHubRelease Notes
-
https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/config/initializers/devise.rb#L398-L414
mastodon/devise.rb at 94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec · mastodon/mastodon · GitHubProduct
-
http://www.openwall.com/lists/oss-security/2023/07/06/6
oss-security - CVE-2023-28853: mastodon: Blind LDAP injection in login
-
https://github.com/mastodon/mastodon/blob/94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec/app/models/concerns/ldap_authenticable.rb#L7-L14
mastodon/ldap_authenticable.rb at 94cbd808b5b3e7999c7e77dc724b7e8c9dd2bdec · mastodon/mastodon · GitHubProduct
-
https://github.com/mastodon/mastodon/releases/tag/v4.0.4
Release v4.0.4 · mastodon/mastodon · GitHubRelease Notes
-
https://github.com/mastodon/mastodon/pull/24379
Fix unescaped user input in LDAP query by ClearlyClaire · Pull Request #24379 · mastodon/mastodon · GitHubPatch
Jump to