{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-31161",
        "STATE": "PUBLIC",
        "TITLE": "Roxy-WI Vulnerable to Unauthenticated Remote Code Execution via ssl_cert Upload"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "roxy-wi",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 6.1.1.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "hap-wi"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "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."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 10.0,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')"
                    }
                ]
            },
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-94: Improper Control of Generation of Code ('Code Injection')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483",
                "refsource": "CONFIRM",
                "url": "https://github.com/hap-wi/roxy-wi/security/advisories/GHSA-pg3w-8p63-x483"
            },
            {
                "name": "https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0",
                "refsource": "MISC",
                "url": "https://github.com/hap-wi/roxy-wi/releases/tag/v6.1.1.0"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html",
                "url": "http://packetstormsecurity.com/files/171652/Roxy-WI-6.1.1.0-Remote-Code-Execution.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-pg3w-8p63-x483",
        "discovery": "UNKNOWN"
    }
}