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.
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
CVSS summary v3.0
- 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 | Affected versions |
|---|---|---|
| Vendor:Apache | Tomcat | Affected versions:9.0.0.M1 to 9.0.17Show full version range for Tomcat8.5.0 to 8.5.397.0.0 to 7.0.93 |
| Vendor:Red Hat | Red Hat JBoss Enterprise Web Server 2 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Web Server 3.1 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Web Server 5.2 for RHEL 6 Server | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Web Server 5.2 for RHEL 7 Server | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat JBoss Web Server 5.2 for RHEL 8 | Affected 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:HCVE-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:HRed 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:CCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories38
- CVE List / CNA
- NVD
- OSV
- ENISA EUVD
- Red Hat VEX
- FIRST EPSS
- oracle.com
- oracle.com
- oracle.com
- oracle.com
- securityfocus.com
- oracle.com
- synology.com
- security.netapp.com
- broadcom.com
- blog.trendmicro.com
- wwws.nightwatchcybersecurity.com
- packetstormsecurity.com
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- codewhitesec.blogspot.com
- web.archive.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- seclists.org
- access.redhat.com
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