Skip to content
Access control Advisory Advanced CVE-2025-21195

Azure Service Fabric Runtime Elevation of Privilege Vulnerability (CVE-2025-21195)

Service Fabric resolves links improperly before accessing files, so a local attacker who can plant a crafted file can have it followed during bootstrapping. Successful exploitation could give the attacker SYSTEM privileges, allowing data deletion and loss of service availability.

BochengXiang Follow

Originally disclosed on Microsoft

High 6.0 View original

Description

Improper link resolution before file access ('link following') in Service Fabric allows an authorized attacker to elevate privileges locally.

FAQ

How can I update my Service Fabric Cluster to the latest version? If you have automatic updates, no action is needed. However, for those who choose to manually update, please refer to Manage Service Fabric cluster upgrades for instructions on how to update your Service Fabric 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 take additional actions prior to exploitation to prepare the target environment.

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to no loss of confidentiality (C:N), but could lead to major loss on integrity (I:H) and availability (A:H). What does that mean for this vulnerability? This vulnerability does not allow disclosure of any confidential information, but could allow an attacker to delete data that could include data that results in the service being unavailable.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to have access to the location where the target file will be run. They would then need to plant a specific file that would be used as part of the exploitation.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Successful exploitation of this vulnerability requires an administrator to install the bootstrapping agent on the target device where an attacker has planted specially crafted malicious files.

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

Service Fabric

Service Fabric

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by BochengXiang(@Crispr) with FDU. 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 bootstrapping agent follows a link planted in a location it accesses, instead of resolving and validating the real target path before use.

Impact

An attacker with local access could gain SYSTEM privileges and delete data, potentially making the service unavailable; no confidential information is disclosed, and exploitation requires preparation of the target environment and an administrator installing the bootstrapping agent.

What the attacker needed

Local access to the target machine; ability to plant a crafted file; admin installs bootstrapping agent

The fix

The vulnerability was fixed by updating the Service Fabric cluster to the latest version, which happens automatically if automatic updates are enabled.

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.

A link (shortcut) is a small file that points to another file. The software followed such a link without checking where it really led, so a file planted by someone with local access could be used to run code with the highest Windows rights, called SYSTEM. The attacker needs local access and an administrator must install a bootstrapping agent on the affected machine.

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 by BochengXiang

View all

15 more disclosed reports, best first.

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.