Cross-Site Request Forgery (CSRF) vulnerability in Jenkins global-build-stats plugin
Date: 2022-05
Affected: maven/org.jenkins-ci.plugins:global-build-stats
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2017-1000386
CVE-2017-1000388
CVE-2017-1000389
CWE: CWE-79
CWE-862
CVSS: 6.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

Some URLs provided by Jenkins global-build-stats plugin version 1.4 and earlier returned a JSON response that contained request parameters. These responses had the Content Type: text/html, so could have been interpreted as HTML by clients, resulting in a potential reflected cross-site scripting vulnerability. Additionally, some URLs provided by global-build-stats plugin that modify data did not require POST requests to be sent, resulting in a potential cross-site request forgery vulnerability.


Mitigations:

Architectural layers (MAESTRO):