PT-2022-3949 · Nginx+4 · Nginx+4

Aidaho12

+1

·

Published

2022-07-08

·

Updated

2025-05-26

·

CVE-2022-31137

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Roxy-WI versions prior to 6.1.1.0
Description Roxy-WI is a web interface for managing Haproxy, Nginx, Apache, and Keepalived servers. The issue arises from the subprocess execute function in the /app/options.py file, which does not properly process user input, allowing system commands to be executed remotely without authentication. This enables attackers to run arbitrary code on the system.
Recommendations For versions prior to 6.1.1.0, it is recommended to upgrade to a newer version to resolve the issue. As a temporary workaround, consider restricting access to the subprocess execute function in the /app/options.py file until a patch is available. Additionally, avoid using the subprocess execute function without proper input validation to minimize the risk of exploitation. At the moment, there is no information about other mitigation measures for this vulnerability.

Exploit

Fix

RCE

OS Command Injection

Weakness Enumeration

Related Identifiers

BDU:2022-04779
CVE-2022-31137
GHSA-53R2-MQ99-F532

Affected Products

Apache
Haproxy
Keepalived
Nginx
Roxy-Wi