Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Thoughtworks | Gocd | >= 17.5.0, < 22.1.0 |
Related Weaknesses (CWE)
References
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authenVendor Advisory
- https://github.com/gocd/gocd-ldap-authentication-pluginProductThird Party Advisory
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b396PatchThird Party Advisory
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144Release NotesThird Party Advisory
- https://github.com/gocd/gocd/pull/10244PatchThird Party Advisory
- https://github.com/gocd/gocd/releases/tag/22.1.0Release NotesThird Party Advisory
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3hThird Party Advisory
- https://www.gocd.org/releases/#22-1-0Release NotesVendor Advisory
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authenVendor Advisory
- https://github.com/gocd/gocd-ldap-authentication-pluginProductThird Party Advisory
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b396PatchThird Party Advisory
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144Release NotesThird Party Advisory
- https://github.com/gocd/gocd/pull/10244PatchThird Party Advisory
- https://github.com/gocd/gocd/releases/tag/22.1.0Release NotesThird Party Advisory
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3hThird Party Advisory
FAQ
What is CVE-2022-24832?
CVE-2022-24832 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 c...
How severe is CVE-2022-24832?
CVE-2022-24832 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-24832?
Check the references section above for vendor advisories and patch information. Affected products include: Thoughtworks Gocd.