{"id":"CVE-2022-31161","aliases":["EUVD-2022-52773","GHSA-pg3w-8p63-x483"],"status":"published","title":"Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload","description":"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.","severity":{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.28794,"percentile":0.98173,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-434","CWE-77","CWE-94"],"published":"2022-07-15T00:00:00Z","modified":"2026-10-28T02:30:54Z","exploits":[{"source":"exploitdb","id":"EDB-51228","title":"Roxy WI v6.1.1.0 - Unauthenticated Remote Code Execution (RCE) via ssl_cert Upload","type":"webapps","platform":"python","date":"2023-04-03","url":"https://www.exploit-db.com/exploits/51228"},{"source":"nuclei","id":"CVE-2022-31161","title":"Roxy-WI - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-31161.yaml"}],"products":[{"vendor":"hap-wi","product":"roxy-wi"},{"vendor":"roxy-wi","product":"roxy-wi"}],"references":[{"url":"https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html","tags":["x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31161.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31161","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-31161","title":"Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload","description":"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.","status":"published","published":"2022-07-15T00:00:00Z","modified":"2025-04-23T18:01:57.263Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","level":"critical","assessor":"cna"}],"cwes":["CWE-77","CWE-94"],"updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-52773","description":"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.","status":"published","published":"2022-07-15T00:00:00Z","modified":"2025-04-23T18:01:57Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","level":"critical"}],"updated_at":"2026-11-02T20:52:09.919052Z"}],"nvd":[{"id":"CVE-2022-31161","description":"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.","status":"published","published":"2022-07-15T21:15:08.71Z","modified":"2026-06-17T04:44:56.21Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","level":"critical","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-77","CWE-94","CWE-434"],"updated_at":"2026-11-02T14:07:23.686531Z"}],"osv":[{"id":"CVE-2022-31161","title":"Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload","description":"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.","status":"published","published":"2022-07-15T00:00:00Z","modified":"2026-10-28T02:30:54.27994057Z","cvss":[{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","level":"critical"}],"cwes":["CWE-77","CWE-94"],"updated_at":"2026-11-02T15:44:25.516981Z"}]}}
