Skip to content
Access control Write-up Advanced

An insecure neighbor: how a vulnerability chain led to an isolation bypass in cloud infrastructure

A chain of flaws in a cloud provider's managed Kubernetes, overlay network and management services let a regular tenant escape their worker node, reach other tenants' control planes and managed databases, and ultimately bypass tenant isolation. The researchers obtained root on control-plane hosts, read other tenants' logs and private SSH keys, and executed code on managed Kafka and PostgreSQL instances.

Matvey Bukhtoyarov Follow

Published on securelist.com

Matvey Bukhtoyarov](https://securelist.com/author/matveybukhtoyarov/) - [{{media:4}}

Matvey Bukhtoyarov, Kaspersky Security Services, on securelist.com

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

Likely a combination of overly permissive cluster policies allowing privileged pods, a Konnectivity service that dialled arbitrary addresses supplied by the agent, and internal services (VictoriaMetrics, VictoriaLogs, JMX, redis-exporter, SaltStack) exposed on a flat overlay network without authentication or network segmentation.

Impact

A tenant could bypass isolation entirely, read other tenants' logs and private SSH keys, and execute code on managed Kafka and PostgreSQL instances, though the text notes some steps depended on specific configurations such as enabled user namespaces.

What the attacker needed

A regular tenant account; ability to create pods in managed Kubernetes; user namespaces enabled on host; access to the shared overlay network

The fix

The provider fixed all reported issues in full, and the underlying Konnectivity flaw was confirmed and addressed by the k0s project.

How it was found

  1. Create a privileged pod with host namespace access in the managed Kubernetes cluster.
  2. Use nsenter inside the container to move execution to the host machine and gain root.
  3. Find a Konnectivity service token on the host and scan the control plane address for open ports.
  4. Send a DIAL_REQ packet through Konnectivity to make the control plane dial arbitrary addresses, including UNIX sockets.
  5. Use D-Bus and systemd user services to run commands on the control plane, then escalate to root via an OverlayFS bug.
  6. Query VictoriaMetrics and VictoriaLogs on the overlay network to enumerate other tenants and recover leaked SSH keys.

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.

In cloud hosting, many customers share the same underlying machines and network, and the provider is supposed to keep each customer's area separate. Here the researchers, starting as an ordinary customer, found ways to break out of their own container and then reach the provider's internal network and other customers' systems. That means one customer could read or control another customer's data, which is exactly what isolation is meant to prevent.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.