Path traversal in Jenkins build-publisher Plugin
Moderate severity
GitHub Reviewed
Published
Sep 22, 2022
to the GitHub Advisory Database
•
Updated Jan 31, 2023
Package
Affected versions
<= 1.22
Patched versions
None
Description
Published by the National Vulnerability Database
Sep 21, 2022
Published to the GitHub Advisory Database
Sep 22, 2022
Reviewed
Dec 6, 2022
Last updated
Jan 31, 2023
Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any
config.xml
file on the Jenkins controller file system by providing a crafted file name to an API endpoint. Additionally, this endpoint does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability that allows attackers to replace anyconfig.xml
file on the Jenkins controller file system with an empty file.There is currently no known workaround or fix, and this plugin has been suspended.
References