CVE-2018-1000415 Cross-site Scripting in Jenkins Rebuilder Plugin

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
com.sonyericsson.hudson.plugins.rebuild:rebuild MavenAll versions1.29
com.sonyericsson.hudson.plugins.rebuild:rebuild MavenAll versions1.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.

Is CVE-2018-1000415 in your software?

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

Check your SBOMs for free