Skip to content
XSS Advisory Intermediate CVE-2022-35829

Service Fabric Explorer Spoofing Vulnerability (CVE-2022-35829)

A stored cross-site scripting flaw existed in the older Service Fabric Explorer web client (SFXv1). An attacker with permission to create a compose deployment could inject a script that runs in a victim's browser and performs actions against the remote cluster.

Lidor Ben Shitrit Follow

Originally disclosed on Microsoft

High 6.2 View original

FAQ

According to the CVSS metric, privileges required is high (PR:H). What does that mean for this vulnerability? An attacker needs to have CreateComposeDeployment permission to exploit this vulnerability. Please refer to the Security/ClientAccess section of Customize Service Fabric cluster settings for more information on the permission.

FAQ

According to the CVSS metric, a successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? The vulnerability is in the web client, but the malicious scripts executed in the victim’s browser translate into actions executed in the (remote) cluster.

FAQ

How can I ensure I am not on a vulnerable version of Service Fabric Explorer? A vulnerable version of Service Fabric Explorer (SFXv1) has the URL that ends in "old.html". If you are on an unsupported version of Service Fabric Runtime (8.1.316 and below), you will be vulnerable. Please update to a supported version of Service Fabric Runtime. See Service Fabric supported versions for the list of all supported versions of the runtime. On supported versions of the Service Fabric Runtime, the Service Fabric Explorer version (SFXv2) which is loaded by default is not affected by this vulnerability. On supported SF runtime versions, you can verify you are using SFXv2 by checking that the URL of Service Fabric Explorer ends in "index.html". How can I update my Service Fabric Cluster to the latest version? Please refer to Manage Service Fabric cluster upgrades for instructions on how to update your Service Fabric Cluster. If I am on a supported version of Service Fabric Runtime, how can I switch to the latest version of Service Fabric Explorer (SFXv2)? SFXv2 is loaded by default on all supported versions of Service Fabric. You can navigate to SFXv2 by making sure the Service Fabric Explorer URL ends in "index.html". An example of a vulnerable URL would be https://<your instance name>.cloudapp.azure.com:19080/Explorer/old.html#/. You can navigate to any of the following URLs to switch to SFXv2: https://<your instance name>.cloudapp.azure.com:19080/Explorer/index.html#/ https://<your instance name>.cloudapp.azure.com:19080/Explorer/ https://<your instance name>.cloudapp.azure.com:19080/

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? A victim user would have to click the stored XSS payload injected by the attacker to be compromised.

Service Fabric

Service Fabric

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Lidor Ben Shitrit with Orca Security. 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

Impact

An attacker with the required permission could run script in a victim's browser that translated into actions executed in the remote cluster, though the victim had to click the injected payload.

What the attacker needed

CreateComposeDeployment permission; victim clicks the injected payload; vulnerable SFXv1 (old.html)

The fix

The issue was fixed by moving to the newer Service Fabric Explorer (SFXv2) and updating to a supported Service Fabric Runtime version.

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 Explorer is a web page used to manage a cluster of servers. The older version of that page did not safely handle some content, so someone who could create a deployment could plant a script in it. When another user opened that content, the script ran in their browser and could act on the cluster with that user's access.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.