ADVISORIES

GitHub Advisory Database

GHSA-gx55-p8g7-p3fh

Jenkins Active Directory Plugin has an LDAP injection vulnerability

Details

In Jenkins Active Directory Plugin 2.41.1 and earlier, the Windows native (ADSI) authentication path does not escape the user name before building the LDAP search filter.

This allows unauthenticated attackers to inject LDAP wildcard characters into the user name, enabling them to enumerate directory user and group names, and to authenticate as a matching user when they know that user’s password but not their exact user name.

Active Directory Plugin 2.41.2 escapes the user name in the Windows native (ADSI) authentication path before building the LDAP search filter.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:active-directory
All versions before 2.41.2 (fixed in 2.41.2)

References