{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "CVE_data_meta": {
        "ID": "CVE-2021-4007",
        "ASSIGNER": "cve@rapid7.com",
        "TITLE": "Rapid7 Insight Agent Privilege Escalation",
        "STATE": "PUBLIC",
        "DATE_PUBLIC": "2021-12-10T15:00:00.000Z",
        "AKA": ""
    },
    "source": {
        "discovery": "UNKNOWN",
        "defect": [],
        "advisory": ""
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Rapid7",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Insight Agent",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_name": "3.0.1",
                                            "version_affected": ">=",
                                            "version_value": "3.0.1",
                                            "platform": ""
                                        },
                                        {
                                            "version_name": "3.1.2.34",
                                            "version_affected": "<=",
                                            "version_value": "3.1.2.34",
                                            "platform": ""
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-427 Uncontrolled Search Path Element"
                    }
                ]
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Rapid7 Insight Agent, versions 3.0.1 to 3.1.2.34, suffer from a local privilege escalation due to an uncontrolled DLL search path. Specifically, when Insight Agent versions 3.0.1 to 3.1.2.34 start, the Python interpreter attempts to load python3.dll at \"C:\\DLLs\\python3.dll,\" which normally is writable by locally authenticated users. Because of this, a malicious local user could use Insight Agent's startup conditions to elevate to SYSTEM privileges. This issue was fixed in Rapid7 Insight Agent 3.1.2.35. This vulnerability is a regression of CVE-2019-5629."
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "CONFIRM",
                "url": "https://docs.rapid7.com/release-notes/insightagent/20211210/",
                "name": "https://docs.rapid7.com/release-notes/insightagent/20211210/"
            },
            {
                "refsource": "MISC",
                "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-5629",
                "name": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=2019-5629"
            }
        ]
    },
    "impact": {
        "cvss": {
            "version": "3.1",
            "attackVector": "LOCAL",
            "attackComplexity": "LOW",
            "privilegesRequired": "LOW",
            "userInteraction": "NONE",
            "scope": "UNCHANGED",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "availabilityImpact": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "baseScore": 7.8,
            "baseSeverity": "HIGH"
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Dawson Medin discovered and disclosed this issue to Rapid7"
        }
    ],
    "configuration": [],
    "exploit": [],
    "work_around": [],
    "solution": []
}