GitHub Advisoryadvisory · Maven
GHSA-4jjj-cm7q-v6hr Jenkins Diagnostic page exposed session cookies
MEDIUM
Official page ↗
- Aliases
- CVE-2020-2103
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.main:jenkins-core
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2022-12-20
Affected packages
• Maven org.jenkins-ci.main:jenkins-core: >= 2.205, < 2.219 → fixed in 2.219
• Maven org.jenkins-ci.main:jenkins-core: < 2.204.2 → fixed in 2.204.2
Description
Jenkins shows various technical details about the current user on the `/whoAmI` page. In a previous fix, 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.
Related
Alias · CVE (1)
- CVE-2020-2103 Jenkins 2.218 and earlier, LTS 2.204.1 and earlier exposed session identifiers on a user's detail object in the whoAmI diagnostic page. vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- 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