Affected Versions: < 3.2.6
Patched Versions: 3.2.6+
IDOR can reveal execution data and logs to unauthorized user.
Authenticated users can craft a request that reveals Execution data and logs and Job details that they are not authorized to see.
Depending on the configuration and the way that Rundeck is used, this could result in anything between a high severity risk, or a very low risk. If access is tightly restricted and all users on the system have access to all projects, this is not really much of an issue. If access is wider and allows login for users that do not have access to any projects, or project access is restricted, there is a larger issue. If access is meant to be restricted and secrets, sensitive data, or intellectual property are exposed in Rundeck execution output and job data, the risk becomes much higher.
An authenticated user could craft a request to:
- View Executions and download execution logs without access to
viewthe associated Job, or ad-hoc resource.
- Get the list of running executions in a project, without Event
readaccess, if they have
readaccess to view the project.
- View the Options definitions of a Job without access to view the Job.
- View the definition of a workflow step of a Job without access to view the Job.
- View the SCM diff of a modified Job definition if SCM is enabled, without Project
- View the New User Profile Form for a different username, without User
adminaccess. Note: they would not be allowed to create or modify a profile for a different user, or reveal any user profile information for a different user.
Some authenticated API requests were not correctly checking appropriate authorization levels:
- The list of running Executions would be sent without
readaccess to Events.
- The Plugin Input Parameters for a SCM plugin would be sent without authorization for project
- Job Retry action could retry an execution without
viewaccess to the Execution, which would reveal the Execution's option values. (
runaccess to the Job was still required).
Upgrade to Rundeck version 3.2.6
If you have any questions or comments about this advisory:
- Email us at email@example.com
To report security issues to Rundeck please use the form at http://rundeck.com/security (opens new window)
Reporter: Justine Osborne of Apple Information Security