CVE-2022-31137 in the critical feed json
Unauthenticated Remote Code Execution in Roxy-WI
published 2022-07-08 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-52765
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 90.6%
- EPSS 90.6% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 1
- Metasploit, plus a Nuclei check
Summary
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.
Patch / fix
Timeline
- First public exploit (Metasploit exploit/linux/http/roxy_wi_exec)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
90.58% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/roxy_wi_exec Roxy-WI Prior to 6.1.1.0 Unauthenticated Command Injection RCE metasploit exploit, excellent rank, 2022-07-06
- Nuclei template Roxy-WI < 6.1.1.0 - Remote Code Execution nuclei detection template
- packetstormsecurity.com http://packetstormsecurity.com/files/167805/Roxy-WI-Remote-Command-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected products
- hap-wi roxy-wi
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/hap-wi/roxy-wi/commit/82666df1e60c45dd6aa533b01a392f015d32f755
patch, third-party-advisory
-
packetstormsecurity.com
/files/167805/Roxy-WI-Remote-Command-Execution.html
exploit, third-party-advisory, vdb-entry
-
github.com
/hap-wi/roxy-wi/security/advisories/GHSA-53r2-mq99-f532
third-party-advisory
- packetstormsecurity.com /files/171648/Roxy-WI-6.1.0.0-Improper-Authentication-Control.html
- packetstormsecurity.com /files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html
- packetstormsecurity.com /files/172547/Roxy-WI-6.1.0.0-Remote-Command-Execution.html
Sources
- CVE List CVE-2022-31137
- NVD CVE-2022-31137
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.