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
Newest First  |  Oldest First  |  Threaded View
Data Leak Week: Billions of Sensitive Files Exposed Online
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/10/2019
Intel Issues Fix for 'Plundervolt' SGX Flaw
Kelly Jackson Higgins, Executive Editor at Dark Reading,  12/11/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
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
Rethinking Enterprise Data Defense
Rethinking Enterprise Data Defense
Frustrated with recurring intrusions and breaches, cybersecurity professionals are questioning some of the industrys conventional wisdom. Heres a look at what theyre thinking about.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-5252
PUBLISHED: 2019-12-14
There is an improper authentication vulnerability in Huawei smartphones (Y9, Honor 8X, Honor 9 Lite, Honor 9i, Y6 Pro). The applock does not perform a sufficient authentication in a rare condition. Successful exploit could allow the attacker to use the application locked by applock in an instant.
CVE-2019-5235
PUBLISHED: 2019-12-14
Some Huawei smart phones have a null pointer dereference vulnerability. An attacker crafts specific packets and sends to the affected product to exploit this vulnerability. Successful exploitation may cause the affected phone to be abnormal.
CVE-2019-5264
PUBLISHED: 2019-12-13
There is an information disclosure vulnerability in certain Huawei smartphones (Mate 10;Mate 10 Pro;Honor V10;Changxiang 7S;P-smart;Changxiang 8 Plus;Y9 2018;Honor 9 Lite;Honor 9i;Mate 9). The software does not properly handle certain information of applications locked by applock in a rare condition...
CVE-2019-5277
PUBLISHED: 2019-12-13
Huawei CloudUSM-EUA V600R006C10;V600R019C00 have an information leak vulnerability. Due to improper configuration, the attacker may cause information leak by successful exploitation.
CVE-2019-5254
PUBLISHED: 2019-12-13
Certain Huawei products (AP2000;IPS Module;NGFW Module;NIP6300;NIP6600;NIP6800;S5700;SVN5600;SVN5800;SVN5800-C;SeMG9811;Secospace AntiDDoS8000;Secospace USG6300;Secospace USG6500;Secospace USG6600;USG6000V;eSpace U1981) have an out-of-bounds read vulnerability. An attacker who logs in to the board m...