CVE-2020-2170 Stored XSS vulnerability in Jenkins RapidDeploy Plugin
Stored XSS in Jenkins RapidDeploy Plugin allows attackers to execute arbitrary scripts via unescaped package names from a remote server.
- 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-2020-2170?
CVE-2020-2170 is a medium-severity cross-site scripting vulnerability in Jenkins RapidDeploy Plugin, published on 25 Mar 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Jenkins RapidDeploy Plugin 4.2 and earlier does not escape package names in the table of packages obtained from a remote server, resulting in a stored XSS vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2020-2170?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:rapiddeploy-jenkins. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:rapiddeploy-jenkins Maven | All versions | 4.2.1 |
org.jenkins-ci.plugins:rapiddeploy-jenkins Maven | All versions | 4.2.1 |
Products include Jenkins Rapiddeploy.
How do I fix CVE-2020-2170?
Upgrade org.jenkins-ci.plugins:rapiddeploy-jenkins to 4.2.1 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-2020-2170 being exploited?
There is no known exploitation of CVE-2020-2170 in the wild and no public exploit code.
Other vulnerabilities in Jenkins RapidDeploy Plugin
Sources
Also known as GHSA-f4gq-7hvf-fjm3.