Loading...
Skip to main content

CVE-2020-2299 — Improper Authentication in...

CRITICAL

Improper Authentication in Jenkins Active Directory Plugin

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. The LDAP-based mode in Active Directory Plugin starting in version 1.44 and prior to versions 2.16.1 and 2.20 shares code between user lookup and user authentication and distinguishes these behaviors through the use if a magic constant used in place of a real password. This allows attackers to log in as any user if the magic constant is used as the password in Active Directory Plugin prior to 2.16.1 and 220. Active Directory Plugin 2.16.1 and 2.20 no longer uses a magic constant to distinguish between user lookup and user authentication.

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.44, 1.45, 1.46, 1.47 (+19 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-2299?
Improper Authentication in Jenkins Active Directory Plugin 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-2299?
CVE-2020-2299 affects org.jenkins-ci.plugins:active-directory. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2020-2299 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-rf92-3vjr-w628

Related CVEs

  • CVE-2020-2300
    CRITICAL

    Improper Authentication (empty password) in Jenkins Active Directory Plugin

  • CVE-2020-2301
    CRITICAL

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

  • CVE-2023-24443
    CRITICAL

    XML Entity Expansion in Jenkins TestComplete support Plugin

  • CVE-2023-24430
    CRITICAL

    XML external entity reference vulnerability on agents in Jenkins Semantic Versioning Plugin

  • CVE-2022-43402
    CRITICAL

    Jenkins Pipeline: Groovy Plugin allows sandbox protection bypass and arbitrary code execution

  • CVE-2026-57296
    HIGH

    Jenkins External Workspace Manager Plugin has a path traversal vulnerability

  • CVE-2026-48920
    HIGH

    Jenkins Email Extension Plugin: Attackers able to control email content may specify `file:` URLs for images to read arbitrary files from Jenkins controller filesystem

  • CVE-2025-47889
    HIGH

    Jenkins WSO2 Oauth Plugin Fails to Properly Authenticate User Credentials

Check if you're affected

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

Scan Your Dependencies