Rubygem-foreman_remote_execution: job output readable without object-level view_job_invocations check
Red Hat Satellite 6
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Satellite 6 | — | No fix yet |
Original description
A flaw was found in the foreman_remote_execution plugin's template invocations controller. The show_template_invocation_by_host action resolves the job invocation by ID without evaluating the caller's view_job_invocations permission filter against the record. An authenticated user whose job invocation visibility is restricted by a permission filter can enumerate job invocation IDs and read the live output, rendered script, and input values for other users' job invocations within their own organizations.
From the CVE record · redhat