Skip to content
XSS Advisory Intermediate CVE-2020-1173

Microsoft Power BI Report Server Spoofing Vulnerability (CVE-2020-1173)

Power BI Report Server did not properly validate the content-type of uploaded attachments, so an authenticated attacker could upload a crafted file and send it to a user. If the user opened it, the attacker could run scripts in that user's security context.

Lukasz Plonka Follow

Originally disclosed on Microsoft

Description

A spoofing vulnerability exists in Microsoft Power BI Report Server in the way it validates the content-type of uploaded attachments. An authenticated attacker could exploit the vulnerability by uploading a specially crafted payload and sending it to the user. The attacker who successfully exploited this vulnerability could then perform actions and run scripts in the security context of the user. This security update addresses the vulnerability by ensuring Power BI Report Server properly validates content-type of the attachments when uploading and opening.

FAQ

What version of Power BI has this vulnerability? The version of Power BI that contains the vulnerability is the May 2019 Release, version 1.5.7074.36177 (Build 15.0.1102.371). The vulnerability was addressed in the September 2019 release, version 1.6.7236.4246 (Build 15.0.1102.646). The most recent version of Power BI is the January 2020 release build is 15.0.1102.777.

Power BI

Power BI

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Lukasz Plonka. 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 server trusted the declared content-type of an uploaded attachment instead of validating the actual file content, allowing a script-bearing file to be served and executed.

Impact

An authenticated attacker could run scripts in the security context of a user who opens the crafted attachment, though the text gives no further detail on what that allows.

What the attacker needed

An authenticated account; victim opens the crafted attachment

The fix

The vulnerability was fixed by a security update that makes Power BI Report Server properly validate the content-type of attachments when they are uploaded and opened.

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 server lets people upload files as attachments. It did not check properly what kind of file was uploaded, so someone with a login could upload a file that the server treats as a web page with code in it. When another user opens that attachment, the code runs in that user's browser session, as if the user had run it themselves.

What is XSS?

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

More by Lukasz Plonka

View all

1 more disclosed report, 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.

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.