CVE-2020-2091 Missing permission checks in Jenkins Amazon EC2 Plugin
Attackers with read permissions can connect to arbitrary AWS URLs using stolen credentials due to missing permission checks in the Jenkins EC2 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-2020-2091?
CVE-2020-2091 is a high-severity missing authorization vulnerability in Jenkins Amazon EC2 Plugin, published on 15 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A missing permission check in Jenkins Amazon EC2 Plugin 1.47 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified URL within the AWS region using attacker-specified credentials IDs obtained through another method.
Weakness: CWE-862
Which versions are affected by CVE-2020-2091?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:ec2. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:ec2 Maven | All versions | 1.48 |
org.jenkins-ci.plugins:ec2 Maven | All versions | 1.48 |
Products include Jenkins Amazon Ec2.
How do I fix CVE-2020-2091?
Upgrade org.jenkins-ci.plugins:ec2 to 1.48 or later.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2020-2091 being exploited?
There is no known exploitation of CVE-2020-2091 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Amazon EC2 Plugin
- CVE-2020-2090 CSRF vulnerability in Jenkins Amazon EC2 Plugin
- CVE-2020-2185 Missing SSH host key validation in Jenkins Amazon EC2 Plugin
- CVE-2020-2187 Lack of SSL/TLS certificate and hostname validation in Amazon EC2 Plugin
- CVE-2020-2186 CSRF vulnerability in Amazon EC2 Plugin
- CVE-2020-2188 Users with Overall/Read access can enumerate credentials IDs in Amazon EC2 Plugin
Sources
Also known as GHSA-6hmm-77r2-h6hr.