dropwizard dropwizard-validation CVE-2020-5245 in Dropwizard and Oracle Products
Published on February 24, 2020

Remote Code Execution (RCE) vulnerability in dropwizard-validation

product logo product logo
Dropwizard-Validation before 1.3.19, and 2.0.2 may allow arbitrary code execution on the host system, with the privileges of the Dropwizard service account, by injecting arbitrary Java Expression Language expressions when using the self-validating feature. The issue has been fixed in dropwizard-validation 1.3.19 and 2.0.2.

Github Repository NVD

Vulnerability Analysis

CVE-2020-5245 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2020-5245. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and a small impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
LOW

Weakness Type

What is an Injection Vulnerability?

The software constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Software has certain assumptions about what constitutes data and control respectively. It is the lack of verification of these assumptions for user-controlled input that leads to injection problems. Injection problems encompass a wide variety of issues -- all mitigated in very different ways and usually attempted in order to alter the control flow of the process. For this reason, the most effective way to discuss these weaknesses is to note the distinct features which classify them as injection weaknesses. The most important issue to note is that all injection problems share one thing in common -- i.e., they allow for the injection of control plane data into the user-controlled data plane. This means that the execution of the process may be altered by sending code in through legitimate data channels, using no other mechanism. While buffer overflows, and many other flaws, involve the use of some further issue to gain execution, injection problems need only for the data to be parsed. The most classic instantiations of this category of weakness are SQL injection and format string vulnerabilities.

CVE-2020-5245 has been classified to as an Injection vulnerability or weakness.


Products Associated with CVE-2020-5245

stack.watch emails you whenever new vulnerabilities are published in Dropwizard Validation or Oracle Blockchain Platform. Just hit a watch button to start following.

 
 

Affected Versions

dropwizard-validation:

Vulnerable Packages

The following package name and versions may be associated with CVE-2020-5245

Package Manager Vulnerable Package Versions Fixed In
maven io.dropwizard:dropwizard-validation < 1.3.19 1.3.19
maven io.dropwizard:dropwizard-validation >= 2.0.0, < 2.0.2 2.0.2
maven io.dropwizard:dropwizard-validation < 1.3.21 1.3.21
maven io.dropwizard:dropwizard-validation >= 2.0.0, < 2.0.3 2.0.3

Exploit Probability

EPSS
6.30%
Percentile
90.78%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.