GHSA-9hvf-pfq3-7pp6

Suggest an improvement
Source
https://github.com/advisories/GHSA-9hvf-pfq3-7pp6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-9hvf-pfq3-7pp6/GHSA-9hvf-pfq3-7pp6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9hvf-pfq3-7pp6
Aliases
  • CVE-2020-2090
Published
2022-05-24T17:06:22Z
Modified
2024-02-16T07:45:43.048683Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
CSRF vulnerability in Jenkins Amazon EC2 Plugin
Details

Amazon EC2 Plugin 1.47 and earlier does not perform permission checks in methods performing form validation. This allows users with Overall/Read access to Jenkins to connect to an attacker-specified URL within the AWS region using attacker-specified credentials IDs obtained through another method.

This vulnerability might also allow attackers to capture credentials stored in Jenkins. We have not been able to confirm that this is possible.

Additionally, these form validation methods do not require POST requests, resulting in a CSRF vulnerability.

Amazon EC2 Plugin 1.48 requires POST requests and Overall/Administer permission for the affected form validation methods.

Database specific
{
    "nvd_published_at": "2020-01-15T16:15:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-21T16:37:12Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:ec2

Package

Name
org.jenkins-ci.plugins:ec2
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/ec2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.48

Affected versions

1.*

1.11
1.12
1.13
1.14
1.15
1.16
1.17
1.18
1.19
1.20
1.21
1.22
1.23
1.24
1.25
1.26
1.27
1.28
1.29
1.30
1.31
1.32
1.33
1.34
1.35
1.36
1.37
1.38
1.39
1.40
1.40.1
1.41
1.41.1
1.42
1.42.1
1.42.2
1.43
1.44
1.44.1
1.45
1.46
1.46.1
1.46.2
1.46.3
1.46.4
1.47