{"id":"CVE-2022-31137","published":"2022-07-08T00:00:00Z","modified":"2025-04-22T17:51:19Z","title":"Unauthenticated Remote Code Execution in Roxy-WI","vendor":"hap-wi","product":"roxy-wi","tier":"core","eol":null,"affectedVersions":[{"vendor":"hap-wi","product":"roxy-wi","versions":["< 6.1.1.0"]}],"description":{"text":"Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. Versions prior to 6.1.1.0 are subject to a remote code execution vulnerability. System commands can be run remotely via the subprocess_execute function without processing the inputs received from the user in the /app/options.py file. Attackers need not be authenticated to exploit this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability.","provenance":"source","from":"CVE.org"},"summary":{"text":"An unauthenticated remote code execution flaw in the Roxy-WI web interface for managing Haproxy, Nginx, Apache and Keepalived servers, located in the subprocess_execute function in /app/options.py, which runs system commands without sanitising user-supplied input. A remote attacker needs only network access to the interface, with no credentials and no user interaction, to run arbitrary system commands; the affected versions are those prior to 6.1.1.0, and there are no known workarounds, so upgrading is the only remedy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T13:43:57Z"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.90577,"percentile":0.99801,"date":"2026-10-30","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2022-12-21","exploitedFirstSeen":"2022-12-21","ransomware":false,"evidence":[{"url":"https://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","date":"2022-12-21"},{"url":"https://fortiguard.fortinet.com/threat-signal-report/4926/new-zerobot-variant-exploits-additional-vulnerabilities-for-propagation","date":"2022-12-22"},{"url":"https://unit42.paloaltonetworks.com/network-security-trends-nov-jan/","date":"2023-05-02"},{"url":"https://www.akamai.com/blog/security-research/2025-january-new-aquabot-mirai-variant-exploiting-mitel-phones","date":"2025-01-28"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-03&host_type=src&vulnerability=cve-2022-31137","date":"2025-06-03"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-04&host_type=src&vulnerability=cve-2022-31137","date":"2025-06-04"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-05&host_type=src&vulnerability=cve-2022-31137","date":"2025-06-05"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-06&host_type=src&vulnerability=cve-2022-31137","date":"2025-06-06"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-07&host_type=src&vulnerability=cve-2022-31137","date":"2025-06-07"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2025-06-08&host_type=src&vulnerability=cve-2022-31137","date":"2025-06-08"}],"evidenceTotal":336,"provenance":"source"},"exploited":true,"otx":{"pulseCount":11,"pulses":[{"name":"ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.","url":"https://otx.alienvault.com/pulse/69fdc02bea1e4ec923b01688","created":"2026-05-08"},{"name":"Aquabotv3 Malware Exploits Mitel Flaw","url":"https://otx.alienvault.com/pulse/687f73fa45baf4e003d25720","created":"2025-07-22"},{"name":"DDoS Botnet, ZeroBot, Adds to its Capabilities","url":"https://otx.alienvault.com/pulse/63ac9a9b47285cdeaac87628","created":"2022-12-28"},{"name":"Microsoft research uncovers new Zerobot capabilities","url":"https://otx.alienvault.com/pulse/63a97aca4939331148964839","created":"2022-12-26"},{"name":"Microsoft research uncovers new Zerobot capabilities - Microsoft Security Blog","url":"https://otx.alienvault.com/pulse/63a5bd9e4b819d29d7b8f94c","created":"2022-12-23"},{"name":"Microsoft research uncovers new Zerobot capabilities","url":"https://otx.alienvault.com/pulse/63a5ae13d4a3401905954b4a","created":"2022-12-23"},{"name":"Microsoft research uncovers new Zerobot capabilities - Microsoft Security Blog","url":"https://otx.alienvault.com/pulse/63a5366d09707e5927d950b9","created":"2022-12-23"},{"name":"Microsoft research uncovers new Zerobot capabilities - Microsoft Security Blog","url":"https://otx.alienvault.com/pulse/63a4721874292cc0afb8a687","created":"2022-12-22"},{"name":"Zerobot Botnet Emerges as a Growing Threat with New Exploits and Capabilities","url":"https://otx.alienvault.com/pulse/63a456549775cb8accfd95dc","created":"2022-12-22"},{"name":"Zerobot Malware Now Exploits Apache Vulnerabilities","url":"https://otx.alienvault.com/pulse/63a44768c57d4c8dfbdc77f7","created":"2022-12-22"}],"provenance":"machine"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-53r2-mq99-f532","tags":[]},{"url":"https://github.com/hap-wi/roxy-wi/commit/82666df1e60c45dd6aa533b01a392f015d32f755","tags":[]},{"url":"http://packetstormsecurity.com/files/167805/Roxy-WI-Remote-Command-Execution.html","tags":[]},{"url":"http://packetstormsecurity.com/files/171648/Roxy-WI-6.1.0.0-Improper-Authentication-Control.html","tags":[]},{"url":"http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html","tags":[]},{"url":"http://packetstormsecurity.com/files/172547/Roxy-WI-6.1.0.0-Remote-Command-Execution.html","tags":[]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"machine","basis":"dataset-annotation","bases":["dataset-annotation"],"basisDetail":"TRAM2 annotated sentence label","mappingType":null,"evidence":[{"reportId":"SRC-b3ea000916d84bc1c41a","quote":"softwareCVE-2017-17105Zivif PR115-204-P-RSCVE-2019-10655GrandstreamCVE-2020-25223WebAdmin of Sophos SG UTMCVE-2021-42013ApacheCVE-2022-31137Roxy-WICVE-2022-33891Apache SparkZSL-2022-5717MiniDVBLinuxSince the release of Zerobot 1.1, the malware operators have removed CVE-2018-12613, a phpMyAdmin","start":4458,"end":4753},{"reportId":"SRC-b3ea000916d84bc1c41a","quote":"of Sophos SG UTMCVE-2021-42013ApacheCVE-2022-31137Roxy-WICVE-2022-33891Apache SparkZSL-2022-5717MiniDVBLinuxSince the release of Zerobot 1.1, the malware operators have removed CVE-2018-12613, a phpMyAdmin vulnerability that could allow threat actors to view or execute files.","start":4548,"end":4824}],"confidence":"low","confidenceNote":"machine-matched from report text"}],"reports":[{"id":"SRC-b3ea000916d84bc1c41a","title":"Microsoft research uncovers new Zerobot capabilities","publisher":"microsoft.com","url":"http://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","date":null,"mentions":[{"quote":"softwareCVE-2017-17105Zivif PR115-204-P-RSCVE-2019-10655GrandstreamCVE-2020-25223WebAdmin of Sophos SG UTMCVE-2021-42013ApacheCVE-2022-31137Roxy-WICVE-2022-33891Apache SparkZSL-2022-5717MiniDVBLinuxSince the release of Zerobot 1.1, the malware operators have removed CVE-2018-12613, a phpMyAdmin","start":4458,"end":4753},{"quote":"tivity:\nCVE-2014-8361\nCVE-2016-20017\nCVE-2017-17105\nCVE-2017-17215\nCVE-2018-10561\nCVE-2018-20057\nCVE-2019-10655\nCVE-2020-7209\nCVE-2020-10987\nCVE-2020-25506\nCVE-2021-35395\nCVE-2021-36260\nCVE-2021-42013\nCVE-2021-46422\nCVE-2022-22965\nCVE-2022-25075\nCVE-2022-26186\nCVE-2022-26210\nCVE-2022-30023\nCVE-2022-30525\nCVE-2022-31137","start":11949,"end":12269},{"quote":"CVE-2022-31137","start":13359,"end":13373}]}],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-52765","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-52765","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"Roxy-WI Prior to 6.1.1.0 Unauthenticated Command Injection RCE","module":"exploit/linux/http/roxy_wi_exec","type":"exploit","disclosureDate":"2022-07-06","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/roxy_wi_exec.rb"}],"nuclei":[{"id":"CVE-2022-31137","name":"Roxy-WI < 6.1.1.0 - Remote Code Execution","severity":"critical","path":"http/cves/2022/CVE-2022-31137.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31137.yaml"}],"first":{"date":"2022-07-06","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/roxy_wi_exec.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/167805/Roxy-WI-Remote-Command-Execution.html","http://packetstormsecurity.com/files/171648/Roxy-WI-6.1.0.0-Improper-Authentication-Control.html","http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html","http://packetstormsecurity.com/files/172547/Roxy-WI-6.1.0.0-Remote-Command-Execution.html"],"flow":[{"stage":"observed","techniques":["T1190"],"provenance":"machine","lowConfidence":true}],"timeline":[{"date":"2022-07-06","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/roxy_wi_exec.rb","provenance":"source"},{"date":"2022-07-08","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-31137","provenance":"source"},{"date":"2022-12-21","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.microsoft.com/en-us/security/blog/2022/12/21/microsoft-research-uncovers-new-zerobot-capabilities/","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":73.3,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1410 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9980"},{"name":"Named in threat reports","points":3.87,"detail":"1 report"},{"name":"Public exploit code","points":5.0,"detail":"4 NVD exploit links; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":2.45,"detail":"11 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}