CVE-2017-1000389 Cross-Site Request Forgery (CSRF) vulnerability in Jenkins global-build-stats plugin

Medium 6.1 Published Updated

Reflected XSS in Jenkins global-build-stats plugin allows attackers to execute scripts in victim browsers via crafted URLs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-1000389?

CVE-2017-1000389 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2017-1000389?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:global-build-stats. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:global-build-stats MavenAll versions1.5
org.jenkins-ci.plugins:global-build-stats MavenAll versions1.5

Products include Jenkins Global-Build-Stats.

How do I fix CVE-2017-1000389?

Upgrade org.jenkins-ci.plugins:global-build-stats to 1.5 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2017-1000389 being exploited?

There is no known exploitation of CVE-2017-1000389 in the wild and no public exploit code.

Sources

Also known as GHSA-gw8g-hh47-q4gw.

Is CVE-2017-1000389 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free