CVE-2022-30959 Missing Authorization in Jenkins SSH plugin
Attackers with read access can connect to malicious SSH servers to capture Jenkins credentials due to missing permission checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-30959?
CVE-2022-30959 is a medium-severity missing authorization vulnerability in Jenkins SSH Plugin, published on 17 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A missing permission check in Jenkins SSH Plugin 2.6.1 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified SSH server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.
Weakness: CWE-862
Which versions are affected by CVE-2022-30959?
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-30959?
No fix has been published for CVE-2022-30959 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-30959 being exploited?
There is no known exploitation of CVE-2022-30959 in the wild and no public exploit code.
Other vulnerabilities in Jenkins SSH Plugin
Sources
Also known as GHSA-7h2j-h5xp-h3gh.