{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-40598",
        "assignerOrgId": "42b59230-ec95-491e-8425-5a5befa1a469",
        "state": "PUBLISHED",
        "assignerShortName": "Splunk",
        "dateReserved": "2023-08-16T22:07:52.838Z",
        "datePublished": "2023-08-30T16:19:28.135Z",
        "dateUpdated": "2024-10-15T19:11:20.919Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "Splunk Enterprise",
                    "vendor": "Splunk",
                    "versions": [
                        {
                            "version": "8.2",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThan": "8.2.12"
                        },
                        {
                            "version": "9.0",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThan": "9.0.6"
                        },
                        {
                            "version": "9.1",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThan": "9.1.1"
                        }
                    ]
                },
                {
                    "product": "Splunk Cloud",
                    "vendor": "Splunk",
                    "versions": [
                        {
                            "version": "-",
                            "status": "affected",
                            "versionType": "custom",
                            "lessThan": "9.0.2305.200"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "In Splunk Enterprise versions below 8.2.12, 9.0.6, and 9.1.1, an attacker can create an external lookup that calls a legacy internal function. The attacker can use this internal function to insert code into the Splunk platform installation directory. From there, a user can execute arbitrary code on the Splunk platform Instance."
                        }
                    ],
                    "value": "In Splunk Enterprise versions below 8.2.12, 9.0.6, and 9.1.1, an attacker can create an external lookup that calls a legacy internal function. The attacker can use this internal function to insert code into the Splunk platform installation directory. From there, a user can execute arbitrary code on the Splunk platform Instance."
                }
            ],
            "references": [
                {
                    "url": "https://advisory.splunk.com/advisories/SVD-2023-0807"
                },
                {
                    "url": "https://research.splunk.com/application/ee69374a-d27e-4136-adac-956a96ff60fd/"
                }
            ],
            "title": "Command Injection in Splunk Enterprise Using External Lookups",
            "datePublic": "2023-08-30T00:00:00.000000",
            "metrics": [
                {
                    "cvssV3_1": {
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H",
                        "version": "3.1",
                        "baseScore": 8.5,
                        "baseSeverity": "HIGH"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "type": "cwe",
                            "description": "The software constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.",
                            "cweId": "CWE-77"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "SVD-2023-0807"
            },
            "credits": [
                {
                    "lang": "en",
                    "value": "Danylo Dmytriiev (DDV_UA)"
                }
            ],
            "providerMetadata": {
                "orgId": "42b59230-ec95-491e-8425-5a5befa1a469",
                "shortName": "Splunk",
                "dateUpdated": "2024-10-15T19:11:20.919Z"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T18:38:50.310Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://advisory.splunk.com/advisories/SVD-2023-0807",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://research.splunk.com/application/ee69374a-d27e-4136-adac-956a96ff60fd/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}