You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2019/04/15 14:42:28 UTC

svn commit: r1857587 - in /ofbiz: ofbiz-framework/branches/release18.12/build.gradle ofbiz-plugins/branches/release18.12/example/build.gradle

Author: jleroux
Date: Mon Apr 15 14:42:28 2019
New Revision: 1857587

URL: http://svn.apache.org/viewvc?rev=1857587&view=rev
Log:
Fixed: Update Tomcat to 9.0.18 due to CVE-2019-0232 
(OFBIZ-10920)

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.


jleroux: actually Tomcat 9.0.19 was released, here it is

Modified:
    ofbiz/ofbiz-framework/branches/release18.12/build.gradle
    ofbiz/ofbiz-plugins/branches/release18.12/example/build.gradle

Modified: ofbiz/ofbiz-framework/branches/release18.12/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release18.12/build.gradle?rev=1857587&r1=1857586&r2=1857587&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/branches/release18.12/build.gradle (original)
+++ ofbiz/ofbiz-framework/branches/release18.12/build.gradle Mon Apr 15 14:42:28 2019
@@ -152,10 +152,10 @@ dependencies {
     compile 'org.apache.sshd:sshd-core:1.7.0'
     compile 'org.apache.tika:tika-core:1.20'
     compile 'org.apache.tika:tika-parsers:1.20'
-    compile 'org.apache.tomcat:tomcat-catalina-ha:9.0.16'
-    compile 'org.apache.tomcat:tomcat-catalina:9.0.16'
-    compile 'org.apache.tomcat:tomcat-jasper:9.0.16'
-    compile 'org.apache.tomcat:tomcat-tribes:9.0.16'
+    compile 'org.apache.tomcat:tomcat-catalina-ha:9.0.19'
+    compile 'org.apache.tomcat:tomcat-catalina:9.0.19'
+    compile 'org.apache.tomcat:tomcat-jasper:9.0.19'
+    compile 'org.apache.tomcat:tomcat-tribes:9.0.19'
     compile 'org.apache.xmlgraphics:fop:2.3'
     compile 'org.apache.xmlrpc:xmlrpc-client:3.1.3'
     compile 'org.apache.xmlrpc:xmlrpc-server:3.1.3'

Modified: ofbiz/ofbiz-plugins/branches/release18.12/example/build.gradle
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release18.12/example/build.gradle?rev=1857587&r1=1857586&r2=1857587&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/branches/release18.12/example/build.gradle (original)
+++ ofbiz/ofbiz-plugins/branches/release18.12/example/build.gradle Mon Apr 15 14:42:28 2019
@@ -18,5 +18,5 @@
  */
 
 dependencies {
-    pluginLibsCompile 'org.apache.tomcat.embed:tomcat-embed-websocket:9.0.16'
+    pluginLibsCompile 'org.apache.tomcat.embed:tomcat-embed-websocket:9.0.19'
 }
\ No newline at end of file