GHSA-5679-7qrc-5m7j

Suggest an improvement
Source
https://github.com/advisories/GHSA-5679-7qrc-5m7j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/04/GHSA-5679-7qrc-5m7j/GHSA-5679-7qrc-5m7j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5679-7qrc-5m7j
Aliases
Published
2020-04-29T16:31:12Z
Modified
2023-11-08T04:02:03.053099Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
IDOR can reveal execution data and logs to unauthorized user in Rundeck
Details

Impact

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.

Details

An authenticated user could craft a request to:

  • View Executions and download execution logs without access to read or view the associated Job, or ad-hoc resource.
  • Get the list of running executions in a project, without Event read access, if they have read access 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 export access level.
  • View the New User Profile Form for a different username, without User admin access. 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 read access to Events.
  • The Plugin Input Parameters for a SCM plugin would be sent without authorization for project import,scm_import,export, or scm_export actions.
  • Job Retry action could retry an execution without read or view access to the Execution, which would reveal the Execution's option values. (run access to the Job was still required).

Patches

Upgrade to Rundeck version 3.2.6

Workarounds

None

References

3.2.6 Release Notes

Report

If you have any questions or comments about this advisory: * Email us at security@rundeck.com

To report security issues to Rundeck please use the form at http://rundeck.com/security

Reporter: Justine Osborne of Apple Information Security

Database specific
{
    "nvd_published_at": "2020-04-29T17:15:00Z",
    "github_reviewed_at": "2020-04-29T16:30:45Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-200",
        "CWE-639"
    ]
}
References

Affected packages

Maven / org.rundeck:rundeck

Package

Name
org.rundeck:rundeck
View open source insights on deps.dev
Purl
pkg:maven/org.rundeck/rundeck

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.6

Affected versions

3.*

3.0.0-alpha1
3.0.0-20180727
3.0.1-20180803
3.0.2-20180803
3.0.2-20180817
3.0.5-20180828
3.0.7-20181008
3.0.8-20181029
3.0.9-20181127
3.0.10-20181220
3.0.11-20181221
3.0.12-20190114
3.0.13-20190123
3.0.14-20190221
3.0.15-20190222
3.0.16-20190223
3.0.17-20190311
3.0.18-20190322
3.0.19-20190327
3.0.20-20190408
3.0.21-20190424
3.0.22-20190512
3.0.23-20190619
3.0.24-20190719
3.0.26-20190829
3.0.27-20191204
3.1.0-rc2-20190719
3.1.0-20190731
3.1.1-20190923
3.1.2-20190927
3.1.3-20191204
3.2.0-20191218
3.2.1-20200113
3.2.2-20200204
3.2.3-20200221
3.2.4-20200318
3.2.5-20200403