Path traversal in Jenkins LTS and Jenkins - CVE-2019-10352

 

Path traversal in Jenkins LTS and Jenkins - CVE-2019-10352

Published: July 22, 2019


Vulnerability identifier: #VU19280
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2019-10352
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jenkins
Affected software:
Jenkins LTS
Jenkins

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the "core/src/main/java/hudson/model/FileParameterValue.java." A remote authenticated attacker with Job/Configure permission can define a file parameter with a file name outside the intended directory.

This vulnerability results in an arbitrary file write on the Jenkins master when scheduling a build.


How to mitigate CVE-2019-10352

Install updates from vendor's website.

Sources