Cross-Site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:ec2 package, versions [,1.48)


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.07% (31st percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGJENKINSCIPLUGINS-542718
  • published 20 Jan 2020
  • disclosed 15 Jan 2020
  • credit Oleg Nenashev, CloudBees, Inc.

How to fix?

Upgrade org.jenkins-ci.plugins:ec2 to version 1.48 or higher.

Overview

org.jenkins-ci.plugins:ec2 is a plugin for controlling agents on EC2 or Eucalyptus.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF). It 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. Additionally, these form validation methods do not require POST requests, resulting in a CSRF vulnerability.

NOTE: This vulnerability has also been identified as: CVE-2020-2091