{"id":"CVE-2022-31161","state":"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.","publishedAt":"2022-07-15T00:00:00.000Z","updatedAt":"2025-04-23T18:01:57.263Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["hap-wi roxy-wi"],"affected":[{"vendor":"hap-wi","product":"roxy-wi","versions":[{"version":"< 6.1.1.0","status":"affected"}]}],"references":["https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483","https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0","http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html"],"weaknesses":["CWE-77","CWE-94"],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31161.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31161","state":"PUBLISHED","datePublished":"2022-07-15T00:00:00.000Z","dateUpdated":"2025-04-23T18:01:57.263Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-05-18T00:00:00.000Z"},"containers":{"cna":{"title":"Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"hap-wi","product":"roxy-wi","versions":[{"version":"< 6.1.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483"},{"url":"https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0"},{"url":"http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":10,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-77","type":"CWE","lang":"en","description":"CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"}]},{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-04-03T00:00:00.000Z"},"source":{"advisory":"GHSA-pg3w-8p63-x483","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483","tags":["x_transferred"]},{"url":"https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0","tags":["x_transferred"]},{"url":"http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:11:39.671Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T15:48:54.450162Z","id":"CVE-2022-31161","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T18:01:57.263Z"}}]}}}