Back to CVE catalog

AI summary

The CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 on Windows, with enableCmdLineArguments enabled, allows remote code execution because the JRE passes command line arguments to Windows incorrectly. The CGI Servlet is disabled by default. The fix is that enableCmdLineArguments will be disabled by default in all Tomcat versions.

Generated automatically from the source description. Check the sources below before acting.

CVE-2019-0232

Remote Code Execution in Apache Tomcat CGI Servlet on Windows

Apache Tomcat

At a glance

When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 is vulnerable to Remote Code Execution due to a bug in the way the JRE passes command line arguments to Windows. The CGI Servlet is disabled by default. The CGI option enableCmdLineArguments is disable by default in Tomcat 9.0.x (and will be disabled by default in all versions in response to this vulnerability). For a detailed explanation of the JRE behaviour, see Markus Wulftange's blog (https://codewhitesec.blogspot.com/2016/02/java-and-command-line-injections-in-windows.html) and this archived MSDN blog (https://web.archive.org/web/20161228144344/https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/).

Source description · CVE List / CNA

System impact

Attack complexityHigh
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS summary v3.0

8.1High
Published:
Updated:
EPSS:
99.923%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ApacheTomcatAffected versions:
9.0.0.M1 to 9.0.17Show full version range for Tomcat
8.5.0 to 8.5.397.0.0 to 7.0.93
Vendor:Red HatRed Hat JBoss Enterprise Web Server 2Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Web Server 3.1Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Web Server 5.2 for RHEL 6 ServerAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Web Server 5.2 for RHEL 7 ServerAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Web Server 5.2 for RHEL 8Affected versions:Source does not specify a version range

1–6 of 6 · Page 1 of 1

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary8.1 / 10HighCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVE-2019-0232 · OSV (source-vector)8.1 / 10HighCVSS 3.0Details
Attack complexity
High
Confidentiality
High
Integrity
High
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat · Red Hat VEX (adp)5.9 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
None
Integrity
None
Availability
High
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
[email protected] · NVD (Primary)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories38

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences