GitHub Advisoryadvisory · Maven

GHSA-rmp9-mc8w-mqf3 Users with Overall/Read access can enumerate credentials IDs in Amazon EC2 Plugin

MEDIUM Published 2022-05-24 Modified 2022-12-16 Official page ↗
Aliases
CVE-2020-2188
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:ec2
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-285, CWE-863
Reviewed
2022-12-16

Affected packages

• Maven org.jenkins-ci.plugins:ec2: < 1.50.2 → fixed in 1.50.2

Description

Amazon EC2 Plugin provides a list of applicable credentials IDs to allow users configuring the plugin to select the one to use. This functionality does not correctly check permissions in Amazon EC2 Plugin 1.50.1 and earlier, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those can be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in Amazon EC2 Plugin 1.50.2 now requires Overall/Administer permission.

Related

Alias · CVE (1)

  • CVE-2020-2188 A missing permission check in Jenkins Amazon EC2 Plugin 1.50.1 and earlier in form-related methods allowed users with Overall/Read access… vulnerability

Weakness · CWE (2)

  • CWE-285 Improper Authorization weakness
  • CWE-863 Incorrect Authorization weakness

References