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

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.62%, higher than 90% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-29T16:45:05.740Z
- Modified: 2026-06-17T07:51:44.720Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- roxy-wi roxy-wi: <= 8.0; up to 8.0; 8.0

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/roxy-wi/roxy-wi/security/advisories/GHSA-qc52-vwwj-5585> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2024-43804](https://www.cve.org/CVERecord?id=CVE-2024-43804), CVE Terms of Use, modified 2024-08-29
- NVD: [CVE-2024-43804](https://nvd.nist.gov/vuln/detail/CVE-2024-43804), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43804 · Whole record: https://cve.day/CVE-2024-43804.json · Rebuilt by cve.day 2026-11-25T22:58:44.869Z
