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

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

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

jacopoc
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(郑杜涛) <[hidden email]>

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