CVE-2022-23110 Stored XSS vulnerability in Jenkins Publish Over SSH Plugin
Stored XSS in Jenkins Publish Over SSH Plugin allows attackers with admin permissions to execute scripts, potentially leading to 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-2022-23110?
CVE-2022-23110 is a medium-severity cross-site scripting vulnerability in Jenkins Publish Over SSH Plugin, published on 12 Jan 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
Jenkins Publish Over SSH Plugin 1.22 and earlier does not escape the SSH server name, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Overall/Administer permission.
Weakness: CWE-79
Which versions are affected by CVE-2022-23110?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:publish-over-ssh. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:publish-over-ssh Maven | All versions | 1.23 |
org.jenkins-ci.plugins:publish-over-ssh Maven | All versions | 1.23 |
Products include Jenkins Publish Over Ssh.
How do I fix CVE-2022-23110?
Upgrade org.jenkins-ci.plugins:publish-over-ssh to 1.23 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-23110 being exploited?
There is no known exploitation of CVE-2022-23110 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Publish Over SSH Plugin
- CVE-2022-23112 Missing permission check in Jenkins Publish Over SSH Plugin
- CVE-2022-23111 CSRF vulnerability and missing permission checks in Jenkins Publish Over SSH Plugin
- CVE-2022-23113 Path traversal vulnerability in Jenkins Publish Over SSH Plugin
- CVE-2022-23114 Password stored in plain text by Jenkins Publish Over SSH Plugin
Sources
Also known as GHSA-fjpm-hf7c-xgc2.