CVE-2021-26295
High PUBLISHEDRCE vulnerability in latest Apache OFBiz due to Java serialisation using RMI
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenticated attacker can use this vulnerability to successfully take over Apache OFBiz.
- CVE Published
- Mar 22, 2021
- Exploitation Reported
- Apr 22, 2025
- CVSS
- 9.8 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Apache Software Foundation |
Apache OFBiz
|
Apache OFBiz 17.12.01 to 17.12.05 |
Affected |
CVE References
- [ofbiz-notifications] 20210324 [jira] [Commented] (OFBIZ-12167) Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295) lists.apache.org · Mailing List https://lists.apache.org/thread.html/r6e4579c4ebf7efeb462962e359501c6...
- [ofbiz-dev] 20210325 Comment out the SOAP and HTTP engines? lists.apache.org · Mailing List https://lists.apache.org/thread.html/r0d97a3b7a14777b9e9e085b483629d2...
- [ofbiz-dev] 20210325 Re: Comment out the SOAP and HTTP engines? lists.apache.org · Mailing List https://lists.apache.org/thread.html/reccf8c8a58337ce7c035495d3d82fbc...
- [ofbiz-dev] 20210329 Re: Comment out the SOAP and HTTP engines? lists.apache.org · Mailing List https://lists.apache.org/thread.html/rec5e9fdcdca13099cfb29f632333f44...
- [ofbiz-notifications] 20210329 [jira] [Commented] (OFBIZ-12167) Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295) lists.apache.org · Mailing List https://lists.apache.org/thread.html/rc9bd0d3d794dc370bc7058596084186...
Show 8 more references
- [ofbiz-notifications] 20210329 [jira] [Commented] (OFBIZ-6942) Comment out RMI related code because of the Java deserialization issue [CVE-2016-2170] lists.apache.org · Mailing List https://lists.apache.org/thread.html/r3ee005dd767cd83f522719423f5e7dd...
- [ofbiz-notifications] 20210427 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] lists.apache.org · Mailing List https://lists.apache.org/thread.html/rbe512e5ccd6b11169c6379daa1234bc...
- [ofbiz-commits] 20210427 [ofbiz-site] branch master updated: Updates security page for CVE-2021-29200 and 30128 fixed in 17.12.07 lists.apache.org · Mailing List https://lists.apache.org/thread.html/r108a964764b8bd21ebd32ccd4f51c18...
- [ofbiz-notifications] 20210605 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] lists.apache.org · Mailing List https://lists.apache.org/thread.html/rab718cfe6468085d7560c0c1ae81684...
- [ofbiz-notifications] 20210729 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] lists.apache.org · Mailing List https://lists.apache.org/thread.html/r078351a876ed284ba667b33aba29428...
- [ofbiz-commits] 20210811 [ofbiz-site] branch master updated: Updates security page for CVE-2021-37608 fixed in 17.12.08 lists.apache.org · Mailing List https://lists.apache.org/thread.html/rbe8439b26a71fc3b429aa793c65dcc4...
- Apache Mailing List lists.apache.org · CVE Record https://lists.apache.org/thread.html/r3c1802eaf34aa78a61b4e8e044c214b...
- packetstormsecurity.com/files/162104/Apache-OFBiz-SOAP-Java-Deserial... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/162104/Apache-OFBiz-SOAP-Java-De...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2025-04-28 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-26295.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_ofbiz_deserialization_soap.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
Exploitation Status
Exploited in the wild
Recorded 2025-04-22 00:00:00 UTC · The Shadowserver
Proof of concept available
Recorded 2021-03-23 15:25:01 UTC · GitHub
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_ofbiz_deserialization_soap.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-26295.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2021-03-25 08:50:10 UTC · 0 stars
CVE-2021-26295 EXP 可成功反弹Shell
github · Created 2021-03-24 08:25:04 UTC · 4 stars
CVE-2021-26295 Apache OFBiz rmi反序列化POC
github · Created 2021-03-23 15:25:01 UTC · 23 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
15:25 UTC over 5 years ago15:25 UTC · over 5 years ago
Public PoC available
Public proof-of-concept code published
-
12:00 UTC over 5 years ago12:00 UTC · over 5 years ago
CVE published
Vulnerability disclosed publicly
-
00:00 UTC over 5 years ago00:00 UTC · over 5 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2021-26295
{
"cve_id": "CVE-2021-26295",
"title": "RCE vulnerability in latest Apache OFBiz due to Java serialisation using RMI",
"affected_vendor": "Apache Software Foundation",
"affected_product": "Apache OFBiz",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 9.8,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}