[High Risk Vulnerability Warning] CVE-2017-12615/CVE-2017-12616: Apache Tomcat information disclosure and remote code execution vulnerabilities

On 2017-09-19, Apache Tomcat confirmed and fixed two High Risk vulnerabilities, CVE-2017-12615 and CVE-2017-12616. These vulnerabilities will affect version 7.0 - 7.80. In certain conditions, attackers could make use of these two vulnerabilities to either get JSP source code from users' servers, or create a carefully constructed attack request to upload malicious JSP file to users' servers. Using these JSP files, they could execute arbitrary code, which could lead to information disclosure or authority control loss.

CVE-2017-12616 Information Disclosure
When using a VirtualDirContext it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.

Remote Code Execution CVE-2017-12615
When running on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialization parameter of the Default to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.

Affect Range:
CVE-2017-12615: Apache Tomcat 7.0.0 - 7.0.79
CVE-2017-12616: Apache Tomcat 7.0.0 - 7.0.80

Apache has announced Apache Tomcat 7.0.81 to fix these two vulnerabilities, we suggest Alibaba Cloud customers upgrade to latest version as soon as possible.

Alibaba Cloud Security Team