CVE-2022-31161

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31161
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31161.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31161
Aliases
  • GHSA-pg3w-8p63-x483
Published
2022-07-15T00:00:00Z
Modified
2025-10-30T20:09:12.267417Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L CVSS Calculator
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.

Database specific
{
    "cwe_ids": [
        "CWE-77",
        "CWE-94"
    ]
}
References

Affected packages

Git / github.com/hap-wi/roxy-wi

Affected ranges

Type
GIT
Repo
https://github.com/hap-wi/roxy-wi
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.1.1.0"
        }
    ]
}

Affected versions

3.*

3.4.4.6
3.4.4.7
3.4.5
3.4.5.1

v.*

v.5.3.5.0

v1.*

v1.0
v1.1
v1.10
v1.10.1
v1.10.2
v1.10.2.1
v1.3
v1.4
v1.4.1
v1.6
v1.9.1

v2.*

v2.0.2

v3.*

v3.2.13
v3.3

v4.*

v4.4.1.0

v5.*

v5.1.1.0
v5.1.4.0
v5.2.0
v5.2.1
v5.2.2.0
v5.2.3.0
v5.2.4.0
v5.2.5.0
v5.2.6.0
v5.3.0.0
v5.3.1.0
v5.3.2.0
v5.3.3.0
v5.3.4.0
v5.3.6.0
v5.4.0.0
v5.4.1.0
v5.4.2.0
v5.4.3.0
v5.5.0.0
v5.5.1.0

v6.*

v6.0.0.0
v6.0.1.0
v6.0.2.0
v6.0.3.0
v6.1.0.0