~ / search / GHSA-hj32-9mcw-5cwh

GHSA-hj32-9mcw-5cwh

Missing permission check in Jenkins Project Inheritance Plugin

Source: GitHub Advisory Database (reviewed) Moderate CVE-2020-2197

Packages

EcosystemPackageAffectedFixed in
Maven hudson.plugins:project-inheritance <= 21.04.03 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.