RCE in Hap-Wi Roxy-Wi

CVE-2022-31161

Roxy-WI is a Web interface for managing HAProxy, Nginx and Keepalived servers. Prior to version 6.1.1.0, the system command can be run remotely via the subprocess_execute function without processing the inputs received from the user in the /app/options.py file. Version 6.1.1.0 contains a patch for this issue.

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:L.

EPSS exploit prediction

EPSS: 0.288 (98.1th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-31161: held from 0.284 to 0.288.

EPSS over last 30 days · oldest: 0.284 · newest: 0.288 · change: +0.004

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-31161?
CVE-2022-31161 is a critical-severity vulnerability in Hap-Wi Roxy-Wi, classified under Command Injection. CVSS score: 10.0/10. Published 2022-07-15.
How severe is CVE-2022-31161?
Critical severity. CVSS v3 base score is 10.0 out of 10.
Is CVE-2022-31161 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.