OperTraitors: How Kubernetes Operators Betray Your Security Posture
The Prometurbo operator for IBM Turbonomic was bound to a ClusterRole granting cluster-wide read access to all Kubernetes secrets, far beyond its needs. If the operator were compromised, an attacker could dump service account tokens, database credentials, API keys and TLS certificates from unrelated namespaces, turning a local breach into full environment compromise.
Published on unit42.paloaltonetworks.com
Kubernetes operators are coded to drastically reduce operational toil by acting as automated site reliability engineers. However, their reliance on highly privileged service accounts introduces a severe, often overlooked security weak spot.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The operator's service account was bound to a ClusterRole with get, list and watch on secrets across all namespaces instead of being scoped to its own namespace.
Impact
If the operator were compromised, an attacker could read administrative service account tokens, database credentials, API keys and TLS certificates from unrelated namespaces, potentially compromising the whole environment.
What the attacker needed
Operator deployed in cluster; attacker compromises operator
The fix
IBM fixed it by scoping the operator's RBAC permissions to align with the principle of least privilege.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Kubernetes operators are automated helpers that run inside a cluster and are given permissions to do their job. This operator was given permission to read every secret in the whole cluster, not just its own area. Secrets hold passwords and keys, so anyone who took over the operator could read them all.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.