Skip to content
Misconfiguration Write-up Intermediate

Gaps in Azure Service Fabric’s Security Call for User Vigilance

Default Azure Service Fabric deployments use process isolation and host networking, so a compromised container can read registry credentials and reach the node's SSH service. An attacker who guesses the cluster password could log in as root and access cluster certificates.

David Fiser Follow

Published on trendmicro.com

In this blog post, we discuss different configuration scenarios that may lead to security issues with Azure Service Fabric, a distributed platform for deploying, managing, and scaling microservices and container applications.

David Fiser, on trendmicro.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 the default configuration used process isolation and host networking without restrictive policies, exposing sensitive mounts and the node's SSH service to the container.

Impact

An attacker who compromises a container could read registry credentials, brute-force the node's SSH password, and gain root access to the cluster, though this depends on user roles and permissions in the linked registry.

What the attacker needed

Compromised container; default process isolation; host network mode; password authentication enabled

The fix

Users should apply Service Fabric policies such as removing runtime access, configure key-only SSH authentication, and follow least privilege and Zero Trust practices.

How it was found

  1. Simulate a user code vulnerability that compromises the container and spawns a reverse shell.
  2. Observe read-only mounts containing cluster information, including container registry credentials.
  3. Scan the node's network and find SSH port 22 open with password authentication enabled.
  4. Log in to the node using the same username and password used for cluster creation, gaining root access.
  5. Access cluster certificates on the node, allowing control over the whole cluster.

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.

A container is a lightweight box that runs an application. In this setup, the box was not properly separated from the computer hosting it, so someone who broke into the app could read files and reach services on that computer. Because the login password was weak and reused, they could then take full control of the cluster.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by David Fiser

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.