Home > SQL Server News > SQL Server security threat: An expert's advice
SQL Server News:
EMAIL THIS
QUESTION & ANSWER

SQL Server security threat: An expert's advice

By Ellen O'Brien
30 Jul 2002 | SearchDatabase.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

Security specialist David Litchfield answers questions for SearchDatabase.com about what he calls the most severe security threat to the SQL Server in its history. Litchfield, Next Generation Security Software co-founder and a frequent guest speaker at Black Hat conferences, stresses the importance of moving fast on this week's security threat.

How severe is this vulnerability?
Litchfield: This is a very high risk problem. It's the most severe issue SQL Server has seen. An attacker with no user ID or password can send a single UDP packet to the server and gain complete control.

Should people drop what they are doing and patch this right away?
Litchfield: In an ideal world everyone would drop everything and apply this patch, but the reality of the situation is that this is just not feasible. Many organizations require a testing period before applying a patch to production systems - for fear it will break their applications. This is understandable, but I would urge security and database administrators not to linger with this one. In the interim I'd suggest that administrators set a rule on their firewall such that all packets bound for UDP port 1434 on the SQL Server be dropped - regardless of where the packet seemed to originate from and whatever its source port.

Why is it so important to move quickly?
Litchfield: Here's why this is important. Let's say someone has a SQL Server on their DMZ, and it has a non-RFC 1918 address. And the organization has an external DNS Server, so the firewall is set up to allow responses to DNS queries into the 'clean' side of the firewall. All an attacker would need to do is spoof the IP address of the DNS Server (a very easy task as far as UDP is concerned) and set the exploit packet's source port to 53. To the firewall, this will look like a DNS response. It will allow the packet to pass through and, in turn, the SQL Server is hit. Since this is a buffer overflow vulnerability, an attacker can choose a code to execute. They can do anything they want to the database and its data. If you can't patch this quickly, then use your firewall to protect yourself.

How difficult is this vulnerability to exploit?
Litchfield: Anyone who can code a buffer overflow exploit will have no difficulties here. And, of course, when these programs reach the script kiddie community, then anyone who hasn't patched or firewalled themselves will be at considerable risk. This could be a target for the next big Internet worm.

This is a very high-risk problem and the most severe issue SQL Server has seen.

How does this compare with past vulnerabilities in SQL Server?
Litchfield: This, to my knowledge, is the first unauthenticated vulnerability that allows an attacker to take complete control. Others SQL Server vulnerabilities require the attacker to be able to log on, in some fashion. This may either be done directly, or through SQL Injection via a Web-based application.

How would a user know if they have this vulnerability?
Litchfield: If they're running SQL Server 2000 and they haven't applied the patch, then they will be vulnerable. Although the Microsoft bulletin neglected to say so, MSDE2000 is also vulnerable to this issue. As MSDE2000 is installed with Visual Studio .NET, anyone who has this on their system may be vulnerable and not know it.


Tags: SQL Server SecurityVIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
SQL Server Security
Meet compliance requirements with improved database security practices
Hardening the network and OS for SQL Server security
Securing the server and database in SQL Server
SQL Server security made simple and sensible
Blog: Protect your databases from the internal threat
Setting up SQL Server Service Broker for secure communication
The keys to database backup protection for SQL Server
Understanding transparent data encryption in SQL Server 2008
The fine line between not encrypting your databases and breach notification
Securing SQL Server with access control, login monitoring and DDL triggers

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
data corruption  (SearchSQLServer.com)
data hiding  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary




SQL Administration: SQL Security, SQL Backup, SQL Server Performance
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts