Skip to content
RCE Write-up Intermediate

Full Disclosure: Multiple Rundeck Job Command Injections

A Rundeck API token with permission to run existing jobs allowed command injection through job options, so an attacker could execute arbitrary commands on the Rundeck nodes. The text states this was found during a red-teaming project but does not give reproduction details.

insinuator.net

Published on insinuator.net

During a red-teaming-style customer project, we managed to get access to an Rundeck API token. Rundeck is a job scheduler and runbook automation platform designed to automate routine IT tasks across multiple systems.

The author, on insinuator.net

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker with a token limited to running jobs could execute arbitrary code on Rundeck nodes and move laterally.

What the attacker needed

A Rundeck API token; permission to run existing jobs

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Rundeck is a tool that runs scheduled jobs on servers. A token is like a password that lets a program act on your behalf. The report says a token that could only start existing jobs was enough to run extra commands on the servers, which is dangerous because those commands can do anything the job is allowed to do.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.