#VU18236 OS Command Injection in Apache Tomcat - CVE-2019-0232

 

#VU18236 OS Command Injection in Apache Tomcat - CVE-2019-0232

Published: April 11, 2019 / Updated: March 7, 2025


Vulnerability identifier: #VU18236
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2019-0232
CWE-ID: CWE-78
Exploitation vector: Adjecent network
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
Apache Tomcat
Software vendor:
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).


Remediation

Install update from vendor's website.

External links