CVE-2022-27211 CSRF vulnerability and missing permission checks in Jenkins kubernetes-cd Plugin allow capturing credentials
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-27211?
CVE-2022-27211 is a medium-severity missing authorization vulnerability in Jenkins Kubernetes Continuous Deploy Plugin, published on 15 Mar 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 Kubernetes Continuous Deploy Plugin 2.3.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-27211?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:kubernetes-cd. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:kubernetes-cd Maven | All versions to 2.3.1 | None |
org.jenkins-ci.plugins:kubernetes-cd Maven | All versions to 2.3.1 | None |
Products include Jenkins Kubernetes Continuous Deploy.
How do I fix CVE-2022-27211?
No fix has been published for CVE-2022-27211 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-27211 being exploited?
There is no known exploitation of CVE-2022-27211 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Kubernetes Continuous Deploy Plugin
Sources
Also known as GHSA-794j-hx96-4w3m.