Description
Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to a login command which allowed impersonating any Jenkins user. The `login` command available in the remoting-based CLI stored the encrypted user name of the successfully authenticated user in a cache file used to authenticate further commands. Users with sufficient permission to create secrets in Jenkins, and download their encrypted values (e.g. with Job/Configure permission), were able to impersonate any other Jenkins user on the same instance.
Remediation
References
http://www.securityfocus.com/bid/98065
https://jenkins.io/security/advisory/2017-04-26/
Related Vulnerabilities
CVE-2019-1003073 Vulnerability in maven package org.jenkins-ci.plugins:vsts-cd
CVE-2021-23400 Vulnerability in npm package nodemailer
CVE-2023-47324 Vulnerability in maven package org.silverpeas.core:silverpeas-core-war
CVE-2022-25645 Vulnerability in maven package org.webjars.npm:dset
CVE-2019-8331 Vulnerability in maven package org.webjars:bootstrap