CVE-2019-0189 Deserialization in OFBiz

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via unsafe Java deserialization in the HttpEngine serviceContext parameter.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-0189?

CVE-2019-0189 is a critical unsafe deserialization vulnerability in Apache Ofbiz, published on 11 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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". Apache 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

Weakness: CWE-502

Which versions are affected by CVE-2019-0189?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2019-0189?

No fix has been published for CVE-2019-0189 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2019-0189 being exploited?

There is no known exploitation of CVE-2019-0189 in the wild and no public exploit code.

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-7f6q-4x5x-p74v.

Is CVE-2019-0189 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free