Microsoft SQL Server Elevation of Privilege Vulnerability (2984340) - Remote

Summary
This host is missing an important security update according to Microsoft Bulletin MS14-044.
Impact
Successful exploitation will allow remote attackers to cause a Denial of Service or elevation of privilege. Impact Level: Application
Solution
Run Windows Update and update the listed hotfixes or download and update mentioned hotfixes in the advisory from this link, https://technet.microsoft.com/library/security/MS14-044
Insight
Flaws are due to when, - SQL Master Data Services (MDS) does not properly encode output. - SQL Server processes an incorrectly formatted T-SQL query.
Affected
Microsoft SQL Server 2014 x64 Edition, Microsoft SQL Server 2012 x86/x64 Edition Service Pack 1 and prior, Microsoft SQL Server 2008 R2 x86/x64 Edition Service Pack 2 and prior, Microsoft SQL Server 2008 x86/x64 Edition Service Pack 3 and prior.
Detection
Get the installed version with the help of detect NVT and check the version is vulnerable or not.
References