#VU18236 OS Command Injection in Apache Tomcat - CVE-2019-0232
Published: April 11, 2019 / Updated: March 7, 2025
Apache Tomcat
Apache Foundation
Description
The vulnerability allows a remote attacker to execute arbitrary commands on the target system.
The vulnerability exists due to an input validation error within the CGI Servlet when passing arguments from JRE to the Windows environment. A remote attacker can send a specially crafted request to the CGI Servlet, inject and execute arbitrary OS commands on the system with Apache Tomcat privileges.
Successful exploitation of the vulnerability requires that Apache Tomcat is installed on Windows operating system with enabled option “enableCmdLineArguments” (CGI Servlet and “enableCmdLineArguments” option are disabled by default).