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

 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Oldest First  |  Newest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/10/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
Researcher Finds New Office Macro Attacks for MacOS
Curtis Franklin Jr., Senior Editor at Dark Reading,  8/7/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-9079
PUBLISHED: 2020-08-11
FusionSphere OpenStack 8.0.0 have a protection mechanism failure vulnerability. The product incorrectly uses a protection mechanism. An attacker has to find a way to exploit the vulnerability to conduct directed attacks against the affected product.
CVE-2020-16275
PUBLISHED: 2020-08-10
A cross-site scripting (XSS) vulnerability in the Credential Manager component in SAINT Security Suite 8.0 through 9.8.20 could allow arbitrary script to run in the context of a logged-in user when the user clicks on a specially crafted link.
CVE-2020-16276
PUBLISHED: 2020-08-10
An SQL injection vulnerability in the Assets component of SAINT Security Suite 8.0 through 9.8.20 allows a remote, authenticated attacker to gain unauthorized access to the database.
CVE-2020-16277
PUBLISHED: 2020-08-10
An SQL injection vulnerability in the Analytics component of SAINT Security Suite 8.0 through 9.8.20 allows a remote, authenticated attacker to gain unauthorized access to the database.
CVE-2020-16278
PUBLISHED: 2020-08-10
A cross-site scripting (XSS) vulnerability in the Permissions component in SAINT Security Suite 8.0 through 9.8.20 could allow arbitrary script to run in the context of a logged-in user when the user clicks on a specially crafted link.