https://bugzilla.redhat.com/show_bug.cgi?id=1545904
Bug ID: 1545904 Summary: CVE-2018-6356 jenkins: Path traversal allows access to files outside plugin resources Product: Security Response Component: vulnerability Keywords: Security Severity: medium Priority: medium Assignee: security-response-team@redhat.com Reporter: lpardo@redhat.com CC: bleanhar@redhat.com, ccoleman@redhat.com, dedgar@redhat.com, dmcphers@redhat.com, java-sig-commits@lists.fedoraproject.org, jgoulding@redhat.com, jkeck@redhat.com, kseifried@redhat.com, mizdebsk@redhat.com, msrb@redhat.com
A flaw was found in Jenkins weekly up to and including 2.106 and Jenkins LTS up to and including 2.89.3. Jenkins did not properly prevent specifying relative paths that escape a base directory for URLs accessing plugin resource files. This allowed users with Overall/Read permission to download files from the Jenkins master they should not have access to.
On Windows, any file accessible to the Jenkins master process could be downloaded. On other operating systems, any file within the Jenkins home directory accessible to the Jenkins master process could be downloaded.
References: https://jenkins.io/security/advisory/2018-02-14/