Summery
Splunk is a log analytics tool used to gather, analyze and visualize data.
Though not originally intended to be a SIEM tool, Splunk is often used for security monitoring and business analytics. Splunk deployments are often used to house sensitive data and could provide a wealth of information for an attacker if compromised.
Historically, Splunk has not suffered from a considerable amount of known vulnerabilities aside from an information disclosure vulnerability (CVE-2018-11409), and an authenticated remote code execution vulnerability in very old versions (CVE-2011-4642).
Splunks ports usually are:
8000/tcp - Common web interface
8089/tcp - Management API
8088/tcp - Common HTTP Event Collector port
Important files and directories
$SPLUNK_HOME/etc/ - Configuration and apps
etc/system/local/ - Local system configuration
etc/apps/ - Installed apps
etc/passwd - Splunk user database
var/log/splunk/ - Splunk logs
var/run/splunk/ - Runtime data
Exploitation
Search commands - Check for unsafe custom commands
Apps - Inspect permissions and configuration for exposed secrets
Credentials - Look for stored secrets and excessive access
References
Further reads: Splunk - Discovery & Enumeration
Splunk documentation
Splunk security advisories