CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2024-5651

High
Published: Translated: NVD NIST

Summary

W operatorze Remediation dla agentów Fence znaleziono lukę, która umożliwia zdalne wykonanie kodu (RCE) poprzez dostarczenie dowolnej komendy w argumentach --ssh-path/--telnet-path. Użytkownik z niskimi uprawnieniami, na przykład deweloper, może stworzyć specjalnie przygotowanego FenceAgentsRemediation, co pozwala na wykonanie dowolnych komend na podzie operatora.

Risk Assessment

Ta podatność prowadzi do eskalacji uprawnień, początkowo jako konto usługi uruchamiające operatora, a następnie do innego konta usługi z uprawnieniami cluster-admin. Może to zagrażać bezpieczeństwu całego klastra.

Recommendation

Zaleca się ograniczenie dostępu do operatora Remediation oraz monitorowanie i audytowanie użycia argumentów --ssh-path/--telnet-path. Należy również zaktualizować system do najnowszej wersji, aby usunąć tę lukę.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS