Skip to content

CVE-2024-43804 OS Command Injection via Port Scan Functionality in Roxy-WI

HighCVSS 8.8 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Nginx

Description

Roxy-WI is a web interface for managing Haproxy, Nginx, Apache and Keepalived servers. An OS Command Injection vulnerability allows any authenticated user on the application to execute arbitrary code on the web application server via port scanning functionality. User-supplied input is used without validation when constructing and executing an OS command. User supplied JSON POST data is parsed and if "id" JSON key does not exist, JSON value supplied via "ip" JSON key is assigned to the "ip" variable. Later on, "ip" variable which can be controlled by the attacker is used when constructing the cmd and cmd1 strings without any extra validation. Then, server_mod.subprocess_execute function is called on both cmd1 and cmd2. When the definition of the server_mod.subprocess_execute() function is analyzed, it can be seen that subprocess.Popen() is called on the input parameter with shell=True which results in OS Command Injection. This issue has not yet been patched. Users are advised to contact the Roxy-WI to coordinate a fix.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
roxy-wi <= 8.0; = 8.0; = <= 8.0 after 8.0 Fixed

Affected products

ProductAffected versionsFixed in
roxy-wi = <= 8.0 No fix listed
roxy-wi <= 8.0 No fix listed
roxy-wi = 8.0 No fix listed

References