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

Published Aug 29, 2024
·
Updated

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, servermod.subprocessexecute function is called on both cmd1 and cmd2. When the definition of the servermod.subprocessexecute() 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.

Affected Software

1 affected component
Roxy-WI Roxy-wi=8.0

Event History

Aug 29, 2024
CVE Published
via MITRE·04:45 PM
Data Sourced
via MITRE·04:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-43804?

CVE-2024-43804 is considered a high severity vulnerability due to the potential for arbitrary code execution.

2

How do I fix CVE-2024-43804?

To fix CVE-2024-43804, validate and sanitize user input in the port scanning functionality to prevent command injection.

3

Who is affected by CVE-2024-43804?

CVE-2024-43804 affects authenticated users of Roxy-WI version 8.0.

4

What could happen if CVE-2024-43804 is exploited?

Exploitation of CVE-2024-43804 could allow an attacker to execute arbitrary commands on the web application server.

5

Is there a patch available for CVE-2024-43804?

As of now, no official patch has been released for CVE-2024-43804, so immediate mitigation steps should be taken.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203