CVE-2022-24832

GoCD is an open source a continuous delivery server. The bundled gocd-ldap-authentication-plugin included with the GoCD Server fails to correctly escape special characters when using the username to construct LDAP queries. While this does not directly allow arbitrary LDAP data exfiltration, it can allow an existing LDAP-authenticated GoCD user with malicious intent to construct and execute malicious queries, allowing them to deduce facts about other users or entries within the LDAP database (e.g alternate fields, usernames, hashed passwords etc) through brute force mechanisms. This only affects users who have a working LDAP authorization configuration enabled on their GoCD server, and only is exploitable by users authenticating using such an LDAP configuration. This issue has been fixed in GoCD 22.1.0, which is bundled with gocd-ldap-authentication-plugin v2.2.0-144.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*

History

19 Apr 2022, 15:25

Type Values Removed Values Added
References (MISC) https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144 - (MISC) https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144 - Release Notes, Third Party Advisory
References (MISC) https://github.com/gocd/gocd/pull/10244 - (MISC) https://github.com/gocd/gocd/pull/10244 - Patch, Third Party Advisory
References (MISC) https://github.com/gocd/gocd/releases/tag/22.1.0 - (MISC) https://github.com/gocd/gocd/releases/tag/22.1.0 - Release Notes, Third Party Advisory
References (MISC) https://www.gocd.org/releases/#22-1-0 - (MISC) https://www.gocd.org/releases/#22-1-0 - Release Notes, Vendor Advisory
References (MISC) https://github.com/gocd/gocd-ldap-authentication-plugin - (MISC) https://github.com/gocd/gocd-ldap-authentication-plugin - Product, Third Party Advisory
References (MISC) https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3 - (MISC) https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3 - Patch, Third Party Advisory
References (MISC) https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication - (MISC) https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication - Vendor Advisory
References (CONFIRM) https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h - (CONFIRM) https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : 4.9
v3 : 6.8
CPE cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*
First Time Thoughtworks
Thoughtworks gocd

11 Apr 2022, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-11 21:15

Updated : 2023-12-10 14:22


NVD link : CVE-2022-24832

Mitre link : CVE-2022-24832

CVE.ORG link : CVE-2022-24832


JSON object : View

Products Affected

thoughtworks

  • gocd
CWE
CWE-74

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