Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Vulnerabilities / Threats

Zero-Day SQL Server Flaw Could Allow Remote Code Execution

Exploits of unpatched vulnerability have already been published, Microsoft warns

Microsoft is warning users of a zero-day vulnerability discovered in SQL Server, and that exploits of the flaw have already been published.

The software giant yesterday issued a security advisory outlining a flaw that could allow remote code execution on many versions of SQL Server. The company has not had time to develop a patch, but it is offering some "workarounds" that it says will alleviate the problem.

Although exploits are out on the Internet, "Currently, Microsoft is not aware of active attacks that use this exploit code or of customer impact at this time," the advisory states.

According to one source, the initial exploit was published by the same "researcher" who discovered the flaw. "This is an example of irresponsible disclosure," says Eric Schultze, CTO at Shavlik Technologies. "The person that found that issue took the proper steps to report it to Microsoft. However, they grew impatient with Microsoft and decided to release exploit code before Microsoft announced a patch.

"This so-called security researcher has therefore placed thousands of servers and potentially untold number of persons' personally identifiable information at risk for purposes of their own popularity," Schultze continues.

Schultze suggests that the recent discovery of zero-day bugs in Microsoft's Internet Explorer 7 has proved that Websites are susceptible to SQL injection attacks, "which are now vulnerable to more serious attacks using this zero-day SQL flaw. In other words, what was bad has now become worse." NSS Labs late last week published a study that shows most popular endpoint security software packages can do little to stop attacks that exploit the IE 7 bug.

The new SQL Server bug is an authenticated remote code execution vulnerability that exists in the MSSQL extended stored procedure, "sp_replwritetovarbin," due to an invalid parameter check, Microsoft says. "All systems running one of the affected Microsoft SQL Server software where a malicious user is allowed to log on are at risk of exploitation of this vulnerability." Microsoft says. "In addition, Web applications with a SQL Server back-end database are at risk if a SQL Injection vulnerability exists."

Microsoft says the new SQL Server zero-day may not be as easy to exploit as the IE7 glitch. "This vulnerability is not exposed anonymously," the advisory states. "An attacker would need to either authenticate to exploit the vulnerability or take advantage of a SQL injection vulnerability in a Web application that is able to authenticate." MSDE 2000 and SQL Server 2005 Express do not allow remote connections, so an authenticated attacker would need to initiate the attack locally to exploit the vulnerability, the company says. Until a patch can be issued, Microsoft is recommending a workaround that requires users to disable the "sp_replwritetovarbin" extended stored procedure. This workaround only affects customers who use transactional replication with updatable subscriptions in SQL, which is only a fraction of those who use SQL Server, the company says.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message Tim Wilson is Editor in Chief and co-founder of Dark Reading.com, UBM Tech's online community for information security professionals. He is responsible for managing the site, assigning and editing content, and writing breaking news stories. Wilson has been recognized as one ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
Mobile Banking Malware Up 50% in First Half of 2019
Kelly Sheridan, Staff Editor, Dark Reading,  1/17/2020
Exploits Released for As-Yet Unpatched Critical Citrix Flaw
Jai Vijayan, Contributing Writer,  1/13/2020
Microsoft to Officially End Support for Windows 7, Server 2008
Kelly Sheridan, Staff Editor, Dark Reading,  1/13/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
[Just Released] How Enterprises are Attacking the Cybersecurity Problem
[Just Released] How Enterprises are Attacking the Cybersecurity Problem
Organizations have invested in a sweeping array of security technologies to address challenges associated with the growing number of cybersecurity attacks. However, the complexity involved in managing these technologies is emerging as a major problem. Read this report to find out what your peers biggest security challenges are and the technologies they are using to address them.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-7227
PUBLISHED: 2020-01-18
Westermo MRD-315 1.7.3 and 1.7.4 devices have an information disclosure vulnerability that allows an authenticated remote attacker to retrieve the source code of different functions of the web application via requests that lack certain mandatory parameters. This affects ifaces-diag.asp, system.asp, ...
CVE-2019-15625
PUBLISHED: 2020-01-18
A memory usage vulnerability exists in Trend Micro Password Manager 3.8 that could allow an attacker with access and permissions to the victim's memory processes to extract sensitive information.
CVE-2019-19696
PUBLISHED: 2020-01-18
A RootCA vulnerability found in Trend Micro Password Manager for Windows and macOS exists where the localhost.key of RootCA.crt might be improperly accessed by an unauthorized party and could be used to create malicious self-signed SSL certificates, allowing an attacker to misdirect a user to phishi...
CVE-2019-19697
PUBLISHED: 2020-01-18
An arbitrary code execution vulnerability exists in the Trend Micro Security 2019 (v15) consumer family of products which could allow an attacker to gain elevated privileges and tamper with protected services by disabling or otherwise preventing them to start. An attacker must already have administr...
CVE-2019-20357
PUBLISHED: 2020-01-18
A Persistent Arbitrary Code Execution vulnerability exists in the Trend Micro Security 2020 (v160 and 2019 (v15) consumer familiy of products which could potentially allow an attacker the ability to create a malicious program to escalate privileges and attain persistence on a vulnerable system.