Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2019.1235 Apache Tomcat Remote Code Execution on Windows 11 April 2019 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Apache Tomcat Publisher: Apache Operating System: Windows Impact/Access: Execute Arbitrary Code/Commands -- Unknown/Unspecified Resolution: Patch/Upgrade CVE Names: CVE-2019-0232 Original Bulletin: http://tomcat.apache.org/security-9.html - --------------------------BEGIN INCLUDED TEXT-------------------- CVE-2019-0232 Apache Tomcat Remote Code Execution on Windows Severity: Important Vendor: The Apache Software Foundation Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.17 Apache Tomcat 8.5.0 to 8.5.39 Apache Tomcat 7.0.0 to 7.0.93 Description: When running on Windows with enableCmdLineArguments enabled, the CGI Servlet 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 disabled 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 [1] and this archived MSDN blog [2]. Mitigation: Users of affected versions should apply one of the following mitigations: - - Ensure the CGI Servlet initialisation parameter enableCmdLineArguments is set to false - - Upgrade to Apache Tomcat 9.0.18 or later when released - - Upgrade to Apache Tomcat 8.5.40 or later when released - - Upgrade to Apache Tomcat 7.0.93 or later when released This announcement is being made before the releases are available as the change to fix this issue is obviously security related. Credit: This issue was identified by an external security researcher and reported to the Apache Tomcat security team via the bug bounty program sponsored by the EU FOSSA-2 project. References: [1] https://codewhitesec.blogspot.com/2016/02/java-and-command-line-injections-in-windows.html [2] https://web.archive.org/web/20161228144344/https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/ [3] http://tomcat.apache.org/security-9.html [4] http://tomcat.apache.org/security-8.html [5] http://tomcat.apache.org/security-7.html - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. NOTE: Third Party Rights This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to follow or act on information or advice contained in this security bulletin is the responsibility of each user or organisation, and should be considered in accordance with your organisation's site policies and procedures. AusCERT takes no responsibility for consequences which may arise from following or acting on information or advice contained in this security bulletin. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the author's website to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: https://www.auscert.org.au/bulletins/ =========================================================================== Australian Computer Emergency Response Team The University of Queensland Brisbane Qld 4072 Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for member emergencies only. =========================================================================== -----BEGIN PGP SIGNATURE----- Comment: http://www.auscert.org.au/render.html?it=1967 iQIVAwUBXK6s7maOgq3Tt24GAQj6NBAAzGv6iLgG7Cl0lKWisnUG/a3L1/IRs3QT zi3ZkWfBpPrBu9thyAWoU0BDc0MZcnpWd6+jJVbZwcKLhbi5SdvrqOPj3mvZEVsL MwgYcFBRyzUYkyThVFYwLB81CjfhKLonQd+cvVcS6/BiDZ+d8MHD/7Wbr5mmC7xG CHWDnerMKFnKBXWKkoVLDpNvvE7RhLaBWCJK3klQXMlltpTYAJ/gYiVWVRtjVFR9 JwiOYLpa6IlqPJk9cb3FvCOw13szzBeDB3RBcSHP3Svp1s7DF5hc8yN1wxbuY3O5 5+JqA10wOAj6Mo2ht+vtjN2qZzciU6wcErGhkjSVqiFteXV7+e5bjPosF2FjVK2m 9d2IfBeKs+KyTS90KdF5245nHFCaLelNgdnjVULO98D13MXzOQkIiVnqHDoTRyuH oJXbadLEGus39X+oDiQ8ncvg+RYx+/qEJLd/OTa/Equa6JKhkMz7DNek5F2ChQX9 kO+e7VcRfIJEjnGYM0ALIk2hRWJqijZtSizM2yc4PXbK3XUVNBy5l8lhvjMaVOO7 0WYLFFGtgyozTxnob7BK9gL+ccfB6bsvUGZKudnaV13pVt7KfWpHfAWvLOTg3CVP Oa4gNkZ6JNNxT8Xsu7wdvBWxpw6P6p9wp5NP35huP346mnWtScCI5r8u7PNeWkBD A6fEbmbmfUg= =zFm4 -----END PGP SIGNATURE-----