CVE-2022-24832 Bundled ldap-authentication-plugin fails to neutralise LDAP special elements in usernames

High 8.2 Published Updated

An authenticated user can exploit LDAP injection in the bundled plugin to deduce sensitive information about other LDAP entries via brute force.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-24832?

CVE-2022-24832 is a high-severity vulnerability in gocd, published on 11 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-74

Which versions are affected by CVE-2022-24832?

It affects 1 product.

Products include Thoughtworks Gocd.

How do I fix CVE-2022-24832?

No fix has been published for CVE-2022-24832 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-24832 being exploited?

There is no known exploitation of CVE-2022-24832 in the wild and no public exploit code.

Sources

Also known as GHSA-x5v3-x9qj-mh3h.

Is CVE-2022-24832 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free