Missing permission check in Jenkins Project Inheritance Plugin
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Oct 26, 2023
Package
Affected versions
<= 21.04.03
Patched versions
None
Description
Published by the National Vulnerability Database
Jun 3, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Dec 21, 2022
Last updated
Oct 26, 2023
Jenkins limits access to job configuration XML data (
config.xml
) to users with Job/ExtendedRead permission, typically implied by Job/Configure permission. Project Inheritance Plugin has several job inspection features, including the API URL/job/…/getConfigAsXML
for its Inheritance Project job type that does something similar.Project Inheritance Plugin 21.04.03 and earlier does not check permissions for this new endpoint, granting access to job configuration XML data to every user with Job/Read permission.
Additionally, the encrypted values of secrets stored in the job configuration are not redacted, as they would be by the
config.xml
API for users without Job/Configure permission.References