Unauthenticated code execution via SOAP object deserialization
Published Mar 22, 2021 · Updated Feb 13, 2025
Unsafe Java deserialization in Apache OFBiz 17.12.01 through 17.12.05 allows remote attackers to execute code via the SOAP endpoint. The SOAP request path passes attacker-supplied serialized objects to SafeObjectInputStream, whose resolveClass method accepted dangerous java.rmi.server classes. No authentication is required, and successful exploitation runs code with the privileges of the OFBiz JVM process, enabling application takeover.
Summary
What happened
Unsafe Java deserialization in Apache OFBiz 17.12.01 through 17.12.05 allows remote attackers to execute code via the SOAP endpoint. The SOAP request path passes attacker-supplied serialized objects to SafeObjectInputStream, whose resolveClass method accepted dangerous java.rmi.server classes. No authentication is required, and successful exploitation runs code with the privileges of the OFBiz JVM process, enabling application takeover.
The record
- CVE
- CVE-2021-26295
- Published
- Mar 22, 2021
- Updated
- Feb 13, 2025
- Vendor
- The Apache Software Foundation
- Product
- Apache OFBiz
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 22, 2021CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Apache OFBiz 17.12.01 to 17.12.05
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Apache OFBiz SOAP Java Deserialization Metasploit moduleweaponized · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo