Loading...
Skip to main content

CVE-2020-2301 — Authentication cache in...

CRITICAL

Authentication cache in Active Directory Jenkins Plugin allows logging in with any password

Published May 24, 2022Updated February 16, 2024Source: osv

Summary

Jenkins Active Directory Plugin implements two separate modes: Integration with ADSI on Windows, and an OS agnostic LDAP-based mode. Optionally, to reduce lookup time, a cache can be configured to remember user lookups and user authentications. In Active Directory Plugin prior to 2.20 and 2.16.1, when run in Windows/ADSI mode, the provided password was not used when looking up an applicable cache entry. This allows attackers to log in as any user using any password while a successful authentication of that user is still in the cache. As a workaround for this issue, the cache can be disabled. Active Directory Plugin 2.20 and 2.16.1 includes the provided password in cache entry lookup. Additionally, the Java system property `hudson.plugins.active_directory.CacheUtil.noCacheAuth` can be set to `true` to no longer cache user authentications.

Advisory Timeline

  • First published May 24, 2022 (1602 days ago).
  • Last revised February 16, 2024 — 633 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.jenkins-ci.plugins:active-directory to 2.16.1 or later
<!-- Update pom.xml dependency version to 2.16.1 for org.jenkins-ci.plugins:active-directory -->
Maven
Update org.jenkins-ci.plugins:active-directory to 2.20 or later
<!-- Update pom.xml dependency version to 2.20 for org.jenkins-ci.plugins:active-directory -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.jenkins-ci.plugins:active-directory
maven
1.18, 1.19, 1.20, 1.21 (+44 more)2.16.1
org.jenkins-ci.plugins:active-directory
maven
2.17, 2.18, 2.192.20

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-287
    Improper AuthenticationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2020-2301?
Authentication cache in Active Directory Jenkins Plugin allows logging in with any password This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2020-2301?
CVE-2020-2301 affects org.jenkins-ci.plugins:active-directory. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-2301 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-954f-xw44-56r2

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies