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
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/10/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-8904
PUBLISHED: 2020-08-12
An arbitrary memory overwrite vulnerability in the trusted memory of Asylo exists in versions prior to 0.6.0. As the ecall_restore function fails to validate the range of the output_len pointer, an attacker can manipulate the tmp_output_len value and write to an arbitrary location in the trusted (en...
CVE-2020-8905
PUBLISHED: 2020-08-12
A buffer length validation vulnerability in Asylo versions prior to 0.6.0 allows an attacker to read data they should not have access to. The 'enc_untrusted_recvfrom' function generates a return value which is deserialized by 'MessageReader', and copied into three different 'extents'. The length of ...
CVE-2020-12106
PUBLISHED: 2020-08-12
The Web portal of the WiFi module of VPNCrypt M10 2.6.5 allows unauthenticated users to send HTTP POST request to several critical Administrative functions such as, changing credentials of the Administrator account or connect the product to a rogue access point.
CVE-2020-12107
PUBLISHED: 2020-08-12
The Web portal of the WiFi module of VPNCrypt M10 2.6.5 allows command injection via a text field, which allow full control over this module's Operating System.
CVE-2020-7374
PUBLISHED: 2020-08-12
Documalis Free PDF Editor version 5.7.2.26 and Documalis Free PDF Scanner version 5.7.2.122 do not appropriately validate the contents of JPEG images contained within a PDF. Attackers can exploit this vulnerability to trigger a buffer overflow on the stack and gain remote code execution as the user ...