CVE-2021-26295 RCE vulnerability in latest Apache OFBiz due to Java serialisation using RMI
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.
Other vulnerabilities in Apache Ofbiz
- CVE-2024-45195 Apache OFBiz Forced Browsing
- CVE-2024-32113 Apache OFBiz Path Traversal
- CVE-2024-38856 Apache OFBiz Incorrect Authorization
- CVE-2013-2250 Code injection in n/a
- CVE-2012-3506 Unspecified vulnerability in the Apache Open For Business Project (aka OFBiz) 10.04.x before 10.04.03 has unknown impact and attack vectors.
Sources
Also known as GHSA-hp7h-f9pw-x5wj.