VDB
Sign up
MEDIUM5.4

GHSA-9v77-j4xv-34gq

Jenkins EC2 Fleet Plugin has a missing permission check

Quick fix

GHSA-9v77-j4xv-34gq — com.amazon.jenkins.fleet:ec2-fleet: upgrade to the fixed version with the command below.

# pom.xml: bump <version>4.2.3.540.va</version> for com.amazon.jenkins.fleet:ec2-fleet

Details

Jenkins EC2 Fleet Plugin 4.2.3.539.v8fedff2a_81c3 and earlier does not perform permission checks in several HTTP endpoints used to validate cloud configurations.

This allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing AWS credentials stored in Jenkins.

Additionally, these HTTP endpoints do not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

EC2 Fleet Plugin 4.2.3.540.va_6eedb_7b_c112 requires Overall/Administer permission and POST requests to perform these form validation actions.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/com.amazon.jenkins.fleet:ec2-fleet
Introduced in: 0Fixed in: 4.2.3.540.va
Fix# pom.xml: bump <version>4.2.3.540.va</version> for com.amazon.jenkins.fleet:ec2-fleet

References