PT-2020-6653 · Unknown · Dropwizard-Validation
Pwntester
·
Published
2020-02-24
·
Updated
2025-06-03
·
CVE-2020-5245
CVSS v2.0
9.0
High
| Vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Dropwizard-Validation versions prior to 1.3.19
Dropwizard-Validation versions prior to 2.0.2
Description
The issue allows 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. This is a server-side template injection vulnerability in the self-validating feature of dropwizard-validation, enabling attackers to inject arbitrary Java EL expressions, leading to Remote Code Execution (RCE).
Recommendations
For Dropwizard-Validation versions prior to 1.3.19, upgrade to Dropwizard 1.3.19.
For Dropwizard-Validation versions prior to 2.0.2, upgrade to Dropwizard 2.0.2.
As a temporary workaround, consider properly sanitizing any message added to the
ViolationCollector in the method annotated with @SelfValidation to prevent exploitation.Exploit
Fix
Special Elements Injection
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Dropwizard-Validation