CVE-2022-30958 Cross Site Request Forgery in Jenkins SSH Plugin
Attackers can exploit CSRF to force Jenkins to connect to malicious SSH servers, potentially capturing stored credentials.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-30958?
CVE-2022-30958 is a high-severity vulnerability in Jenkins SSH Plugin, published on 17 May 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A cross-site request forgery (CSRF) vulnerability in Jenkins SSH Plugin 2.6.1 and earlier allows attackers to connect to an attacker-specified SSH server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.
Weakness: CWE-352
Which versions are affected by CVE-2022-30958?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:ssh. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:ssh Maven | All versions to 2.6.1 | None |
org.jenkins-ci.plugins:ssh Maven | All versions to 2.6.1 | None |
Products include Jenkins Ssh.
How do I fix CVE-2022-30958?
No fix has been published for CVE-2022-30958 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-30958 being exploited?
There is no known exploitation of CVE-2022-30958 in the wild and no public exploit code.
Other vulnerabilities in Jenkins SSH Plugin
Sources
Also known as GHSA-9g33-48jh-jq7v.