Microsoft SQL Server Analysis Services Information Disclosure Vulnerability (CVE-2019-0819)
Microsoft SQL Server Analysis Services did not properly enforce metadata permissions, so an authenticated attacker could query tables or columns they were not allowed to access. This could disclose restricted SQL table column information.
Originally disclosed on Microsoft
Description
An information disclosure vulnerability exists in Microsoft SQL Server Analysis Services when it improperly enforces metadata permissions. An attacker who successfully exploited the vulnerability could query tables or columns for which they do not have access rights. To exploit this vulnerability, an authenticated attacker would need to submit a query to an affected Analysis Services database. The security update addresses the vulnerability by correcting how SQL Server Analysis Services 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.
FAQ
There are GDR and/or CU (Cumulative Update) updates offered for my version of SQL Server. How do I know which update to use? First, determine your SQL Server version number. For more information on determining your SQL Server version number, see Microsoft Knowledge Base Article 321185 - How to determine the version, edition, and update level of SQL Server and its components. Second, in the table below, locate your version number or the version range that your version number falls within. The corresponding update is the one you need to install. Note If your SQL Server version number is not represented in the table below, your SQL Server version is no longer supported. Please upgrade to the latest Service Pack or SQL Server product in order to apply this and future security updates. Update number Title Apply if current product version is… This security update also includes servicing releases up through… 4494351 Description of the security update for the Information Disclosure vulnerability in SQL Server 2017 (GDR): May 14, 2019 14.0.1000.169 - 14.0.2002.14 4293803 4494351 Description of the security update for the Remote Code Execution vulnerability in SQL Server 2017 (CU+GDR): May 14, 2019 14.0.3006.16 - 14.0.3076.1 KB4484710 – RTM CU14 What are the GDR and CU update designations and how do they differ? The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different update servicing branches in place for SQL Server. The primary difference between the two is that CU branches cumulatively include all updates for a given baseline, while GDR branches include only cumulative critical updates for a given baseline. A baseline can be the initial RTM release or a Service Pack. For any given baseline, either the GDR or CU updates are options if you are a) at the baseline version (never installed any servicing updates, CU or GDR), or b) have only installed GDR updates. The CU update is the only option if you have installed a previous SQL Server CU for the baseline you are on. Does this security update apply to SQL Server 2017 on Linux or on Linux Docker Containers? No. The fix is only applicable to SQL Server Analysis Services (AS), which is not available within SQL Server 2017 on Linux. Will these security updates be offered to SQL Server clusters? Yes. The updates will also be offered to SQL Server 2017 RTM instances that are clustered. Updates for SQL Server clusters will require user interaction. If the SQL Server 2017 RTM cluster has a passive node, to reduce downtime, Microsoft recommends that you scan and apply the update to the inactive node first, then scan and apply it to the active node. When all components have been updated on all nodes, the update will no longer be offered. Can the security updates be applied to SQL Server instances on Windows Azure (IaaS)? Yes. SQL Server instances on Windows Azure (IaaS) can be offered the security updates through Microsoft Update, or customers can download the security updates from Microsoft Download Center and apply them manually.
SQL Server
SQL Server
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 service did not correctly check metadata permissions before returning query results.
Impact
An authenticated attacker could read restricted table column information, but the text does not say whether this was demonstrated in practice.
What the attacker needed
Authenticated access to an affected database
The fix
The security update corrects how SQL Server Analysis Services 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.
This is a permissions bug in a database service. Normally, a user should only see data they are allowed to see, but here the service checked permissions incorrectly. A logged-in user could ask for data they should not have been able to read, and the service would return it.
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.