CVE-2021-26295 RCE vulnerability in latest Apache OFBiz due to Java serialisation using RMI

Critical 9.8 Published Updated

Unauthenticated attackers can achieve remote code execution and take over Apache OFBiz via unsafe Java deserialization in RMI.

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-2021-26295?

CVE-2021-26295 is a critical unsafe deserialization vulnerability in Apache Ofbiz, published on 22 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenticated attacker can use this vulnerability to successfully take over Apache OFBiz.

Weakness: CWE-502

Which versions are affected by CVE-2021-26295?

It affects 1 product.

Products include Apache Ofbiz.

How do I fix CVE-2021-26295?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-26295 exists.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 5 proofs of concept on GitHub.

All Apache Ofbiz vulnerabilities

Sources

Also known as GHSA-hp7h-f9pw-x5wj.

Is CVE-2021-26295 in your software?

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

Check your SBOMs for free