CVE-2022-30956 Cross-site Scripting in Jenkins Rundeck Plugin
Attackers can inject malicious scripts via crafted Rundeck webhook payloads, potentially compromising user sessions or executing code in Jenkins.
- 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-2022-30956?
CVE-2022-30956 is a medium-severity cross-site scripting vulnerability in Jenkins Rundeck Plugin, published on 17 May 2022. 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 Rundeck Plugin 3.6.10 and earlier does not restrict URL schemes in Rundeck webhook submissions, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to submit crafted Rundeck webhook payloads.
Weakness: CWE-79
Which versions are affected by CVE-2022-30956?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:rundeck. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:rundeck Maven | All versions | 3.6.11 |
org.jenkins-ci.plugins:rundeck Maven | All versions | 3.6.11 |
Products include Jenkins Rundeck.
How do I fix CVE-2022-30956?
Upgrade org.jenkins-ci.plugins:rundeck to 3.6.11 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-2022-30956 being exploited?
There is no known exploitation of CVE-2022-30956 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Rundeck Plugin
- CVE-2022-41234 Missing webhook endpoint authorization in Jenkins Rundeck Plugin
- CVE-2020-2144 XXE vulnerability in Rundeck Plugin
- CVE-2019-16556 Jenkins Rundeck Plugin stored credentials in plain text
- CVE-2022-41233 Jenkins Rundeck Plugin Missing Authorization vulnerability
- CVE-2019-10454 Jenkins Rundeck Plugin CSRF vulnerability
Sources
Also known as GHSA-4m42-8qfq-h3q9.