A path traversal vulnerability in Jenkins 2.185 and earlier, LTS 2.176.1 and earlier in core/src/main/java/hudson/model/FileParameterValue.java allowed attackers with Job/Configure permission to define a file parameter with a file name outside the intended directory, resulting in an arbitrary file write on the Jenkins master when scheduling a build.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://www.tenable.com/security/research/tra-2019-35 | third party advisory exploit |
http://www.openwall.com/lists/oss-security/2019/07/17/2 | third party advisory mailing list |
http://www.securityfocus.com/bid/109299 | third party advisory vdb entry |
https://access.redhat.com/errata/RHSA-2019:2503 | vendor advisory |
https://access.redhat.com/errata/RHSA-2019:2548 | vendor advisory |
https://jenkins.io/security/advisory/2019-07-17/#SECURITY-1424 | vendor advisory |