CVE-2018-1000413 Stored XSS vulnerability in Config File Provider Plugin

Medium 5.4 Published Updated

Users with configuration privileges can inject arbitrary HTML into Jenkins pages via the Config File Provider Plugin, potentially leading to session hijacking or malicious script execution.

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

What is CVE-2018-1000413?

CVE-2018-1000413 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jan 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A cross-site scripting vulnerability exists in Jenkins Config File Provider Plugin 3.1 and earlier in configfiles.jelly, providerlist.jelly that allows users with the ability to configure configuration files to insert arbitrary HTML into some pages in Jenkins.

Weakness: CWE-79

Which versions are affected by CVE-2018-1000413?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:config-file-provider. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:config-file-provider MavenAll versions3.2
org.jenkins-ci.plugins:config-file-provider MavenAll versions3.2

Products include Jenkins Config File Provider.

How do I fix CVE-2018-1000413?

Upgrade org.jenkins-ci.plugins:config-file-provider to 3.2 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-2018-1000413 being exploited?

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

Sources

Also known as GHSA-vwfm-42q6-qj75.

Is CVE-2018-1000413 in your software?

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

Check your SBOMs for free