PT-2019-3927 · Apache · Apache Tomcat

Published

2019-04-12

·

Updated

2023-12-08

·

CVE-2019-0232

CVSS v2.0

9.3

High

VectorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Apache Tomcat versions 9.0.0.M1 through 9.0.17 Apache Tomcat versions 8.5.0 through 8.5.39 Apache Tomcat versions 7.0.0 through 7.0.93
Description The issue is related to the CGI Servlet in Apache Tomcat, which is vulnerable to Remote Code Execution when running on Windows with the enableCmdLineArguments option enabled. This is due to a bug in the way the JRE passes command line arguments to Windows. The CGI Servlet is disabled by default, and the enableCmdLineArguments option is also disabled by default in Tomcat 9.0.x. The vulnerability can be exploited by a remote attacker to execute arbitrary code due to insufficient input validation.
Recommendations For Apache Tomcat versions 9.0.0.M1 through 9.0.17, consider disabling the CGI Servlet or the enableCmdLineArguments option as a temporary workaround. For Apache Tomcat versions 8.5.0 through 8.5.39, consider disabling the CGI Servlet or the enableCmdLineArguments option as a temporary workaround. For Apache Tomcat versions 7.0.0 through 7.0.93, consider disabling the CGI Servlet or the enableCmdLineArguments option as a temporary workaround. As a general mitigation measure, restrict access to the CGI Servlet to minimize the risk of exploitation.

Exploit

Fix

RCE

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2019-04405
CVE-2019-0232
GHSA-8VMX-QMCH-MPQG
RHSA-2019:3929

Affected Products

Apache Tomcat