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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*
cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:56

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.5
v2 : unknown
v3 : 7.7
References () http://www.openwall.com/lists/oss-security/2023/07/06/6 - () http://www.openwall.com/lists/oss-security/2023/07/06/6 -
References () 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
References () 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
References () https://github.com/mastodon/mastodon/pull/24379 - Patch () https://github.com/mastodon/mastodon/pull/24379 - Patch
References () https://github.com/mastodon/mastodon/releases/tag/v3.5.8 - Release Notes () https://github.com/mastodon/mastodon/releases/tag/v3.5.8 - Release Notes
References () https://github.com/mastodon/mastodon/releases/tag/v4.0.4 - Release Notes () https://github.com/mastodon/mastodon/releases/tag/v4.0.4 - Release Notes
References () https://github.com/mastodon/mastodon/releases/tag/v4.1.2 - Release Notes () https://github.com/mastodon/mastodon/releases/tag/v4.1.2 - Release Notes
References () 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

07 Jul 2023, 00:15

Type Values Removed Values Added
References
  • (MISC) http://www.openwall.com/lists/oss-security/2023/07/06/6 -
CWE CWE-74 CWE-90

Information

Published : 2023-04-04 22:15

Updated : 2024-11-21 07:56


NVD link : CVE-2023-28853

Mitre link : CVE-2023-28853

CVE.ORG link : CVE-2023-28853


JSON object : View

Products Affected

joinmastodon

  • mastodon
CWE
CWE-90

Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')