Vulnerability · Published Jul 8, 2022 · Assigned by GitHub_M

CVE-2022-31137Unauthenticated Remote Code Execution in Roxy-WI

Critical 10.0

In plain English

A critical-severity OS command injection in roxy-wi from hap-wi. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 90.6% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)90.6%top 0.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling2Metasploit, Nuclei

Official description

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.

Affected products (as reported)

VendorProductVersions
hap-wi roxy-wi < 6.1.1.0

Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References