Jenkins Sidebar Link Plugin vulnerable to Path Traversal
Moderate severity
GitHub Reviewed
Published
May 16, 2023
to the GitHub Advisory Database
•
Updated Jan 5, 2024
Package
Affected versions
< 2.2.2
Patched versions
2.2.2
Description
Published by the National Vulnerability Database
May 16, 2023
Published to the GitHub Advisory Database
May 16, 2023
Reviewed
May 17, 2023
Last updated
Jan 5, 2024
Jenkins Sidebar Link Plugin allows specifying files in the
userContent/
directory for use as link icons.Sidebar Link Plugin 2.2.1 and earlier does not restrict the path of files in a method implementing form validation.
This allows attackers with Overall/Read permission to check for the existence of an attacker-specified file path on the Jenkins controller file system.
Sidebar Link Plugin 2.2.2 ensures that only files located within the expected
userContent/
directory can be accessed.References