Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Oracle Has More Flaws Than SQL Server

Posted by kdawson on Mon Nov 27, 2006 02:33 PM
from the nyah-nyah dept.
jcatcw writes, "Next Generation Security Software Ltd. of Surrey, England, compared bugs in Oracle and SQL Server that were reported and fixed between December 2000 and November 2006. The tally: Oracle had 233; MS SQL had 59. The products compared were Oracle 8, 9, and 10g; SQL Server 7, 2000 and 2005. From the article: '[The head of the survey said,] "The results show that the reputation that Microsoft SQL Server had back in 2002 for relatively poor security is no longer deserved."' Oracle's response: 'Measuring security is a very complex process, and customers must take a number of factors into consideration — including use-case scenarios, default configurations, as well as vulnerability remediation and disclosure policies and practices.'"
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • translation (Score:5, Funny)

    by User 956 (568564) on Monday November 27 2006, @02:36PM (#17005582) Homepage
    Oracle's response: 'Measuring security is a very complex process, and customers must take a number of factors into consideration -- including use-case scenarios, default configurations, as well as vulnerability remediation and disclosure policies and practices.'

    Oracle's response in english: Clearly you have no idea what you're doing, because your results showed us in a poor light. Perhaps you'd like to try again. We have a bag of money for you.
    • Re:translation (Score:5, Insightful)

      by HairyCanary (688865) on Monday November 27 2006, @02:40PM (#17005668)
      I tend to agree. But Oracle does have a point. Trying to distill a security argument down to number of bugs is oversimplifying. The severity of the bugs, how easy they are to exploit, etc are all important to consider. Even more important in my opinion is how quick the vendor is at fixing them. If Oracle's average time to fix was 24 hours compared to six months for Microsoft, the 4:1 bug ratio is not such a big deal.
      • Re:translation (Score:5, Insightful)

        It's typical MS fud. They LOVE to harp on how many bugs their competition has, but there is a hell of a lot more to it than quantity. Slammer [symantec.com] anyone?

        Oracle is a huge robust database with lots of extremely security conscious clients. A high number of reported bugs and fixes shows that they're executing due diligence, and working to keep their system as secure as possible. MSSQL's low number of bugs suggests that Microsoft isn't digging hard into their code, but only waiting for big public flaws.

        They used the same argument in claiming that IE was less buggy than Firefox (see this crappy article [informationweek.com]) and it's just as untrue in this case.
         
        • Re:translation (Score:5, Informative)

          by arivanov (12034) on Monday November 27 2006, @03:17PM (#17006278) Homepage
          Oracle is also the database with the longest time to fix security bugs. I will simply quote the message from BUGTRAQ which is most relevant to this thread. It about says it all:
          Thor (Hammer of God) wrote:
          David Litchfield is one of the most predominant security researchers in the field, particularly in the area of database security. He and NGS have discovered more combined security vulnerabilities in leading DBMS products than anyone else in the world.
          Given this fact, I think that not only is it appropriate for David to give whatever opinions he chooses in his research, but that it is his opinions that actually give the research real, tangible, applicable value. With his indisputable status as an authority on database security and his unwavering integrity, I have no problem whatsoever in considering Dave's opinions to be "fact."

          Actually the whole discussion on BUGTRAQ is definitely worth reading. By the way the vulnerability behind Slammer was discovered by guess who - David Litchfield.
        • Re: (Score:3, Insightful)

          MSSQL came from Sybase 10, which was a quite excellent database with a much better reputation than Oracle at the time. It didn't scale as well, but it was quite a bit faster on mid-size data sets. If this is the one division in Microsoft that's employing people who actually fix bugs, I'd say this is an entirely credible report. Given what a PITA Oracle is in general, it's not even unlikely.
      • Re:translation (Score:5, Insightful)

        by Anonymous Coward on Monday November 27 2006, @03:02PM (#17006072)
        I'm not an oracle person, but from my understanding oracle allows you to have finer grained security on data, stored procedures and so on than sql server. Perhaps the complexity of oracle compared to sql server is part of the reason there are more bugs.

        Lets face it, a bug report can be anything from a misspelled error message to a gaping sa/root/admin (whatever oracle calls it) compromise.

        Severity is important. For instance, most popular linux distros (minus gentoo) have quite a few security holes do to third party package inclusion. Often the holes are not severe, but they do make linux look artificially insecure compared to some other operating systems. If redhat pushed 90 updates a month at you and Microsoft only 35... well who looks less secure? How many were feature enhancements? How many did each vendor NOT include a fix for?

        Disclaimer: My above reference to linux distros only includes bloated packages like redhat, suse, etc. Most people using these distros tend to do a "full install". I'm a mysql or sql server user whenever possible.

        Often one could argue that smaller companies get less attention so a large number of vulnerabilities would indicate a very insecure product. Oracle is obviously smaller than microsoft as a whole. In this case, oracle gets a lot of attention as its used for large scale deployments as well as their *lovely* business practices.
        • Re:translation (Score:4, Interesting)

          by A_Non_Moose (413034) on Monday November 27 2006, @04:35PM (#17007424) Homepage Journal
          Lets face it, a bug report can be anything from a misspelled error message to a gaping sa/root/admin (whatever oracle calls it) compromise.

          If that is the case, oracle's mgmt tools heavy reliance not only on java, but *specific* version of java
          w/o updates I'm aware of, would explain a lot.

          off the top of my head:
          Input fields that don't register the first key press, menu item that don't redraw for some reason, refreshes and connection errors that require exit/relaunch.

          Other frustrations like that, that aren't oracle's "fault" per se, but don't help the spec/check sheet for bugs.

          Didn't RTFA (yet), but are those counted as bugs? I'd like to know.
      • Re:translation (Score:5, Insightful)

        by ZachPruckowski (918562) <zachary.pruckowski@gmail.com> on Monday November 27 2006, @03:06PM (#17006140)
        You're right. This survey is pretty messed up. I mean, we're comparing *bugs fixed*. Not bugs still open, or any measure of severity, or what got exploited, or any measure of turn-around time.

        This is like saying that Fire Department A put out less fires than Fire Department B. That's nice, but what I really want to know is how long it took for the trucks to arrive, the size of the fires, and also if there are any houses that burned down before the Fire Department got there.
        • Re: (Score:3, Interesting)

          You might also want to know how many houses in the area are built like tinderboxes.

          The bottom line is of course "Am I more likely to have a security problem while using Database A or while using Database B?" Perhaps some studies ought to be done to determine the relationship between measurable things like number of bugs, time to patch, etc, and various user's perception (or perhaps security pros' perception) of how many security problems were actually had. Then we'd be able to actually assign some sembl
        • Re: (Score:3, Interesting)

          I agree, counting bugs is an oversimplification...

          My biggest surprise here is that they only found/or reviewed less than a couple hundred bugs each. Strange, because I am sure that I can find more bugs than that in 4 days work on each product. This research can't be all that deep. I must be missing something???

          Any normal QA person would be able to find that many bugs in 10 or 20 days.
      • ...then it stands to reason that you will have a ton of additional bugs.

        This argument in no way excuses Oracle for their timely patch cycle (or lack thereof), but may explain the higher number of patches.

        I haven't looked at the Sybase/SQL Server family for awhile, but I assume that it still doesn't offer anything like Flashback, LogMiner, richer indexing, direct LGWR connection to DataGuard, resumable transactions, or even basic multiversioning.

        • If you offer a ton of additional features...then it stands to reason that you will have a ton of additional bugs.

          This argument in no way excuses Oracle for their timely patch cycle (or lack thereof), but may explain the higher number of patches.

          It is also important that Oracle supports virtually any server platform in current use, while SQL Server only supports a small number of similar platforms. Back in 2001 I was still getting support for Oracle 7.0 on VAX/VMS! One get Oracle on Linux, AIX, Solaris, HP-UX, zOS, OS400, Windows, a variety of Alpha platforms, Itanium platforms, etc. And this isn't shallow level support. Oracle can utilize their own file systems, so they are going at the bare hardware on all these systems. Care to guess what that does to the QA cycle?

          Oracle is the shiznit when it comes to high performance general database work. It will scale far beyond almost everything else, with DB2 a close #2. Niche players like TeraData have their place too, but only Oracle can scale across the entire enterprise.

      • I didn't know that SQL Server 2005 was standard with Windows 2003 Server. When did they start bundling it?
          • If you look around, peek your head around and such, lots of banks aren't even running any Microsoft anything. Wells Fargo for example uses a Unix-based system with X Terminals at the teller windows. I sincerely doubt any bank worth mentioning is storing my data in MSSQL. (with all that said, my current bank uses windows PCs as terminals, because they are stupid.)
  • by ArcherB (796902) on Monday November 27 2006, @02:38PM (#17005624) Journal
    MSSQL is a SQL Server. MySQL is a SQL Server. Oracle is a SQL Server. Please be more specific and explain which SQL Server you are talking about.

    Granted, the summary does explain that the article does indeed refer to MSSQL Server, but please stop calling it just SQL Server. MSSQL Server != SQL Server

    (OK, I feel better. What is the moderation for RANT?)
    • Actually, Microsoft's SQL Servier is the only one of the three that actually has "SQL Server" in it's name, or even as it's name.
    • Yes, please don't let Microsoft own the name "SQL Server". It so wrong to say just "SQL Server"!
    • Butters, goddammit!
    • Re: (Score:3, Informative)

      Microsoft just so happens to be so uncreative that they gave their DB server application a name that is merely a description. Calling it SQL Server is appropriate, since that is, after all, what it calls itself and as far as I know, is the de facto name for the software. Yes, it's a bit like calling a Web Browser WebBrowser. Blame MS for picking a nondescript name.
      • Microsoft just so happens to be so uncreative that they gave their DB server application a name that is merely a description.
        Could have been worse... [apple.com]
      • by drinkypoo (153816) <martin.espinoza@gmail.com> on Monday November 27 2006, @04:03PM (#17006946) Homepage Journal
        Actually, the name of the product is "Microsoft SQL Server". Still a stupid name but it's not just "SQL Server". Lazy techies are responsible for not using the full name, not that I blame them. What I want to know is how Microsoft managed to convince a court that the name of another product of theirs was actually "Windows" and not "Microsoft Windows" (look at the box sometime!) which forced all those other people to change their product names.
    • NFS has More Flaws Than File Server?

      yes, what exactly is the title talking about?
    • Same thing with "%*$^ing piece of $^%* database". How can you tell if they are talking about MSSQL or Oracle?
  • by sitturat (550687) on Monday November 27 2006, @02:39PM (#17005642) Homepage
    Anyone that has tried to read (or even tried to lift up) one of the oracle manuals knows that this is seriously feature-rich and complicated stuff. It would be more interesting to see how many bugs per line of code the two contenders have.
  • Oracle is right (Score:5, Insightful)

    by Josh Lindenmuth (1029922) <joshlindenmuth.gmail@com> on Monday November 27 2006, @02:39PM (#17005652) Journal
    While the # of vulnerabilities is unacceptable, Oracle is right ... just comparing the # of bugs is not really valid. Now if Oracle has had more Severe security violations that Microsoft, it would be a different (and far more interesting) story. Oracle is still a more robust database, so one would expect there to be more bugs than another app with fewer modules and lines of code.
    • Re: (Score:3, Insightful)

      Comparisons of number of bugs are NEVER fair. The situation is even worse in a closed-source environment, because we may never actually see all the bugs that get fixed. Even in open source, we sometimes fix bugs in the code with filing a report. Sometimes bugs are filed for a misspelling in the user interface. Sometimes 4 or 5 bugs are reported based on behaviour alone, and upon inspection, there's really one root problem (maybe even something simple) that's causing all of those bugs, so one fix goes in and
  • by 91degrees (207121) on Monday November 27 2006, @02:41PM (#17005676) Journal
    The number of flaws doesn't matter. a slice of cheese has one flaw as a database. It isn't a database. This doesn't make it a better product.
    • The number of flaws doesn't matter. a slice of cheese has one flaw as a database. It isn't a database. This doesn't make it a better product.

      You are vastly oversimplifying, and clearly have not funded a study of the market. Cottage cheese passes an ACID test, and I hear that Swiss Cheese is full of holes.

  • and customers must take a number of factors into consideration

    Not least the criteria for selecting and enumerating flaws, and any differences between those criteria for the two products. Not saying that there is a problem, just that any prospective customer needs to take this into consideration and check his facts.

    This whole study reminds me of a couple of years ago, when someone decided to make a comparative list of security flaws between Windows and Linux. For the former, they only included official Microsoft security fixes. For the latter, they included just about every bug in every open source project known to man. Big surprise, Windows was found to have less flaws.

    When it comes to security, trust no one. Especially not research firms, security "specialists" and people mouthing off about security on Slashdot.

    Hey, waitaminute....

  • Reported AND fixed (Score:5, Interesting)

    by nels_tomlinson (106413) on Monday November 27 2006, @02:43PM (#17005704) Homepage
    From the summary: ... compared bugs in Oracle and SQL Server that were reported and fixed between December 2000 and November 2006.

    Reported and fixed means that the company which doesn't fix bugs looks more secure. Not that I'm implying that MS is worse than Oracle on this, mind you. I just wanted to point out that this metric has loads of potential flaws.

  • by khasim (1285) <brandioch.conner@gmail.com> on Monday November 27 2006, @02:45PM (#17005740)
    Between December 2000 and November 2006, external researchers discovered 233 vulnerabilities in Oracle's products compared with 59 in Microsoft's SQL Server technology, according to NGSS. The study looked at vulnerabilities that were reported and fixed in SQL Server 7, 2000 and 2005 and Oracle's database Versions 8, 9 and 10g.

    Let's see that again.

    The study looked at vulnerabilities that were reported and fixed...

    So, if it wasn't fixed, was it counted?

    The results show that Microsoft's software development life-cycle processes appear to be working, he said.

    Huh? Security is not about "software development life-cycle".

    That's why you have almost daily updates of anti-virus software for Microsoft products.

    In an e-mailed comment, an Oracle spokeswoman said the number of reported vulnerabilities in a product alone is not a measure of the overall security of that software.

    Big time. One remote root vulnerability is worth 10,000 local app crash vulnerabilities.

    "Measuring security is a very complex process, and customers must take a number of factors into consideration -- including use-case scenarios, default configurations as well as vulnerability remediation and disclosure policies and practices."

    Yep. Because Ubuntu has, by default, no open ports. So it is, by default, 100% resistant to worms.

    Remember, you can never count on a user applying a patch. Your system has to be as secure as possible in the default, unpatched, configuration.

    Basing a product's security just on the number of vulnerabilities discovered and fixed may not be the best approach, said Pete Lindstrom, an analyst at Midvale, Utah-based Burton Group.

    Not only is it not "the best approach", it is a fucking idiotic approach only used by morons who have no understanding of what "security" is.

    It's not the number of bugs. It's what access can be gained by that bug and how easily it is to invoke that bug in the various "standard" configurations.
    • by Rich0 (548339) on Monday November 27 2006, @03:14PM (#17006240) Homepage
      While I agree with 95% of what you said, I'd take issue with this:

      Ubuntu has, by default, no open ports. So it is, by default, 100% resistant to worms.


      Not all worms require open ports to spread - a worm might target a low-level kernel flaw in the network stack (remember the ping-of-death?).
  • ...and it was Slammer, you'd have to admit it was kind of a biggie.
  • ... of Surrey, England, compared bugs in Oracle and SQL Server that were reported and fixed between December 2000 and November 2006. The tally: Oracle had 233; MS SQL had 59.

    Maybe it's just me, but wouldn't it be more important from a security standpoint to determine which had more bugs that were reported and not fixed? Or even which has more bugs that weren't reported (which is, of course, undefined, and therefore invalidates this ridiculous study)?

    Or perhaps weight the severity of the bugs?

    I'm bitter

  • More FUD (Score:3, Interesting)

    All code has bugs. How many of the bugs are important to the users?

    Who cares?
  • I think we'll stick with PostgreSQL [postgresql.org] for our little database [blogs.com].
  • David Litchfied (Score:4, Informative)

    by Cally (10873) on Monday November 27 2006, @02:50PM (#17005846) Homepage
    It should be pointed out that this is not just A.N. Random UK Software Co trying to flog product. This is David Litchfield, one of that small number of security researchers whose names and work any self-respecting infosec analyst should be familar. He's done a lot of really superb security work, including trashing several versions of SQL Server; so he knows whereof he speaks.

    NGS have of course done work on SQL Server for Microsoft; I refer you to the brief and rather one-sided flamewar on Bugtraq/FD that erupted when this was pointed out... actually see for yourself [neohapsis.com]... (and here's the Bugtraq thread [neohapsis.com]). I predict this will deal with 75% of the "but this is nonsense, because..." posts ;)

    He's got a lot of credibility. This is the point I'm trying to make :)

    • Re: (Score:3, Insightful)

      That's nice, but argument from authority doesn't work when the methodology used is clearly bogus. If Larry Ellison announced that MSSQL is more secure than Oracle and based that assertion on the number of bugs fixed in a given time period, I wouldn't trust him either.
  • by Ant P. (974313) on Monday November 27 2006, @03:01PM (#17006060) Homepage
    x bugs reported and ignored, y bugs not reported at all and not fixed.
  • My experience (Score:5, Informative)

    by truthsearch (249536) on Monday November 27 2006, @03:10PM (#17006188) Homepage Journal
    I worked extensively with Oracle and SQL Server for 10 years at 2 companies. I ran into bugs with both systems. There was a vast difference between how each company responded to our bug reports.

    We never contacted Microsoft with anything but the most severe bugs, and only those not documented on their web site. Even having the highest contract possible with Microsoft, they charged us for each phone call. Never once did the first 3 people we talked to have a clue. After going through 3 or 4 people we got to speak to a developer. For every bug except one, we were told to wait for the next official patch or Service Pack to fix our issue. One time we were fortunate enough to have a DLL updated by a developer and sent to us directly. Response by developers was very quick, but the other staff responded slow.

    At the same time, Oracle was paying out $10,000 for each bug found. I thought I found the golden ticket. Turns out someone else had reported this extremely obscure bug I found earlier, but it wasn't yet published online anywhere. Every time we contacted Oracle we got to speak to a developer very quickly. On at least one occassion they sent a developer to our office to help investigate a bug. Every bug we reported got a patch very quickly.

    The support from Oracle was far far superior to Microsoft. The bugs I ran into with Oracle were also far more obscure than those I found in Microsoft's SQL Server. I couldn't believe some of the things Microsoft left broken for months. Even if Oracle has a larger number of reported bugs I'd pick them over Microsoft any day.
    • Re: (Score:2, Informative)

      Even having the highest contract possible with Microsoft, they charged us for each phone call.

      Not only do even the basement support plans include free support calls, you are never charged if it's a bug in their product. So either you're a very poor communicator, a liar, or what you were calling about wasn't a bug at all.
      • Re:My experience (Score:4, Insightful)

        by anto (41846) <ajw@@@pobox...com> on Monday November 27 2006, @03:54PM (#17006834) Homepage Journal
        Have you tried to call MS & log a 'support' call - more than once we have had to hand over the credit card no before the call will be forwarded on. Of course with the promise that if there was an issue they wouldn't charge it.

        Oracle on the other hand request your support contract no (which they will actually look up for you) once you get past that really minor issue you never hear anything about money again. If you are unlucky enough to have a real bug that gets escalated you have the fun experience of hearing from someone from oracle every few hours - the calls seem to come from all over the world (based on accents etc)

        More than once I have had a custom patch created for what to oracle must have seemed like a really minor bug.
  • by Randolpho (628485) on Monday November 27 2006, @03:13PM (#17006220) Homepage Journal
    ... they are rather quick to quash and fix a discovered security bug. Yes, there's a reason why I used both words. Check out the aftermath of this example [thedailywtf.com] at The Daily WTF.
  • by mattwarden (699984) on Monday November 27 2006, @05:38PM (#17008472) Homepage
    My left arm has more dead skin cells than my right index finger.
    • I use SQL Server 2005 at work and it's pathetic. Postgres is more useful!
      How about defending your answer? What don't you like about SQL server 2005, and what do you like about Postgres that SQL Server 2005 does not provide for you.

      So for from what i've seen in SQL Server 2005, it doesn't seem that bad. At work, we're experimenting with the new mirroring feature on some test servers.
    • Re: (Score:2, Insightful)

      I use SQL Server 2005 at work and it's pathetic.

      My spidey senses tell me that you've never actually used SQL Server at all.
    • Just because there were more bugs reported and fixed in one product than another does not mean that product is more secure .

      Actually, the argument here is because a product has less bugs reported and fixed, it is therefore more secure than one with less bugs reported and fixed.

      That this metric is clearly bogus is, well, pretty obvious, since with two initially identical products, with the same bugs reported, the product which has the fewest bugs fixed will be rated "more secure".

    • SQL server has always been a second-rater in the big DB wars. DB2 and Oracle being the best. They should have stuck DB2 in there too...
    • Re: (Score:3, Interesting)

      While Oracle has more flaws it certainly is a much more complex product, so it stands to reason. Besides, Oracle vs. SQL Server is not a fair comparison at all. SQL Server is quite bare.

      The "flaws" I've experienced with SQL Server either made my server crash or corrupted my databases to all hell. I've never had an Oracle server (or any other vendor's product) corrupt my tables, thank you very much. I think MS brought this "feature" over from their Jet / Access engine.

      If you compare the severity of these fla
      • Re: (Score:3, Interesting)

        There is cruft in Oracle that dates back to the mid '80s and it's showing.

        Oracle needs a through refactoring. They'll either do it under their own steam or the market will do it for them.

        Well, no not really. There is old code in there, but it is not cruft, but well functioning code.

        I'm also concerned about Oracle's development practices.

        What? Can you explain what you mean because I have no idea what you are talking about.

        Quality is continues to be poor for the first few releases of any new feature. Witness 10g EM; there are .nohup files lurking in (*nix) log directories. I find that astonishing.

        Huh? What exactly war you talking about? Oracle does not store any files in standard *NIX log directories.

        ASM won't be suitable for widespread use for two or three releases, 11xR2 or something. That should have been right on try #1 six or seven years ago.

        Completly wrong. Thousands of customers are using ASM today and with great success. Please explain what the heck you are talking about.