Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| rundeck / rundeck | affected 0 before 6.2.0; unaffected 6.2.0 |
CWE
CWE-78
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
ADP enrichment
No English description supplied.
No references supplied.