Affected versions
- Affected versions
- >= 2.292, <= 2.299
- Fixed version
- 2.300
- Affected versions
- <= 2.289.1
- Fixed version
- 2.289.2
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login. This allows attackers to use social engineering techniques to gain administrator access to Jenkins.
This vulnerability was introduced in Jenkins 2.266 and LTS 2.277.1.
Jenkins 2.300, LTS 2.289.2 invalidates the previous session on login.
In case of problems, administrators can choose a different implementation by setting the Java system property hudson.security.SecurityRealm.sessionFixationProtectionMode to 2, or disable the fix entirely by setting that system property to 0.
Links
- http://www.openwall.com/lists/oss-security/2021/06/30/1
- https://github.com/advisories/GHSA-4wr9-2xc6-jmg5
- https://github.com/jenkinsci/jenkins/commit/25a42f3942fd9f8bd768c887c679dbc796b4fcd5
- https://nvd.nist.gov/vuln/detail/CVE-2021-21671
- https://www.jenkins.io/security/advisory/2021-06-30/#SECURITY-2371
Credits
- NotMyFault

