Description
Apache OFBiz has unsafe deserialization prior to 17.12.06. An unauthenticated attacker can use this vulnerability to successfully take over Apache OFBiz.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache OFBiz | Apache OFBiz 17.12.01 to 17.12.05 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Apache OFBiz SOAP Java Deserialization
exploit/linux/http/apache_ofbiz_deserialization_soap
GitHub 5 repositories
-
yumusb/CVE-2021-26295 ★ 23 · Mar 23, 2021
-
yuaneuro/ofbiz-poc ★ 5 · May 13, 2021
CVE-2020-9496和CVE-2021-26295利用dnslog批量验证漏洞poc及exp
-
rakjong/CVE-2021-26295-Apache-OFBiz ★ 4 · Mar 24, 2021
CVE-2021-26295 Apache OFBiz rmi反序列化POC
-
coolyin001/CVE-2021-26295-- ★ 0 · Apr 9, 2021
CVE-2021-26295-POC 利用DNSlog进行CVE-2021-26295的漏洞验证。 使用 poc:将目标放于target.txt后运行python poc.py即可。(Jdk环境需<12,否则ysoserial无法正常生成有效载荷) exp:python exp.py https://baidu.com然后进入命令执行界面(无回显)
-
dskho/CVE-2021-26295 ★ 0 · Mar 25, 2021
CVE-2021-26295 EXP 可成功反弹Shell
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache OFBiz <17.12.06 - Arbitrary Code Execution http/cves/2021/CVE-2021-26295.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://lists.apache.org/thread.html/r3c1802eaf34aa78a61b4e8e044c214bc94accbd28a11f3a276586a31%40%3Cuser.ofbiz.apache.org%3E
- [ofbiz-notifications] 20210324 [jira] [Commented] (OFBIZ-12167) Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295) mailing-list
- [ofbiz-dev] 20210325 Comment out the SOAP and HTTP engines? mailing-list
- [ofbiz-dev] 20210325 Re: Comment out the SOAP and HTTP engines? mailing-list
- [ofbiz-dev] 20210329 Re: Comment out the SOAP and HTTP engines? mailing-list
- [ofbiz-notifications] 20210329 [jira] [Commented] (OFBIZ-12167) Adds a blacklist (to be renamed soon to denylist) in Java serialisation (CVE-2021-26295) mailing-list
- [ofbiz-notifications] 20210329 [jira] [Commented] (OFBIZ-6942) Comment out RMI related code because of the Java deserialization issue [CVE-2016-2170] mailing-list
- http://packetstormsecurity.com/files/162104/Apache-OFBiz-SOAP-Java-Deserialization.html
- [ofbiz-notifications] 20210427 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] mailing-list
- [ofbiz-commits] 20210427 [ofbiz-site] branch master updated: Updates security page for CVE-2021-29200 and 30128 fixed in 17.12.07 mailing-list
- [ofbiz-notifications] 20210605 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] mailing-list
- [ofbiz-notifications] 20210729 [jira] [Updated] (OFBIZ-12212) Comment out the SOAP and HTTP engines - Fix [CVE-2021-30128] mailing-list
- [ofbiz-commits] 20210811 [ofbiz-site] branch master updated: Updates security page for CVE-2021-37608 fixed in 17.12.08 mailing-list