cbcvebase.
CVE-2019-10475
published 2019-10-23

CVE-2019-10475: A reflected cross-site scripting vulnerability in Jenkins build-metrics Plugin allows attackers to inject arbitrary HTML and JavaScript into web pages provided…

PriorityP352medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EXPLOIT
EPSS
57.73%
99.0th percentile
A reflected cross-site scripting vulnerability in Jenkins build-metrics Plugin allows attackers to inject arbitrary HTML and JavaScript into web pages provided by this plugin.

Affected

12 ranges
VendorProductVersion rangeFixed in
jenkinsbitbucket_oauth_plugin
jenkinsbuild-metrics<= 1.3
jenkinsdeploy_weblogic_plugin
jenkinsdynatrace_application_monitoring_plugin
jenkinsglobal_post_script_plugin
jenkinsids_in_libvirt_agents_plugin
jenkinsids_to_allow_users_configuring_the_plugin
jenkinslibvirt_agents_plugin
jenkinsmattermost_notification_plugin
jenkinssonar_gerrit_plugin
jenkinszulip_plugin
jenkins_projectjenkins_build-metrics_plugin

Detection & IOCsextracted from sources · hover to see the quote

url/plugin/build-metrics/getBuildStats?label=%22%3E%3Csvg%2Fonload%3Dalert(1337)%3E&range=2&rangeUnits=Weeks&jobFilteringType=ALL&jobFilter=&nodeFilteringType=ALL&nodeFilter=&launcherFilteringType=ALL&launcherFilter=&causeFilteringType=ALL&causeFilter=&Jenkins-Crumb=4412200a345e2a8cad31f07e8a09e18be6b7ee12b1b6b917bc01a334e0f20a96&json=%7B%22label%22%3A+%22Search+Results%22%2C+%22range%22%3A+%222%22%2C+%22rangeUnits%22%3A+%22Weeks%22%2C+%22jobFilteringType%22%3A+%22ALL%22%2C+%22jobNameRegex%22%3A+%22%22%2C+%22jobFilter%22%3A+%22%22%2C+%22nodeFilteringType%22%3A+%22ALL%22%2C+%22nodeNameRegex%22%3A+%22%22%2C+%22nodeFilter%22%3A+%22%22%2C+%22launcherFilteringType%22%3A+%22ALL%22%2C+%22launcherNameRegex%22%3A+%22%22%2C+%22launcherFilter%22%3A+%22%22%2C+%22causeFilteringType%22%3A+%22ALL%22%2C+%22causeNameRegex%22%3A+%22%22%2C+%22causeFilter%22%3A+%22%22%2C+%22Jenkins-Crumb%22%3A+%224412200a345e2a8cad31f07e8a09e18be6b7ee12b1b6b917bc01a334e0f20a96%22%7D&Submit=Search
path/plugin/build-metrics/getBuildStats
otherlabel=%22%3E%3Csvg%2Fonload%3Dalert(1337)%3E
  • The XSS payload is injected via the `label` GET parameter in a request to /plugin/build-metrics/getBuildStats. Monitor HTTP GET requests to this endpoint with unsanitized HTML/JS in the `label` parameter.
  • The exploit uses a fixed Jenkins-Crumb token value in the request. Presence of this specific crumb value in requests to the getBuildStats endpoint is a strong indicator of exploit tooling.
  • ·The fixed Jenkins-Crumb value in the PoC/Nuclei template is a static test artifact and will not be valid against real Jenkins instances (CSRF crumbs are instance-specific). Real attacks will use a dynamically obtained crumb or may bypass CSRF protection entirely.
  • ·The vulnerability affects Jenkins build-metrics plugin version 1.3 and below. The affected endpoint is /plugin/build-metrics/getBuildStats and the vulnerable parameter is `label`.

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.