Skip to main content
← All vulnerabilities
CVE-2018-6356GHSA-5P59-V5WM-77V4

Jenkins before 2.107 and Jenkins LTS before 2.89.4 did not properly prevent specifying relative paths that escape a base directory for URLs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.89.4, 2.107
None on Exploit-DB, Metasploit or GitHub

Summary

Jenkins before 2.107 and Jenkins LTS before 2.89.4 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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • org.jenkins-ci.main:jenkins-coreMaven

    fixed in 2.89.4

  • org.jenkins-ci.main:jenkins-coreMaven

    From 2.90 · fixed in 2.107

References 4

openwall.com

securityfocus.com

oracle.com

jenkins.io