CVE-2022-27199 Missing permission checks in AWS Credentials Plugin
Attackers with read access can connect to AWS services using arbitrary tokens due to missing permission checks in the Jenkins AWS Credentials Plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-27199?
CVE-2022-27199 is a medium-severity missing authorization vulnerability in Jenkins CloudBees AWS Credentials 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 CloudBees AWS Credentials Plugin 189.v3551d5642995 and earlier allows attackers with Overall/Read permission to connect to an AWS service using an attacker-specified token.
Weakness: CWE-862
Which versions are affected by CVE-2022-27199?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:aws-credentials. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:aws-credentials Maven | All versions | 191.vcb_f183ce58b_9 |
org.jenkins-ci.plugins:aws-credentials Maven | All versions | 191.vcb_f183ce58b_9 |
Products include Jenkins Cloudbees Aws Credentials.
How do I fix CVE-2022-27199?
Upgrade org.jenkins-ci.plugins:aws-credentials to 191.vcb_f183ce58b_9 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-27199 being exploited?
There is no known exploitation of CVE-2022-27199 in the wild and no public exploit code.
Other vulnerabilities in Jenkins CloudBees AWS Credentials Plugin
Sources
Also known as GHSA-m9gv-4523-jffm.