{"id":"CVE-2022-31161","summary":"Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload","details":"Roxy-WI is a Web interface for managing HAProxy, Nginx and Keepalived servers. Prior to version 6.1.1.0, the system command can be run remotely via the subprocess_execute function without processing the inputs received from the user in the /app/options.py file. Version 6.1.1.0 contains a patch for this issue.","aliases":["GHSA-pg3w-8p63-x483"],"modified":"2026-07-08T06:01:13.449137700Z","published":"2022-07-15T00:00:00Z","database_specific":{"cwe_ids":["CWE-77","CWE-94"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31161.json"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html"},{"type":"WEB","url":"https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31161.json"},{"type":"ADVISORY","url":"https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31161"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/roxy-wi/roxy-wi","events":[{"introduced":"0"},{"fixed":"2e060eb8019ff5b6b1644cb9f93d25465111440b"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:roxy-wi:roxy-wi:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.1.1.0"}]}}],"versions":["v6.1.0.0","v6.0.3.0","v6.0.2.0","v6.0.1.0","v6.0.0.0","v5.5.1.0","v5.5.0.0","v5.4.3.0","v5.4.2.0","v5.4.1.0","v5.4.0.0","v5.3.6.0","v.5.3.5.0","v5.3.4.0","v5.3.3.0","v5.3.2.0","v5.3.1.0","v5.3.0.0","v5.2.6.0","v5.2.5.0","v5.2.4.0","v5.2.3.0","v5.2.2.0","v5.2.1","v5.2.0","v5.1.4.0","v5.1.1.0","v4.4.1.0","3.4.5.1","3.4.5","3.4.4.7","3.4.4.6","v3.3","v3.2.13","v2.0.2","v1.10.2.1","v1.10.2","v1.10.1","v1.10","v1.9.1","v1.6","v1.4.1","v1.4","v1.3","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31161.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L"}]}