Access key stored in plain text by Jenkins Metrics Plugin
Moderate severity
GitHub Reviewed
Published
Jan 13, 2022
to the GitHub Advisory Database
•
Updated Oct 27, 2023
Package
Affected versions
= 4.0.2.8
< 4.0.2.7.1
Patched versions
4.0.2.8.1
4.0.2.7.1
Description
Published by the National Vulnerability Database
Jan 12, 2022
Published to the GitHub Advisory Database
Jan 13, 2022
Reviewed
May 4, 2022
Last updated
Oct 27, 2023
Jenkins Metrics Plugin 4.0.2.8 and earlier stores an access key unencrypted in its global configuration file
jenkins.metrics.api.MetricsAccessKey.xml
on the Jenkins controller as part of its configuration.This access key can be viewed by users with access to the Jenkins controller file system.
Jenkins Metrics Plugin 4.0.2.8.1 stores access key encrypted once its configuration is saved again.
Additionally, the token value is only displayed once when it is generated.
References