CVE-2022-29063 Java Deserialization via RMI Connection from the Solr plugin of Apache OFBiz

Critical 9.8 Published Updated

An attacker hosting a malicious RMI server on localhost can trigger arbitrary code execution during Apache OFBiz startup or restart via the Solr plugin.

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-2022-29063?

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

Official description

The Solr plugin of Apache OFBiz is configured by default to automatically make a RMI request on localhost, port 1099. In version 18.12.05 and earlier, by hosting a malicious RMI server on localhost, an attacker may exploit this behavior, at server start-up or on a server restart, in order to run arbitrary code. Upgrade to at least 18.12.06 or apply patches at https://issues.apache.org/jira/browse/OFBIZ-12646.

Weakness: CWE-502

Which versions are affected by CVE-2022-29063?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2022-29063?

No fix has been published for CVE-2022-29063 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-2022-29063 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-5qfw-44p9-rc2g.

Is CVE-2022-29063 in your software?

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

Check your SBOMs for free