{"id":"GHSA-954f-xw44-56r2","summary":"Authentication cache in Active Directory Jenkins Plugin allows logging in with any password","details":"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.\n\nIn 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.\n\nAs a workaround for this issue, the cache can be disabled.\n\nActive Directory Plugin 2.20 and 2.16.1 includes the provided password in cache entry lookup.\n\nAdditionally, the Java system property `hudson.plugins.active_directory.CacheUtil.noCacheAuth` can be set to `true` to no longer cache user authentications.","aliases":["CVE-2020-2301"],"modified":"2024-02-16T08:24:53.979545Z","published":"2022-05-24T17:33:07Z","database_specific":{"cwe_ids":["CWE-287"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-09-08T19:20:40Z","nvd_published_at":"2020-11-04T15:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-2301"},{"type":"WEB","url":"https://github.com/jenkinsci/active-directory-plugin/commit/57e78ea7bb96b4e59405f28959ade2d26821163d"},{"type":"WEB","url":"https://github.com/CVEProject/cvelist/blob/381fe967666a5ce01625a7a050427aa4757e3ca6/2020/2xxx/CVE-2020-2301.json"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/active-directory-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2020-11-04/#SECURITY-2123"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:active-directory","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/active-directory"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.17"},{"fixed":"2.20"}]}],"versions":["2.17","2.18","2.19"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-954f-xw44-56r2/GHSA-954f-xw44-56r2.json"}},{"package":{"name":"org.jenkins-ci.plugins:active-directory","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/active-directory"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.16.1"}]}],"versions":["1.18","1.19","1.20","1.21","1.22","1.23","1.24","1.25","1.26","1.27","1.28","1.29","1.30","1.31","1.32","1.33","1.34","1.35","1.36","1.37","1.38","1.39","1.41","1.42","1.43","1.44","1.45","1.46","1.47","1.48","1.49","2.0","2.1","2.10","2.11","2.12","2.13","2.14","2.15","2.16","2.2","2.3","2.4","2.5","2.6","2.7","2.8","2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-954f-xw44-56r2/GHSA-954f-xw44-56r2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}