U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2023-28853 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NIST CVSS score
NIST: NVD
N/A
NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

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

Weakness Enumeration

CWE-ID CWE Name Source
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') cwe source acceptance level NIST  
CWE-90 Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

4 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2023-28853
NVD Published Date:
04/04/2023
NVD Last Modified:
11/21/2024
Source:
GitHub, Inc.