Splunk Enterprise
Path Traversal through 'explicit_appname' in the App Install REST Endpoint in Splunk Enterprise
In Splunk Enterprise versions below 10.4.1, 10.2.5, 10.0.8, 9.4.13, and 9.3.14, and Splunk Cloud Platform versions below 10.5.2605.0, 10.4.2604.6, 10.2.2510.18, and 10.1.2507.24, a user who holds a role that contains the `edit_local_apps` and `install_apps` capabilities could cause a legitimate app installation to write files outside the intended app directory, into `$SPLUNK_HOME/etc/` and its subdirectories.<br><br>The vulnerability is caused by a path traversal in the app installation workflow, which does not restrict the installation path to the intended app directory.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 10.4, < 10.4.1
- >= 10.2, < 10.2.5
- >= 10.0, < 10.0.8
- >= 9.4, < 9.4.13
- >= 9.3, < 9.3.14
Fixed in 10.4.1, 10.2.5, 10.0.8, 9.4.13, 9.3.14
- >= 10.5.2605, < 10.5.2605.0
- >= 10.4.2604, < 10.4.2604.6
- >= 10.2.2510, < 10.2.2510.18
- >= 10.1.2507, < 10.1.2507.24
Fixed in 10.5.2605.0, 10.4.2604.6, 10.2.2510.18, 10.1.2507.24
Mitigation
Upgrade Splunk Enterprise to 10.4.1 or 10.2.5 or 10.0.8 or 9.4.13 or 9.3.14 or later.
Upgrade Splunk Cloud Platform to 10.5.2605.0 or 10.4.2604.6 or 10.2.2510.18 or 10.1.2507.24 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.