Fwd: [SECURITY] Apache Tomcat Possible additional RCE via JSP upload

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [SECURITY] Apache Tomcat Possible additional RCE via JSP upload

Jacques Le Roux
Administrator
Hi,

I checked, from my investigation we are safe

  * no default servlet is configured with  readonly="false" in any of the web.xml files
  * the only iCalendar WebDAV Servlet is not configured with readonly="false"
    https://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/servlets/WebdavServlet.html

I think we need to let know our users about this possible vulnerability since Tomcat in embedded in OFBiz

Jacques


-------- Message transféré --------
Sujet : [SECURITY] Apache Tomcat Possible additional RCE via JSP upload
Date : Wed, 20 Sep 2017 09:25:35 +0100
De : Mark Thomas <[hidden email]>
Pour : Tomcat Users List <[hidden email]>
Copie à : Tomcat Developers List <[hidden email]>, [hidden email] <[hidden email]>, [hidden email]



All,

Following the announcement of CVE-2017-12615 [1], the Apache Tomcat
Security Team has received multiple reports that a similar vulnerability
exists in all current Tomcat versions and affects all operating systems.

Unfortunately, one of these reports was made via the public bug tracker
[2] rather than responsibly via the Tomcat Security Team's private
mailing list [3].

We have not yet completed our investigation of these reports but, based
on the volume, and our initial investigation they appear to be valid.

>From an initial analysis of the reports received, the vulnerability only
affects the following configurations:

Default Servlet
- Default Servlet configured with readonly="false"
   AND
- Untrusted users are permitted to perform HTTP PUT requests

WebDAV Servlet
- WebDAV Servlet configured with readonly="false"
   AND
- Untrusted users are permitted to perform HTTP PUT requests
   AND
- The documented advice not to map the WebDAV servlet as the Default
   servlet has been ignored

Please note that:
  - The WebDAV servlet is disabled by default
  - The default value for the readonly parameter is true for both the
    Default servlet and the WebDAV servlet

Therefore, a default Tomcat installation is not affected by this
potential vulnerability.

Based on our understanding to date, the potential vulnerability may be
mitigated by any of the following:
- setting readonly to true for the Default servlet and WebDAV servlet
- blocking HTTP methods that permit resource modification for untrusted
   users

We will provide updates to the community as our investigation of these
reports continues.

Mark
on behalf of the Apache Tomcat Security Team


[1] http://markmail.org/message/xqfchebiy6fjmvjz
[2] https://bz.apache.org/bugzilla/show_bug.cgi?id=61542
[3] http://tomcat.apache.org/security.html