RCE in Hap-Wi Roxy-Wi
CVE-2022-31137
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.906 (99.8th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 100th percentile — 99.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.904 · newest: 0.906 · change: +0.002
Affected products
- Hap-Wi Roxy-Wi — versions < 6.1.1.0
- Roxy-Wi
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/hap-wi/roxy-wi/security/advisories/GHSA-53r2-mq99-f532 (Third Party Advisory)
- github.com/hap-wi/roxy-wi/commit/82666df1e60c45dd6aa533b01a392f015d32f755 (Patch, Third Party Advisory)
- packetstormsecurity.com/files/167805/Roxy-WI-Remote-Command-Execution.html (Exploit, VDB Entry, Third Party Advisory)
- packetstormsecurity.com/files/171648/Roxy-WI-6.1.0.0-Improper-Authentication-Co…
- 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.h…
Frequently asked questions
- What is CVE-2022-31137?
- CVE-2022-31137 is a critical-severity vulnerability in Hap-Wi Roxy-Wi, classified under OS Command Injection. CVSS score: 10.0/10. Published 2022-07-08.
- How severe is CVE-2022-31137?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2022-31137 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.