You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@apache.org by Jacopo Cappellato <ja...@apache.org> on 2019/09/10 22:29:21 UTC

[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(郑杜涛) <ri...@tencent.com>

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