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.

Analytics

11/16/2006
07:50 AM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Study: SQL Server Is Safest DB

Research finds significantly fewer vulnerabilities in SQL Server database than in Oracle

That big spike in Web application vulnerabilities is bad news for your database. And apparently, some databases are more of a target than others.

Eric Ogren, security analyst for Enterprise Strategy Group, has compiled Common Vulnerabilities and Exposures (CVE) data from Oracle, Microsoft's SQL Server, and the open source MySQL database, and found some major differences. In fact, Oracle has 70 vulnerabilities, MySQL has 59, and SQL Server has just two. Sybase has seven, and IBM's DB2 has four, according to ESG's findings.

Ogren says some of the security-related features built into Microsoft's SQL Server has helped keep its number of reported bugs to a minimum. "Microsoft finds the problems before it gets to the point of using a scanning tool," he says, whereas Oracle relies on scanning for problems after development is complete, he says.

But Ted Julian, vice president of marketing for AppSec, which sells vulnerability scanning tools for databases, says the lopsided vulnerability count may be more a function of where the more valuable corporate data typically lies -- in the Oracle database. "There's no question the research community has been more focused on Oracle," he says. "Oracle is far more likely to have valuable data on it" than SQL Server, Julian says.

Ogren, however, doesn't agree that Oracle databases necessarily hold more precious data. "I see plenty of companies that have confidential data in SQL Server, Oracle, DB2 and Sybase. It is certainly not as if it all sits on Oracle," he says.

But either way you slice it, hacking a database is like striking gold, whether it's via a Web app or database bug -- or both. There have been a number of security issues with Web applications recently. (See The Web App Security Gap and Cross-Site Scripting: Attackers' New Favorite Flaw.) And at least one-third of the 97 million data records that were compromised since 2005 came from a database, AppSec's Julian notes. (See Database Threat Intensifies.)

"What's the most obvious target in the world? The database," he says. "It's where data lives in a single place."

Over 70 percent of the vulnerabilities Symantec saw this year were Web application bugs, which are often the entry point to the database, says Oliver Friedrichs, director of Symantec Security Response. "This goes hand-in-hand with database security," Friedrichs says. "Web apps are the front-end to a database a lot of the time. They are a mechanism to ultimately get to your database."

So those SQL injection, CGI scripts, and other vulnerabilities out there in your Web apps could lead the bad guys right to your corporate data. And that's not even taking into account the bugs in the databases themselves. "If you can break into a Web application, you can get access to the database using the same application," Friedrichs says.

And you can't count on that firewalled DMZ to protect your database anymore: Databases are most at risk to an insider threat, ESG's Ogren says, and these attacks don't typically use vulnerabilities at all.

"It could be your employees, your outsourcers, or your business partners who have an authorized ID," he says. "These are the people that know enough to take advantage of things like privilege escalation. These are more attacks against the database design than they are attacks against a vulnerability."

Ogren notes that Microsoft's latest development strategy of baking security into the code from the get-go has made SQL Server safer, as well as the fact that it disables by default the riskier options like Windows command shells and SQL browser service, which could be used by attackers. It also uses authenticated identity, where a user only gets to see what he is authorized to see in his database searches, Ogren says.

Aside from the known CVE bugs, enterprises need to watch out for configuration errors, too -- in access and account control, such as leaving the default admin password active, for instance. Database vulnerability scanners from AppSec or Imperva, for instance, help you discover just what databases are on your network. "It's stunning how often companies don't know what databases are out there," Ogren says.

Actively monitoring for zero-day vulnerabilities or insider threats is also crucial for the unknown threats to the database, and encryption is also essential, experts say.

— Kelly Jackson Higgins, Senior Editor, Dark Reading

  • Oracle Corp. (Nasdaq: ORCL)
  • Microsoft Corp. (Nasdaq: MSFT)
  • Application Security Inc.

    Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... 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
    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-17489
    PUBLISHED: 2020-08-11
    An issue was discovered in certain configurations of GNOME gnome-shell through 3.36.4. When logging out of an account, the password box from the login dialog reappears with the password still visible. If the user had decided to have the password shown in cleartext at login time, it is then visible f...
    CVE-2020-17495
    PUBLISHED: 2020-08-11
    django-celery-results through 1.2.1 stores task results in the database. Among the data it stores are the variables passed into the tasks. The variables may contain sensitive cleartext information that does not belong unencrypted in the database.
    CVE-2020-0260
    PUBLISHED: 2020-08-11
    There is a possible out of bounds read due to an incorrect bounds check.Product: AndroidVersions: Android SoCAndroid ID: A-152225183
    CVE-2020-16170
    PUBLISHED: 2020-08-11
    The Temi application 1.3.3 through 1.3.7931 for Android has hard-coded credentials.
    CVE-2020-17487
    PUBLISHED: 2020-08-11
    radare2 4.5.0 misparses signature information in PE files, causing a segmentation fault in r_x509_parse_algorithmidentifier in libr/util/x509.c. This is due to a malformed object identifier in IMAGE_DIRECTORY_ENTRY_SECURITY.