CVE-2020-2205 Stored XSS vulnerability in Jenkins VncRecorder Plugin
Stored XSS in Jenkins VncRecorder Plugin allows administrators to inject scripts via tool path, potentially leading to code execution or account takeover.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-2205?
CVE-2020-2205 is a medium-severity cross-site scripting vulnerability in Jenkins VncRecorder Plugin, published on 2 Jul 2020. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Jenkins VncRecorder Plugin 1.25 and earlier does not escape a tool path in the `checkVncServ` form validation endpoint, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by Jenkins administrators.
Weakness: CWE-79
Which versions are affected by CVE-2020-2205?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:vncrecorder. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:vncrecorder Maven | All versions | 1.35 |
org.jenkins-ci.plugins:vncrecorder Maven | All versions | 1.35 |
Products include Jenkins Vncrecorder.
How do I fix CVE-2020-2205?
Upgrade org.jenkins-ci.plugins:vncrecorder to 1.35 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-2205 being exploited?
There is no known exploitation of CVE-2020-2205 in the wild and no public exploit code.
Other vulnerabilities in Jenkins VncRecorder Plugin
Sources
Also known as GHSA-vqp8-h53h-3jfh.