CVE-2022-24832
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering.
- Exploit odds
- 1.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.7% in the next 30 days (EPSS).
- Severity: 8.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.7% · EPSS, next 30 days
- Weakness
- CWE-74
- Record status
- Modified
Affected
- Thoughtworks Gocd < 22.1.0
Attack profile CVSS 3.1 · 8.2
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-24832.md and follow it. Check whether this project is affected by CVE-2022-24832. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144
- https://github.com/gocd/gocd/pull/10244
- https://github.com/gocd/gocd/releases/tag/22.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h
- https://www.gocd.org/releases/#22-1-0
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144
References
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication
- https://github.com/gocd/gocd-ldap-authentication-plugin
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144
- https://github.com/gocd/gocd/pull/10244
- https://github.com/gocd/gocd/releases/tag/22.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h
- https://www.gocd.org/releases/#22-1-0
- https://docs.gocd.org/22.1.0/configuration/dev_authentication.html#ldapad-authentication
- https://github.com/gocd/gocd-ldap-authentication-plugin
- https://github.com/gocd/gocd-ldap-authentication-plugin/commit/87fa7dac5d899b3960ab48e151881da4793cfcc3
- https://github.com/gocd/gocd-ldap-authentication-plugin/releases/tag/v2.2.0-144
- https://github.com/gocd/gocd/pull/10244
- https://github.com/gocd/gocd/releases/tag/22.1.0
- https://github.com/gocd/gocd/security/advisories/GHSA-x5v3-x9qj-mh3h
- https://www.gocd.org/releases/#22-1-0