PT-2023-30144 · Cloudbees+1 · Jenkins Cloudbees Cd Plugin+1
Published
2023-10-25
·
Updated
2023-11-01
·
CVE-2023-46655
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins CloudBees CD Plugin versions 1.1.32 and earlier
Description
The issue allows attackers who can configure jobs to publish arbitrary files from the Jenkins controller file system to the previously configured CloudBees CD server. This is due to the plugin following symbolic links to locations outside of the directory from which artifacts are published during the 'CloudBees CD - Publish Artifact' post-build step. The plugin temporarily copies files from an agent workspace to the controller in preparation for publishing them, and in versions 1.1.32 and earlier, it follows symbolic links to locations outside of the temporary directory on the controller when collecting the list of files to publish.
Recommendations
For Jenkins CloudBees CD Plugin versions 1.1.32 and earlier, update to version 1.1.33 or later to ensure that only files located within the expected directory are published. As a temporary workaround, consider restricting access to the 'CloudBees CD - Publish Artifact' post-build step to minimize the risk of exploitation.
Fix
Link Following
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Jenkins
Jenkins Cloudbees Cd Plugin