CVE-2023-40597 Absolute Path Traversal in Splunk Enterprise Using runshellscript.py

High 7.8 Published Updated

An attacker can exploit absolute path traversal in Splunk Enterprise to execute arbitrary code located on a separate disk.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-40597?

CVE-2023-40597 is a high-severity path traversal vulnerability in Splunk Splunk, published on 30 Aug 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Splunk Enterprise versions lower than 8.2.12, 9.0.6, and 9.1.1, an attacker can exploit an absolute path traversal to execute arbitrary code that is located on a separate disk.

Weakness: CWE-22, CWE-36

Which versions are affected by CVE-2023-40597?

It affects 2 products.

Products include Splunk Splunk, Splunk Splunk Cloud Platform.

How do I fix CVE-2023-40597?

No fix has been published for CVE-2023-40597 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-40597 being exploited?

There is no known exploitation of CVE-2023-40597 in the wild and no public exploit code.

All Splunk Splunk vulnerabilities

Sources

Also known as GHSA-prvp-v5vw-h6ph.

Is CVE-2023-40597 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free