Skip to content
Access control Advisory Advanced CVE-2023-21531

Azure Service Fabric Container Elevation of Privilege Vulnerability (CVE-2023-21531)

A container running in an Azure Service Fabric cluster could reach an internal Azure platform address that it should not have been able to contact. An attacker who had already compromised a container could use this to raise their privileges and take control of the cluster, though not beyond it.

David Fiser Follow

Originally disclosed on Microsoft

High 7.0 View original

FAQ

Which Azure service(s) does this affect? This vulnerability affects Azure Service Fabric clusters and standalone Service Fabric clusters orchestrated by Docker. Only users who implement the Docker app containers can be affected.

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could elevate their privileges and gain control over the Service Fabric cluster. This vulnerability does not allow the attacker to elevate privileges outside of the compromised cluster.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to first compromise the Service Fabric container and for the targeted environment to be architected in a unique manner.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Any authenticated attacker could trigger this vulnerability. It does not require admin or other elevated privileges.

FAQ

How do I protect myself from this vulnerability? To be protected from this vulnerability customers must perform the following actions: Manually upgrade your Service Fabric Cluster runtime to the latest version(s) provided in 8.2 CU8, 9.0 CU5, or 9.1 CU1 as appropriate . Guidance on how to perform an update can be found here: Upgrade the Service Fabric version that runs on your cluster . Manually enable and configure the BlockAccessToWireServer feature flag on your Service Fabric Clusters. NOTE: This feature restricts connectivity to the internal Azure platform resource (168.63.129.16). Customers are highly encouraged to review their cluster endpoints and ensure they are not making any calls or requests to 168.63.129.16 prior to enabling this feature to prevent service interruptions.

FAQ

What Service Fabric versions are protected against this vulnerability? The Service Fabric versions listed below provide customers the ability to enable the BlockAccessToWireServer feature flag which will protect against this vulnerability. Customers without auto-update enabled must update their Service Fabric resources as appropriate. Product Platform Version Azure Service Fabric 8.2 CU8 Windows 8.2.1723.9590 Azure Service Fabric 8.2 CU8 Ubuntu 18 8.2.1521.1 Azure Service Fabric 9.0 CU5 Ubuntu 18 9.0.1148.1 Azure Service Fabric 9.0 CU5 Ubuntu 20 9.0.1148.1 Azure Service Fabric 9.0 CU5 Windows 9.0.1155.9590 Azure Service Fabric 9.1 CU1 Ubuntu 18 9.1.1230.1 Azure Service Fabric 9.1 CU1 Ubuntu 20 9.1.1230.1 Azure Service Fabric 9.1 CU1 Windows 9.1.1436.9590

Azure Service Fabric Container

Azure Service Fabric Container

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by David Fiser of Trend Micro Zero Day Initiative (Project Nebula). Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the container networking did not block access to the internal Azure platform address, so a compromised container could reach a resource it should never have been able to contact.

Impact

An attacker with low privileges who first compromised a container could elevate privileges and gain control of the cluster, but only where the environment was architected in a particular way, and not outside the compromised cluster.

What the attacker needed

Attacker has compromised a container; cluster architected in a unique manner; low-privilege authenticated access

The fix

Microsoft provided updated Service Fabric runtime versions and a feature flag that blocks container access to the internal platform address, which customers had to enable manually.

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 report has not been written yet. The Original tab links to the source.

Service Fabric is Microsoft's system for running and managing many small programs (containers) across a group of machines. Each container is meant to be sealed off from the platform's own internal management address, but here that seal was incomplete. Someone who already had a foothold inside one container could talk to that internal address and use it to gain more power over the whole cluster.

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.

More from Microsoft

View all

The newest disclosed reports for this program.

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.