{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43804 exists.","fix":"No fix has been published for CVE-2024-43804 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-43804 is a high-severity command injection vulnerability in roxy-wi, published on 29 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-43804 and fix it if it is affected.\n\nWhat it is: CVE-2024-43804 is a high-severity command injection vulnerability in roxy-wi, published on 29 Aug 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43804 exists.\n\nAffected product: roxy-wi. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-43804/ (Markdown: https://insights.sbomify.com/CVE-2024-43804/index.md)","id":"CVE-2024-43804","markdown":"https://insights.sbomify.com/CVE-2024-43804/index.md","name":"CVE-2024-43804","record":{"aliases":["GHSA-qc52-vwwj-5585"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Roxy-WI web interface","requires_auth":"low_privilege","summary":"Authenticated attackers can execute arbitrary OS commands on the server via the port scan feature due to unsanitized input in subprocess calls.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"roxy-wi","vendor":"roxy-wi"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"OS Command Injection via Port Scan Functionality in Roxy-WI","id":"CVE-2024-43804","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"HTML injection in Jupyter Notebook and JupyterLab leading to DOM Clobbering","id":"CVE-2024-43805"},"packages":[],"prev":{"headline":"BMO can expose particularly named secrets from other namespaces via BMH CRD","id":"CVE-2024-43803"},"products":["roxy-wi"],"published":"2024-08-29","related":[{"cvss_score":10,"headline":"Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload","id":"CVE-2022-31161","kev_date_added":null,"published":"2022-07-15"},{"cvss_score":10,"headline":"Unauthenticated Remote Code Execution in Roxy-WI","id":"CVE-2022-31137","kev_date_added":null,"published":"2022-07-08"},{"cvss_score":10,"headline":"Authentication Bypass in Roxy-wi","id":"CVE-2022-31125","kev_date_added":null,"published":"2022-07-06"},{"cvss_score":10,"headline":"Unauthenticated Remote Code Execution in Roxy-wi","id":"CVE-2022-31126","kev_date_added":null,"published":"2022-07-06"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-38167","kev_date_added":null,"published":"2021-08-07"},{"cvss_score":8.9,"headline":"Roxy-WI vulnerable to path traversal and arbitrary file writing","id":"CVE-2026-33076","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.9,"headline":"Roxy-WI has SQL Injection in haproxy_section_save Endpoint via Unsanitized server_ip Parameter","id":"CVE-2026-33078","kev_date_added":null,"published":"2026-04-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-29","vendors":["roxy-wi"]},"summary":"Authenticated attackers can execute arbitrary OS commands on the server via the port scan feature due to unsanitized input in subprocess calls.","url":"https://insights.sbomify.com/CVE-2024-43804/"}