Skip to content
File upload Advisory Intermediate CVE-2020-1044

SQL Server Reporting Services Security Feature Bypass Vulnerability (CVE-2020-1044)

SQL Server Reporting Services did not properly validate attachments uploaded to reports, allowing an authenticated attacker to upload file types that an administrator had disallowed. The update corrects how SSRS validates attachment uploads.

Piotr Cielas Follow

Originally disclosed on Microsoft

Medium 4.3 View original

Description

A security feature bypass vulnerability exists in SQL Server Reporting Services (SSRS) when the server improperly validates attachments uploaded to reports. An attacker who successfully exploited this vulnerability could upload file types that were disallowed by an administrator. To exploit the vulnerability, an authenticated attacker would need to send a specially crafted request to an affected SSRS server. The update addresses the vulnerability by modifying how SSRS validates attachment uploads.

SQL Server

SQL Server

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Piotr Cielas. 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's validation of attachment uploads was insufficient, allowing disallowed file types to pass the check.

Impact

An authenticated attacker could upload file types that were disallowed by an administrator, potentially leading to further compromise depending on what the uploaded file could do.

What the attacker needed

Authenticated access to SSRS; ability to send crafted requests

The fix

The vulnerability was fixed by modifying how SSRS validates attachment uploads.

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.

SQL Server Reporting Services is a Microsoft tool for building and sharing reports. It lets users attach files to reports, and administrators can block certain file types for safety. This bug meant the blocking check could be bypassed, so a logged-in user could upload a file type that should have been refused.

What is File upload?

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.