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.


07:50 AM
Connect Directly

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

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    A Realistic Threat Model for the Masses
    Lysa Myers, Security Researcher, ESET,  10/9/2019
    USB Drive Security Still Lags
    Dark Reading Staff 10/9/2019
    Virginia a Hot Spot For Cybersecurity Jobs
    Jai Vijayan, Contributing Writer,  10/9/2019
    Register for Dark Reading Newsletters
    White Papers
    Cartoon Contest
    Current Issue
    7 Threats & Disruptive Forces Changing the Face of Cybersecurity
    This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
    Flash Poll
    2019 Online Malware and Threats
    2019 Online Malware and Threats
    As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2019-10-15
    An issue was discovered in 74CMS v5.2.8. There is a SQL Injection generated by the _list method in the Common/Controller/BackendController.class.php file via the index.php?m=Admin&c=Ad&a=category sort parameter.
    PUBLISHED: 2019-10-15
    qibosoft 7 allows remote code execution because do/jf.php makes eval calls. The attacker can use the Point Introduction Management feature to supply PHP code to be evaluated. Alternatively, the attacker can access admin/index.php?lfj=jfadmin&action=addjf via CSRF, as demonstrated by a payload in...
    PUBLISHED: 2019-10-15
    In the Rapid Gator application 0.7.1 for Android, the username and password are stored in the log during authentication, and may be available to attackers via logcat.
    PUBLISHED: 2019-10-15
    An issue was discovered in Zoho ManageEngine OpManager before 12.4 build 124089. The OPMDeviceDetailsServlet servlet is prone to SQL injection. Depending on the configuration, this vulnerability could be exploited unauthenticated or authenticated.
    PUBLISHED: 2019-10-15
    In the Seesaw Parent and Family application 6.2.5 for Android, the username and password are stored in the log during authentication, and may be available to attackers via logcat.