PT-2020-15531 · Jenkins · Jenkins Active Directory Plugin+1
Lee Jones
+2
·
Published
2020-11-04
·
Updated
2023-10-25
·
CVE-2020-2301
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Jenkins Active Directory Plugin versions 2.19 and earlier
Jenkins Active Directory Plugin versions prior to 2.20 and 2.16.1
Description
The issue allows attackers to log in as any user with any password while a successful authentication of that user is still in the optional cache when using Windows/ADSI mode. The plugin implements two separate modes: Integration with ADSI on Windows, and an OS agnostic LDAP-based mode. A cache can be configured to remember user lookups and user authentications, which is the source of the problem. In Windows/ADSI mode, the provided password was not used when looking up an applicable cache entry.
Recommendations
For Jenkins Active Directory Plugin versions 2.19 and earlier, update to version 2.20 or 2.16.1 to resolve the issue.
For Jenkins Active Directory Plugin versions prior to 2.20 and 2.16.1, update to version 2.20 or 2.16.1 to resolve the issue.
As a temporary workaround, consider disabling the cache to prevent exploitation.
Alternatively, set the Java system property
hudson.plugins.active directory.CacheUtil.noCacheAuth to true to no longer cache user authentications.Exploit
Fix
Improper Authentication
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Active Directory Plugin