Apache Software Foundation Apache DolphinScheduler
Apache DolphinScheduler: Command Injection in the Alert Script Plugin
The scriptPath parameter is incorporated into a /bin/sh -c command without sufficient neutralization of shell metacharacters, allowing shell command substitution and execution. An authenticated user can exploit this behavior by creating a resource whose filename contains shell command substitution syntax, such as $(...), and subsequently supplying the resulting path to the Alert Script plugin's /test-send endpoint. When the alert script is executed, the shell interprets the injected command, resulting in arbitrary command execution with the privileges of the DolphinScheduler service process. This issue affects Apache DolphinScheduler: before 3.4.3. Users are recommended to upgrade to version 3.4.3, which fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.4.3
Fixed in 3.4.3
Mitigation
Upgrade Apache DolphinScheduler to 3.4.3 or later.
References
- Vendor advisory lists.apache.org/thread.html/mwzbs5qdhs7nblfz70jgs0z…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.