CVE-2018-1000415 Cross-site Scripting in Jenkins Rebuilder Plugin
Users with Job/Configuration permission can inject arbitrary HTML into rebuild forms, potentially leading to script execution in other users' browsers.
- 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-1000415?
CVE-2018-1000415 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 Rebuilder Plugin 1.28 and earlier in RebuildAction/BooleanParameterValue.jelly, RebuildAction/ExtendedChoiceParameterValue.jelly, RebuildAction/FileParameterValue.jelly, RebuildAction/LabelParameterValue.jelly, RebuildAction/ListSubversionTagsParameterValue.jelly, RebuildAction/MavenMetadataParameterValue.jelly, RebuildAction/NodeParameterValue.jelly, RebuildAction/PasswordParameterValue.jelly, RebuildAction/RandomStringParameterValue.jelly, RebuildAction/RunParameterValue.jelly, RebuildAction/StringParameterValue.jelly, RebuildAction/TextParameterValue.jelly, RebuildAction/ValidatingStringParameterValue.jelly that allows users with Job/Configuration permission to insert arbitrary HTML into rebuild forms.
Weakness: CWE-79
Which versions are affected by CVE-2018-1000415?
2 open source packages ship an affected version, including com.sonyericsson.hudson.plugins.rebuild:rebuild. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.sonyericsson.hudson.plugins.rebuild:rebuild Maven | All versions | 1.29 |
com.sonyericsson.hudson.plugins.rebuild:rebuild Maven | All versions | 1.29 |
Products include Rebuild Project Rebuild.
How do I fix CVE-2018-1000415?
Upgrade com.sonyericsson.hudson.plugins.rebuild:rebuild to 1.29 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-1000415 being exploited?
There is no known exploitation of CVE-2018-1000415 in the wild and no public exploit code.
Sources
Also known as GHSA-7m8v-w6f9-q2f9.