CVE-2024-5651: Fence-agents-remediation: fence agent command line options leads to remote code execution

Published Jun 5, 2024
·
Updated

A flaw was found in fence agents that rely on SSH/Telnet could be abused to obtain a Remote Code Execution (RCE) primitive by supplying an arbitrary command to execute in the --ssh-path/--telnet-path arguments. A low-privilege user (i.e. a user with developer access) can create a specifically 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.

Other sources

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.

NVD

Affected Software

1 affected component
Unknown Fence Agents Remediation

Event History

Jun 5, 2024
Data Sourced
via Red Hat·09:56 AM
DescriptionSeverityAffected Software
Aug 12, 2024
CVE Published
via MITRE·05:46 AM
Data Sourced
via MITRE·05:46 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:38 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-5651?

CVE-2024-5651 has a high severity rating due to its potential for Remote Code Execution.

2

What can exploit CVE-2024-5651?

CVE-2024-5651 can be exploited by low-privilege users who can supply arbitrary commands in the --ssh-path or --telnet-path arguments.

3

How do I fix CVE-2024-5651?

To fix CVE-2024-5651, update the affected fence agents to the latest version that addresses this vulnerability.

4

Who is affected by CVE-2024-5651?

CVE-2024-5651 affects users of Fence Agents that are configured to use SSH or Telnet.

5

What are the risks associated with CVE-2024-5651?

The risks of CVE-2024-5651 include unauthorized execution of commands which can compromise the integrity and security of the affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203