GHSA-rf92-3vjr-w628

Suggest an improvement
Source
https://github.com/advisories/GHSA-rf92-3vjr-w628
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-rf92-3vjr-w628/GHSA-rf92-3vjr-w628.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rf92-3vjr-w628
Aliases
Published
2022-05-24T17:33:07Z
Modified
2024-02-16T08:19:18.715348Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper Authentication in Jenkins Active Directory Plugin
Details

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.

Database specific
{
    "nvd_published_at": "2020-11-04T15:15:00Z",
    "cwe_ids": [
        "CWE-287"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-07T23:54:16Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:active-directory

Package

Name
org.jenkins-ci.plugins:active-directory
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/active-directory

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.17
Fixed
2.20

Affected versions

2.*

2.17
2.18
2.19

Maven / org.jenkins-ci.plugins:active-directory

Package

Name
org.jenkins-ci.plugins:active-directory
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/active-directory

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.44
Fixed
2.16.1

Affected versions

1.*

1.44
1.45
1.46
1.47
1.48
1.49

2.*

2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
2.11
2.12
2.13
2.14
2.15
2.16