Skip to content
Access control Advisory Intermediate CVE-2019-1313

SQL Server Management Studio Information Disclosure Vulnerability (CVE-2019-1313)

SSMS did not properly enforce permissions, so a user with credentials to an affected SQL Server database could see database and file information they should not have access to. The disclosed information relates to SQL table columns that would normally be restricted.

Debashish Swain - Schlumberger Limited Follow

Originally disclosed on Microsoft

Description

An information disclosure vulnerability exists in Microsoft SQL Server Management Studio (SSMS) when it improperly enforces permissions. An attacker could exploit the vulnerability if the attacker's credentials allow access to an affected SQL server database. An attacker who successfully exploited the vulnerability could gain additional database and file information. The security update addresses the vulnerability by correcting how SQL Server Management Studio enforces permissions.

FAQ

What type of information could be disclosed by this vulnerability? The type of information that could be disclosed if an attacker successfully exploited this vulnerability relates to SQL table columns that would normally be restricted.

SQL Server

SQL Server

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Debashish Swain - Schlumberger Limited. 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 tool failed to apply the database's column-level permission checks when displaying or querying table metadata.

Impact

A user with valid credentials to an affected database could learn about restricted table columns and some file information; the text does not say whether this was seen in the wild.

What the attacker needed

Valid credentials for an affected SQL Server database

The fix

It was fixed by a security update that corrects how SSMS enforces permissions.

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 Management Studio is a tool used to manage Microsoft SQL Server databases. Permissions decide which parts of a database a user is allowed to see. Here the tool did not check those permissions properly, so someone with a valid database login could view columns that should have been hidden from them.

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.