CVE-2018-1000413 Stored XSS vulnerability in Config File Provider Plugin
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.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:config-file-provider Maven | All versions | 3.2 |
org.jenkins-ci.plugins:config-file-provider Maven | All versions | 3.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.
Other vulnerabilities in n/a
- CVE-2021-21642 XML External Entity Reference vulnerability in Jenkins Config File Provider Plugin
- CVE-2018-1000414 CSRF vulnerability in Config File Provider Plugin
- CVE-2023-40339 Jenkins Config File Provider Plugin improper credential masking vulnerability
- CVE-2021-21643 Incorrect permission checks in Jenkins Config File Provider Plugin allow enumerating credentials IDs
- CVE-2017-1000104 Improper Privilege Management in Jenkins Config File Provider Plugin
Sources
Also known as GHSA-vwfm-42q6-qj75.