NetSight
medium4.3

CVE-2020-2197

Missing permission check in Jenkins Project Inheritance Plugin

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenhudson.plugins:project-inheritance<= 21.04.03none recorded

Affected products

VendorProductAffected versions
JenkinsProject Inheritance
through 19.08.02

Weakness classification

References