CVE-2024-5651
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
A flaw was found in the Fence Agents Remediation operator. This vulnerability can allow a Remote Code Execution (RCE) primitive by supplying an arbitrary command to execute in the –ssh-path/–telnet-path arguments. A low-privilege user, for example, a user with developer access, can create a specially crafted FenceAgentsRemediation for a fence agent supporting –ssh-path/–telnet-path arguments to execute arbitrary commands on the operator's pod. This RCE leads to a privilege escalation, first as the service account running the operator, then to another service account with cluster-admin privileges.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0.4.0 < 0.4.1-22 | affected | ||
| Red Hat | Fence Agents Remediation 0.4 for RHEL 8 | v0.4.1-22 < * | unaffected |
| Red Hat | Fence Agents Remediation 0.4 for RHEL 8 | v0.4.1-22 < * | unaffected |
Weaknesses
- CWE-94: Improper Control of Generation of Code ('Code Injection')
Workarounds
Do not allow unprivileged users create FenceAgentsRemediation and FenceAgentsRemediationTemplate resources.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://access.redhat.com/errata/RHSA-2024:5453
- https://access.redhat.com/security/cve/CVE-2024-5651
- https://bugzilla.redhat.com/show_bug.cgi?id=2290540
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.