CVE-2023-40598 in Splunk and 1 more product
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 platfo...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Splunk | Splunk | < 8.2.12 ≥ 9.0.0, < 9.0.6 ≥ 9.1.0, < 9.1.1 |
| Splunk | Splunk Cloud Platform | < 9.0.2305.200 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-40598 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-343672-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-08-30 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
CWE-306: Missing Authentication for Critical Function
Software does not perform any authentication for functionality that requires a verified identity.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-77
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-12 Choosing Message Identifier via CWE-306
CAPEC-15 Command Delimiters via CWE-77
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-306
Show all 13
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-62 Cross Site Request Forgery via CWE-306
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
CAPEC-136 LDAP Injection via CWE-77
CAPEC-166 Force the System to Reset Values via CWE-306
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-216 Communication Channel Manipulation via CWE-306
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Splunk Enterprise versions below 8.2.12, 9.0.6, and 9.1.1 allows attackers to create an external lookup that can insert code into the Splunk platform installation directory, leading to the execution of arbitrary code.
An attacker can exploit this vulnerability by creating an external lookup that calls a legacy internal function, which can then be used to insert malicious code into the Splunk platform installation directory. This code can be executed by a user on the Splunk platform instance.
Questions
What is CVE-2023-40598?
A vulnerability in Splunk Enterprise versions below 8.2.12, 9.0.6, and 9.1.1 allows attackers to create an external lookup that can insert code into the Splunk platform installation directory, leading to the execution of arbitrary code.
What is the CVSS score for CVE-2023-40598?
CVE-2023-40598 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.9%.
Is CVE-2023-40598 actively exploited?
No confirmed active exploitation of CVE-2023-40598 as of 2026-05-30.
How do I remediate CVE-2023-40598?
Priority: IMMEDIATE. Advisory: https://advisory.splunk.com/advisories/SVD-2023-0807 PSIRT: [email protected]
What systems are affected by CVE-2023-40598?
CVE-2023-40598 affects Splunk Splunk, Splunk Cloud Platform.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Splunk","product":"Splunk","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.