-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2019.3469
       Multiple vulnerabilities have been identified in Apache OFBIZ
                             12 September 2019

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Apache OFBIZ
Publisher:         The Apache Software Foundation
Operating System:  Windows
                   OS X
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Delete Arbitrary Files          -- Remote/Unauthenticated
                   Cross-site Scripting            -- Existing Account      
                   Reduced Security                -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2019-10074 CVE-2019-10073 CVE-2019-0189
                   CVE-2018-17200  

Original Bulletin: 
   https://lists.apache.org/thread.html/a0b0e576d4e2c957136c88a04a4de9a9bc19b7365f54576ba6a6fbc3@%3Cdev.ofbiz.apache.org%3E
   https://lists.apache.org/thread.html/4a6f3c421dd9ef5fd23697821f55fd5835b7a7ca921e4356fba6d70f@%3Cdev.ofbiz.apache.org%3E
   https://lists.apache.org/thread.html/df1bae9ac7321b7e672910b9c8ef07a2900a689482f7174e610c259a@<dev.ofbiz.apache.org>
   https://lists.apache.org/thread.html/b863587077997c17bca43802c6ea53612aa4ff64a2e94786c8f8fe87@%3Cdev.ofbiz.apache.org%3E

Comment: This bulletin contains four (4) The Apache Software Foundation 
         security advisories.

- --------------------------BEGIN INCLUDED TEXT--------------------

CVE-2019-10074: Apache OFBiz RCE (template injection)

Severity:
Important

Vendor:
The Apache Software Foundation


Versions Affected:
OFBiz 16.11.01 to 16.11.05

An RCE is possible by entering Freemarker markup in an OFBiz Form Widget
textarea field when encoding has been disabled on such a field.  This was
the case for the Customer Request "story" input in the Order Manager
application.  Encoding should not be disabled without good reason and never
within a field that accepts user input.


Mitigation:
Upgrade to 16.11.06
or manually apply the following commit on branch 16.11:
r1858533

- ----

Credit:
Niels Heinen of the Google security team <heinenn@google.com>

References:
http://ofbiz.apache.org/download.html#vulnerabilities

- ---

CVE-2019-10073: Apache OFBiz XSS vulnerability in the "ecommerce" component

Severity:
Important

Vendor:
The Apache Software Foundation

Versions Affected:
OFBiz 16.11.01 to 16.11.05

Description:
The "Blog", "Forum", "Contact Us" screens of the template "ecommerce"
application bundled in Apache OFBiz are weak to Stored XSS attacks.

Mitigation:
Upgrade to 16.11.06
or manually apply the following commits on branch 16.11:
1858438, 1858543, 1860595 and 1860616

- ----

Credit:
Vikash Patnaik <vikash.patnaik@outlook.com>
Dinesh Kumar Mohanty <kiitkp03@gmail.com>

References:
http://ofbiz.apache.org/download.html#vulnerabilities

- ---

CVE-2019-0189: Apache OFBiz remote code execution and arbitrary file delete 
via Java deserialization

Severity:
Important

Vendor:
The Apache Software Foundation

Versions Affected:
OFBiz 16.11.01 to 16.11.05

Description:
The java.io.ObjectInputStream is known to cause Java serialisation issues.
This issue here is exposed by the "webtools/control/httpService" URL,
and uses Java deserialization to perform code execution.

In the HttpEngine, the value of the request parameter "serviceContext"
is passed to the "deserialize" method of "XmlSerializer".
Ofbiz is affected via two different dependencies:
"commons-beanutils" and an out-dated version of "commons-fileupload"

Mitigation:
Upgrade to 16.11.06
or manually apply the commits from
OFBIZ-10770 AND OFBIZ-10837 on branch 16
- ----

Credit:
Man Yue Mo of the Semmle Security Research Team
ricterzheng(???) <ricterzheng@tencent.com>

References:
http://ofbiz.apache.org/download.html#vulnerabilities

- ---

CVE-2018-17200: Apache OFBiz unauthenticated remote code execution 
vulnerability in HttpEngine

Severity:
Important

Vendor:
The Apache Software Foundation

Versions Affected:
OFBiz 16.11.01 to 16.11.05

Description:
The OFBiz HTTP engine (org.apache.ofbiz.service.engine.HttpEngine.java)
handles requests for HTTP services via the /webtools/control/httpService
endpoint.  This service takes the `serviceContent` parameter in the request
and
 deserializes it using XStream. This `XStream` instance is slightly guarded
by
 disabling the creation of `ProcessBuilder`.  However, this can be easily
 bypassed (and in multiple ways).

Mitigation:
Upgrade to 16.11.06
or manually apply the following commits on branch 16
r1850017+1850019
- ----

Credit:
Man Yue Mo of the Semmle Security Research Team
?? <hizhangsword@gmail.com>

References:
http://ofbiz.apache.org/download.html#vulnerabilities

- --------------------------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

iQIVAwUBXXmUWWaOgq3Tt24GAQjShxAA2CtPawQvfqhnmDjMJx2JHQsYdAoSfXyc
HCpzeLz/GS6diuaW+AVAIdsUlkuOkq0Cak4uyTHHC91WRZrH2Ie754ybyodpjbS6
1SBtSiFtk+iaj6LkjY9zCNws8wQUAJefwrdG0rFpdT523ZCjbYoog0MHkeq65jH/
1VnlhiYrwKqHNj6Bq+U6bOOWFm20oz5yjyGcIRlTVroqACCCGL+j5oROyNPEhuBN
TUkRSfBQa0ms0qQG7Qz7P7DYUXvfMMjaxPaGWZkzTdUtuuOAV8nthy6sJNuY2/y4
jbadAapecjRdye7/qGq/N02vkGIR56Hy5MvPWZkzZAsdUHZMZQljAPAhAICeYTRf
cCTH31X5V9aHfGgh3LasT1ztAC/03WpNUsldPXL6MC24G7WH5yoaRlzrjJQKhbej
0JyOKNQ8Z//LTbYhEF66yAqSw8/OB/W+xhsx6rW7uy0UV883/ouzOjBmBJ9+k14W
LyIScYgmO1exDEKXYvfXUQbKicbdbsfUa2/nwFJsq0LY3aEEF+kUZmA9lZa3meNf
/UIgokLWf057o1r5At3ncDaJuS+wSTDhopXxJKlS8as5sVx4AIn17GbwmHFQql3H
pTxfH281+sbEk5RZjk2rhC3TVqqM1qggq2SVTx4IYXMBklVcl83zJke4h9xKYU1v
F6HrL5+HV8c=
=kFG/
-----END PGP SIGNATURE-----