{"id":"CVE-2023-40598","state":"PUBLISHED","title":"Command Injection in Splunk Enterprise Using External Lookups","description":"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.","publishedAt":"2023-08-30T16:19:28.135Z","updatedAt":"2025-02-28T11:03:41.623Z","severity":{"score":8.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","source":"Splunk"},"assigner":"Splunk","products":["Splunk Splunk Enterprise","Splunk Splunk Cloud"],"affected":[{"vendor":"Splunk","product":"Splunk Enterprise","versions":[{"version":"8.2","status":"affected","lessThan":"8.2.12","versionType":"custom"},{"version":"9.0","status":"affected","lessThan":"9.0.6","versionType":"custom"},{"version":"9.1","status":"affected","lessThan":"9.1.1","versionType":"custom"}]},{"vendor":"Splunk","product":"Splunk Cloud","versions":[{"version":"-","status":"affected","lessThan":"9.0.2305.200","versionType":"custom"}]}],"references":["https://advisory.splunk.com/advisories/SVD-2023-0807","https://research.splunk.com/application/ee69374a-d27e-4136-adac-956a96ff60fd/"],"weaknesses":["CWE-77"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/40xxx/CVE-2023-40598.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-40598","state":"PUBLISHED","datePublished":"2023-08-30T16:19:28.135Z","dateUpdated":"2025-02-28T11:03:41.623Z","assignerShortName":"Splunk","assignerOrgId":"42b59230-ec95-491e-8425-5a5befa1a469","dateReserved":"2023-08-16T22:07:52.838Z"},"containers":{"cna":{"title":"Command Injection in Splunk Enterprise Using External Lookups","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"Splunk","product":"Splunk Enterprise","versions":[{"version":"8.2","status":"affected","lessThan":"8.2.12","versionType":"custom"},{"version":"9.0","status":"affected","lessThan":"9.0.6","versionType":"custom"},{"version":"9.1","status":"affected","lessThan":"9.1.1","versionType":"custom"}]},{"vendor":"Splunk","product":"Splunk Cloud","versions":[{"version":"-","status":"affected","lessThan":"9.0.2305.200","versionType":"custom"}]}],"references":[{"url":"https://advisory.splunk.com/advisories/SVD-2023-0807"},{"url":"https://research.splunk.com/application/ee69374a-d27e-4136-adac-956a96ff60fd/"}],"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":[{"cweId":"CWE-77","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."}]}],"providerMetadata":{"shortName":"Splunk","orgId":"42b59230-ec95-491e-8425-5a5befa1a469","dateUpdated":"2025-02-28T11:03:41.623Z"},"datePublic":"2023-08-30T00:00:00.000Z","source":{"advisory":"SVD-2023-0807"},"credits":[{"lang":"en","value":"Danylo Dmytriiev (DDV_UA)"}]},"adp":[{"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"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T18:38:50.310Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-03T15:02:42.738200Z","id":"CVE-2023-40598","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-03T15:02:58.607Z"}}]}}}