CVE-2022-24832 Bundled ldap-authentication-plugin fails to neutralise LDAP special elements in usernames
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| thoughtworks gocd | >= 17.5.0, < 22.1.0 | 22.1.0 | Fixed |
| gocd | = >= 17.5.0, < 22.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gocd | = >= 17.5.0, < 22.1.0 | No fix listed |
| thoughtworks gocd | >= 17.5.0, < 22.1.0 | 22.1.0 |
References
- github.com third-party-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- docs.gocd.org vendor-advisory
- github.com product third-party-advisory
- github.com release-notes third-party-advisory
- github.com release-notes third-party-advisory
- www.gocd.org release-notes vendor-advisory