PT-2021-14714 · Jenkins · Jenkins
Published
2021-06-30
·
Updated
2024-03-06
·
CVE-2021-21671
CVSS v3.1
7.5
High
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Jenkins versions 2.299 and earlier
Jenkins LTS versions 2.289.1 and earlier
Description
The issue arises because Jenkins does not invalidate the previous session on login, allowing attackers to potentially use social engineering techniques to gain administrator access. This vulnerability was introduced in Jenkins 2.266 and LTS 2.277.1.
Recommendations
For Jenkins versions 2.299 and earlier, update to version 2.300 or later to invalidate the previous session on login.
For Jenkins LTS versions 2.289.1 and earlier, update to version 2.289.2 or later to invalidate the previous session on login.
As a temporary workaround, consider setting the Java system property
hudson.security.SecurityRealm.sessionFixationProtectionMode to 2 to choose a different implementation, or set it to 0 to disable the fix entirely, but this is not recommended as it may introduce security risks.Fix
Session Fixation
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins