Description
Rundeck before 6.2.0 contains an OS command injection vulnerability that allows authenticated users with job run permission to execute commands on Windows nodes by supplying crafted option values. Attackers can inject cmd.exe metacharacters such as && or | into free-text options, which CLIUtils.quoteWindowsCMDArg wraps in ineffective single quotes, running commands with node executor credential privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
rundeck rundeck
Default version status: unaffected
0 to < 6.2.0affected6.2.0unaffected
References
- https://github.com/rundeck/rundeck/pull/10414 ↗
- https://github.com/rundeck/rundeck/commit/807d9cf0eef63669b342e02e05a740e97f84f013 ↗
- https://github.com/rundeck/rundeck ↗
- https://github.com/rundeck/rundeck/blob/v6.1.0/core/src/main/java/com/dtolabs/rundeck/core/cli/CLIUtils.java#L146-L158 ↗
- https://github.com/rundeck/rundeck/releases/tag/v6.2.0 ↗
- https://www.vulncheck.com/advisories/rundeck-before-6.2.0-os-command-injection-via-windows-job-option-quoting ↗