OpenShift Cluster Logging Operator Missing Authorization Allows ServiceAccount Token Exfiltration and Privilege Escalation
CyStack researcher Trung Nguyen discovered a missing authorization flaw in the OpenShift Cluster Logging Operator. When a ClusterLogForwarder output authenticates with a ServiceAccount token, the operator mints and forwards that token without checking whether the user who configured the forwarder is allowed to use it. As a result, a delegated editor with write access to ClusterLogForwarder objects can point an output at a server they control, capture the ServiceAccount token, then assume that identity and escalate privileges within the cluster. It affects the Logging Subsystem for Red Hat OpenShift (cluster-logging-operator); with no fix released yet, administrators should restrict ClusterLogForwarder write access and block collector egress to untrusted endpoints.
auth-bypassprivilege-escalation