GHSA-4jjj-cm7q-v6hr
Jenkins Diagnostic page exposed session cookies
Quick fix
GHSA-4jjj-cm7q-v6hr — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.219</version> for org.jenkins-ci.main:jenkins-coreDetails
Jenkins shows various technical details about the current user on the `/whoAmI` page. In [a previous fix](https://www.jenkins.io/security/advisory/2019-09-25/#SECURITY-1505), the `Cookie` header value containing the HTTP session ID was redacted. However, user metadata shown on this page could also include the HTTP session ID in Jenkins 2.218 and earlier, LTS 2.204.1 and earlier.
This allows attackers able to exploit a cross-site scripting vulnerability to obtain the HTTP session ID value from this page.
Jenkins 2.219, LTS 2.204.2 no longer prints out the affected user metadata that might contain the HTTP session ID.
Additionally, we also redact values of further authentication-related HTTP headers in addition to `Cookie` on this page as a hardening.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.205Fixed in: 2.219# pom.xml: bump <version>2.219</version> for org.jenkins-ci.main:jenkins-core0Fixed in: 2.204.2# pom.xml: bump <version>2.204.2</version> for org.jenkins-ci.main:jenkins-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2020-2103[ADVISORY]
- https://github.com/jenkinsci/jenkins/commit/77f36f37f5e3cabd0e4ece16d46d7943454ed15b[WEB]
- https://access.redhat.com/errata/RHBA-2020:0402[WEB]
- https://access.redhat.com/errata/RHBA-2020:0675[WEB]
- https://access.redhat.com/errata/RHSA-2020:0681[WEB]
- https://access.redhat.com/errata/RHSA-2020:0683[WEB]
- https://github.com/jenkinsci/jenkins[PACKAGE]
- https://jenkins.io/security/advisory/2020-01-29/#SECURITY-1695[WEB]
- http://www.openwall.com/lists/oss-security/2020/01/29/1[WEB]