Slashdot Mirror


Interbase Backdoor, Secret for Six Years, Revealed in Source

Diesel Dave writes "CERT Advisory CA-2001-01 announced today that the Interbase server database contains a compiled-in back door account. The thing is, it was not the result of a malicious code infection, but a direct addition by the original Borland/Inprise authors done before the program was released as open source." The backdoor was installed sometime between 1992 and 1994, and has been included in every version of Interbase during that time.

260 comments

  1. Re:Security patches - apologies to QuantumG by QuantumG · · Score: 2

    cool dude. I can't believe there hasn't been a serious look at this code. Their proposed solution to this problem is to change the backdoor password to something else! Now if you randomized it or did anything remotely sane this would be ok, but it's still a flaw.

    --
    How we know is more important than what we know.
  2. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  3. Re:A mixed bag by Richy_T · · Score: 2
    I mean, why would I come to Las Vegas?
    Linus Torvalds

    I'm sorry, but I just had to comment. When I saw your sig, the following line just popped into my head.

    "Me, the creator of the Linux Kernel? in las Vegas? with showgirls? What were they thinking?"

    People who've seen "The Fast Show" ("Brilliant" in the US) will know what I'm talking about.

    Rich

    You aint seen me, right!

  4. Re:Why the surprise? by alteridem · · Score: 3

    If you feel so strongly that every open source program should go through a security audit, then when is the last time you volunteered to do one? Opensource is about people volunteering their time which is often in competition with their real jobs, lives, families etc. In a perfect world, all software would go through a security audit, but it is not going to happen.

    At least with opensource, things like this get found. Obviously Borland's security audit didn't find it when they originally released this as a commercial product! If it wasn't for opensource, this would probably still be being silently exploited by the original programmers and the few people they told.

  5. Re:Why the surprise? by Municipa · · Score: 1

    And who's going to pay the expense of an audit on a few hundred thousand lines of code when there are several other open source databases out there that are more popular, which hopefully, but not necessarily, means they have this kind of thing in them.

  6. Privacy? Security? by beefjerky_com · · Score: 1

    I recently asked someone about Internet privacy and security and got the best answer I ever did.

    Privacy? Security? There isn't any, stop deluding yourself.

    If you have secrets, find another way to keep or tell them.

    To the Moon!
    http://www.beefjerky.com

    1. Re:Privacy? Security? by WillAffleck · · Score: 1

      I recently asked someone about Internet privacy and security and got the best answer I ever did.

      Privacy? Security? There isn't any, stop deluding yourself.


      I used to be Acting Security Officer for a region of Canada in the Canadian Armed Forces, and I woul strongly agree with that comment.

      Seriously, there is no such thing as privacy, there is no such thing as security, and you'll never be safe no matter what you'll do. You can reduce risks and make it hard for novices and most attackers, but a determined individual with moderate to high skills is always going to get through. Hence, if you use security, have zone alarms and watch for suspicious behaviour and do something about it.

      Sigh.

      --
      Will in Seattle
  7. Re:Reasons_for_strong_firewall++; by chac_mool · · Score: 1

    I have a windoze box to edit videos on; I also use it occasionally to check e-mail and ftp, and so even though I don't have an always-on internet connection, I installed a firewall. And so I discovered that even though I told *everything* installed that I would update manually, Internet Explorer and Windows explorer still want to connect to the internet any time I log on. god only knows what else Media Player is communicating as I listen to the radio. I guess now I need a packet sniffer and a few days of free time. or an antennae that can pick up stations in Greece from North Florida. :-)

  8. Re:Open source = no backdoor by Doctor+Memory · · Score: 1

    User: Field Password : Engineer

    Compiled-in? I don't think so. That account ships as one of the default accounts (along with SYSTEM/manager), and exists so that the installation crew can do their job. Field circus accts should always be disabled until the CSE arrives, then re-authorized with a random password for the duration of the maintenance, and then changed as soon as the CSE leaves the premises.

    --
    Just junk food for thought...
  9. Re:Why the surprise? by QuantumG · · Score: 3

    Borland was relying on security via obscurity on this one. I don't know why no-one took this up as an issue. Perhaps I will volunteer to security audit this code (it doesn't look like much) but I am honestly of the belief that there are companies out there relying on this software to run their business. Surely they have a responsibility to contribute back to a project that they are making money from. So if you're a company and you give half a damn about security, take some of the responsibility and pay for a security audit on the source! It's in your own interests.

    --
    How we know is more important than what we know.
  10. Urban Myth? by alteridem · · Score: 2
    There was a blurb about Microsoft being able to access Win95 registry when a user is connected to the Internet and thus gathering information about non-licensed MS software installed.

    This is probably just an urban myth. With the amount of personal firewall software people are running these days someone would have logged the unauthorized data being transmitted and their would be sufficient evidence to get M$ in a whole load of shit.

  11. Re:Security patches by Johann · · Score: 1
    I would have thought that the first day that the source was released someone would have read the code from start to finish with a pen and paper next to them and written "obvious backdoor in eight files, remove" and fixed it.

    You must not be a programmer, because reading a program from 'start to finish' is an assinine way to understand it. In addition, it is impractical because the source for Interbase is probably several hundred thousand (million?) lines of code. Finally, reading it from start to finish would not cause a 'backdoor' bug to be found. It is unlikely that there is a function called login_backdoor(), so finding such a security hole is a subtle process.

    For a program as complex as Interbase I am not surprized that it took a year for someone (outside Borland) to understand it enough to find the 'back door'.

    Later

    "Fat, drunk, and stupid is no way to go through life."

    --
    "You're gonna need a bigger boat." - Chief Brody
  12. Re:Backdoors vs. default passwords by Evil+Grinn · · Score: 1
    if I had an Interbase DB, I couldn't change/disable the backdoor

    Well, you could change it with a hex editor but it still sucks.
    ---

  13. Re:Why the surprise? by bluGill · · Score: 5

    OpenBSD has been undergoing a security aduit for years. A couple months ago they were able to claim there had been no known root hacks in the current release for 3 years. (That is they were able to fix root hacks before they were discovered for the last 3 years). Well sometime this summer someone discovered a root hack in the released system, despite all those audits. (To be fair, they had fixed that hole in the unreleased code stream, nobody realized it was exploitable at the time though so there was no hurry to release it early).

    Audits are good, but they take time. OpenBSD has proven they take a lot of time. There is no open source project with as much work in security auditing as openBSD. (Probably no closed source project either). No open source project cares are much, yet they can't always get it right despite 5 years of work. To criticie any other project for not discovereing all secuirity holes is a mistake. Even if the openBSD audit team had decided to work on this with as much effort as went into openBSD there is no reason to belive they would have discovered this sooner.

  14. CYA by Municipa · · Score: 1

    They aren't just paying for 'high-quality' apps.. they're paying to cover their asses so that if something like this was found in a commercial app, they have financial and legal recourse. A bug like this can conceivably cost a company millions in bug fixes, lost revenue and invalidated contracts. I wonder how many business contracts have involved what amounts to vouching for open source code bases that nobody at the company has audited or even skimmed over.

  15. root=backdoor? (was Re:Open source = no backdoor) by Stephen+Samuel · · Score: 3
    A back door can be good thing on the local level. ie a sysadmin who can unlock a workstation even when the user has forgotten the password.
    By this (implied) definition, 'root' is a backdoor. If I accept that definition, then this becomes a question about the 'domain' of a backdoor. I.e. how many people should know of the existence and details of a given backdoor, and how 'editable' is the backdoor.

    In the case of root, the existence of the backdoor is well known, but the details (password) are nominally only known by a few people. On some systems, the 'root' name is changed to something else (e.g. toor) for obscurity reasons.

    In the case of Inprise, the existence and details of the backdoor were known to external persons (developers) but unknown by the actual user and the details are unchangable without source code. (note: it looks like a quick fix here would be to edit the backdoor details in the source and recompile). This was entirely 'security by obscurity' and, now that the cat is out of the bag, almost every user of the software is at risk.

    Point to be made here: Opening the source code simply made it much easier to find the backdoor. Overall, I think that this is a good thing. There may be some hackers out there who knew of this backdoor for many years. Now we have the knowledge and impetus to clean it up.

    I don't think that this was a malicious backdoor. The design of the software seemed to require it (oops!). The big mistake is that nobody who had access questioned it's existence. The lesson to be learned is that people who have access to source code and see this sort of stuff should make waves to open up the process.

    The best gemeric solution is to remove the need for internal 'backdoors' in code. That being infeasible, the software should be changed so that the details of the backdoor are editable by the end-user (or randomized on every start of the software). Obviously, the user has to be made aware of the need to edit this data. That solution, of course, has its own security implications (exercise for the reader).
    `ø,,ø!

    --
    Free Software: Like love, it grows best when given away.
  16. Re:Open source = no backdoor by doctor_oktagon · · Score: 3


    I have two machines linked together by an crossover ethernet cable. Can you hack into that network? I'd be impressed if you could


    A fairly simple manner of splitting the cable and installing my own junction, or attaching my laptop to one of your machines via a serial port /joke

    Anyway, as soon as I saw your comment, I got into your master server (which I noticed connected to the Internet on 127.0.0.1 hah!!), and have told the police about your massive pr0n and war3z collection! You should now notice your hard disk is thrashing as my rm -r * takes affect suX0r!

    Whoops! Hangon? Why is MY disk thrashing ... aargh!!

  17. Re:Are there any *good* choices for Interbase user by The+Breeze · · Score: 1

    Note that binary patches for the commercial version have been written by the same guys who found the back door in the first place. Check HERE: http://64.55.62.15/
    I think you can trust them.
    For more information, follow the links on www.interbase2000.org
    These are most likely different from the official Borland patches, which are at: http://www.borland.com/interbase/downloads/patches .html

  18. Re:Security patches by deusx · · Score: 2

    Have you worked on any Open Source projects, or have you seen what happens when a previously closed source project gets released? Strange as it may sound, there is a bit of reverse engineering that must take place, especially if this bundle of source is not brilliantly commented and documented.

    In this case, it was worse, because when Interbase was Open Sourced, it was not buildable. Important scripts, Makefiles, and other assets were missing. So, you had this whole mess of random source that you could begin to guess the function of, but if you hadn't been a former Interbase developer at Inprise, it was all a black box to you.

    Have you ever "read the code from start to finish with a pen and paper next to them" on any major project? Have you ever heard someone do that? Frequently? Or are you just trying to be a troll? That's just not the way it happens.

    Personally, I'm impressed that they've been able to find this. I mean the Firebird project found a working binary from Inprise and a collection of code rumored to, through some magic process, produce that binary. They worked out the magic process, produced their own binary, and moved on from there.

    Only then, after they had source code corresponding to a working program could they start doing the poking and reverse engineering it took to figure out the parts and the places. They had some luck, since they do have the original creators of Interbase on their side, but there were quite a few hurdles to go through before they could even start to make heads or tails of what they were looking at.

    Then again, I dunno, maybe I have it all wrong and these guys were just sitting on their thumbs all day.

  19. Re:Here's a buffer overflow by Mendax+Veritas · · Score: 2
    The first thing to do is replace those with safe alternatives (strncpy, strncat, snprintf)
    Of course, just robotically changing strcpy to strncpy doesn't fix anything, since strncpy does not null-terminate the copy if the source is longer than the destination buffer. By contrast, strncat does guarantee that the destination buffer will have a null terminator.

    There is a fundamental problem at the root of this, which is that the C standard library is hideously irregular, and the C language itself is not meant to be "safe". It's an okay language for writing hardware drivers and other low-level system components, but a safer, more abstract language would be a better choice for applications.

  20. Re:These lines of code like sand.. by Richy_T · · Score: 2
    Don't forget the other side though. When someone jumps up and shouts "There's a hole in this open source code", you can run to you servers, bring down your firewall, patch the code, recompile and be back on line in a time somewhat proportional to your typing speed. With closed source, all you can do is sit there and wait while script kiddies prod at your sensitive data, the best security you can apply yourself being to work-around (if you can) or take your $3million a week transaction system off-line.

    Rich

  21. Re:Mmmmm.. by Lozzer · · Score: 1

    Taco cleaned up his code?

    --
    Special Relativity: The person in the other queue thinks yours is moving faster.
  22. Re:Security patches by rlk · · Score: 2

    I trust that the next time a significant source release of this kind is done that you, personally, will download the source and study it exhaustively in this fashion.

  23. Re:Hits on port 3050/tcp already on the increase by anticypher · · Score: 3

    Which is, of course, the complete opposite of what you said.

    Which is why I like /. comments, because no mistake ever goes uncorrected. I had assumed from reading the security notification that the password was placed in the source just before it had been open sourced. As the yanks say, my bad. It was placed in the original program years ago, but only opensourced one year ago, and that was what led to the backdoor being discovered, I've got that now. I wonder how many people have taken advantage of this over the years.

    the AC

    --
    Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
  24. Open source = no backdoor by TulioSerpio · · Score: 2
    Open source made imposible such things.

    Is it a good thing or not?

    Is there a good use for back doors?

    --

    I'm from Argentina: Tango, Asado, Mate, Gaucho, Maradona, YPF

    1. Re:Open source = no backdoor by Stephen+Samuel · · Score: 2
      Well if you look at the dates, 92-94, security was very different. Back then security meant remembering to lock the server room door.
      1992 may have been pre-commercialization of the 'net, but it wasn't deep and savage pre-history. People already knew that backdoors were a bad thing. The people at borland were either as a group ignorant of basic security issues, or chose to ignore them. I'd be inclined to bet on the latter.

      I'd also be inclined to bet on the probability that code is being designed and written today with these sorts of problems in them. Probably these people are justifying it to themselves.

      It's necessary.
      It's temoprary
      We're the only ones who know about it.
      Nobody will ever figure it out.
      The proper solution would take too long.
      We shouldn't burden the (ignorant) user with this administrivia.
      There's nothing really wrong with it! (is there?)
      Investment in security will continue until the cost of the security exceeds the cost of a breach -- or until someone insists on getting some usefull work done.
      Murphy's laws file, ~1979

      `ø,,ø!
      --
      Free Software: Like love, it grows best when given away.
    2. Re:Open source = no backdoor by Petrophile · · Score: 1

      Sysadmin access is *not* a backdoor. It's a Front Door, dammit. (As in, every user should know that the company has access to their machine via the sysadmin.)

    3. Re:Open source = no backdoor by bockman · · Score: 1
      Another possibility is that the backdoor is coded in such an obscure fashion that it is extremely difficult to detect.

      I've always wandered : how many remote exploitable buffer overflows are really unintentional?

      --
      Ciao

      ----

      FB

    4. Re:Open source = no backdoor by Sloppy · · Score: 1

      Is there a good use for back doors?

      Yes. It's a tradeoff: security vs. convenience. Sometimes it's worth it, sometimes it's not.


      ---
      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    5. Re:Open source = no backdoor by pb · · Score: 2

      No it doesn't; that's why you have the compiler insert back doors in code. I believe Ken Thompson wrote a paper on it, and some aspiring Karma Whore with more enthusiasm than I will surely dredge it up and point to it. :)

      Yes, this is a good thing; backdoors should be eliminated from commercial products. I don't want anyone sneaking into my database. Although Borland might not be too happy about this... :)
      ---
      pb Reply or e-mail; don't vaguely moderate.

      --
      pb Reply or e-mail; don't vaguely moderate.
    6. Re:Open source = no backdoor by guran · · Score: 1
      A back door can be good thing on the local level. ie a sysadmin who can unlock a workstation even when the user has forgotten the password.

      A *global* back door otoh is just a disaster waiting to happen.

      --

      All opinions are my own - until criticized

    7. Re:Open source = no backdoor by VAXGeek · · Score: 1

      ok smelly, where were these compiled into VMS? they were just a default account. SOMEONE has to be able to log in to add the users. so shut up! hahhaha

      ------------
      a funny comment: 1 karma
      an insightful comment: 1 karma
      a good old-fashioned flame: priceless

      --
      this sig limit is too small to put anything good h
    8. Re:Open source = no backdoor by guran · · Score: 1
      Oh, come on!

      I wrote '"safe"' not 'safe'. As in "(cost of additional security) + (cost of extra hassle for users) > (risk of successful attack)*(cost of a haxored system)"

      Where I work. Most development database servers still have the default admin uid/pwd combo. Why? is that not irresponsible? NO!
      a) They *are* behind good firewalls. Any external hacker would have much more interesting targets.
      b) People jump from project to project. People quit. Keping track of different passwords would be a pain.
      c) The potential internal haxors must have a life, since they don't abuse the situation (and what haxor type would bother to crack a wide open server?)
      d) There is nothing really secret on them anyway.

      --

      All opinions are my own - until criticized

    9. Re:Open source = no backdoor by Croaker · · Score: 3

      Is there a good use for back doors?

      I can't think of one. The CERT advisory makes it sound like this particular one is there because the design of the system requires it:

      It turns out the LOCKSMITH is an entity needed to allow "authorized" interaction with the security accounts database between services. This LOCKSMITH is the user account in question compiled into the code with full-access to the security accounts database by default.

      So, at least it doesn't seem to be a Borland/Inprise employee being sneaky. But still, leaving such a gaping hole in the software, even by design, it stupid. Especially considering the password for said account is hard coded! I can't imagine that idea passing the giggle test for any security expert.

    10. Re:Open source = no backdoor by doctor_oktagon · · Score: 1

      Open source made imposible such things
      All the pro-Open Source people having been going on for longer than I can remember about needing Open Source to prevent back-doors being inserted in software, so the original company (or insert-law-enforcement-office-here) can access your data after you buy the product.

      What happens here? The software is Open Sourced and no-one actually looks to see if there are any backdoors hidden in it!

      Another possibility is that the backdoor is coded in such an obscure fashion that it is extremely difficult to detect. If we ever do get the source to Exchange or SQL Server, I'm not sure we would be capable of detecting whatever backdoor code exists without a massive gdb workout, and even then we would be pushed to find it.

      Remember: Security through obscurity sucks big time, but if we don't even bother to check when the item is not obscure then we look like the fools.

    11. Re:Open source = no backdoor by FallLine · · Score: 3

      Oh bullshit. There are security flaws found all the time in Open Source products, many of them quite old. If careless coding can create a security flaw on accident that can slip past so-called "peer review", then certainly a reasonably intelligent person could slip in a very subtle backdoor that is infinititely harder to detect. About all you can really say generally about Open source security is that an ultra-trivial backdoor opened with a string like "I AM BACKDOOR" is unlikely, because even the casual reader it apt to notice.

    12. Re:Open source = no backdoor by PhilHibbs · · Score: 1

      Sure there are accidental backdoors in OS products, but they are usually hard to use, because they rely on something like a buffer overrun, and you have to write some machine code to stick on the end of a long input, or something like that. Logging on with user:backdoor password:borland is a different matter entirely, as it works out of the box.

      The sensible thing for Borland to do would have been to remove the back door beofre releasing the source, so at least their existing users wouldn't get shafted so badly.

    13. Re:Open source = no backdoor by Taurine · · Score: 2

      Interbase has a massive source base, and has not been open source for very long - a year at most?

      Open source helps to prevent back-doors from being inserted during open development. Its much easier to spot a back door being put in if its part of the latest patch submitted to the development mailing list.

      Clearly someone has been reading the Interbase sources looking for this kind of thing, otherwise we wouldn't be reading this advisory.

    14. Re:Open source = no backdoor by armb · · Score: 2

      I believe Ken Thompson wrote a paper on it
      Reflections on Trusting Trust (I remembered enough about it that Google didn't need much dredging).
      --

      --
      rant
    15. Re:Open source = no backdoor by eXtro · · Score: 1
      A backdoor is never a good thing. It can always be exploited by people who are either curious, unfriendly or both.

      If a user forgets a password on a workstation physical access to the workstation almost always allows this problem to be resolved. A backdoor allows the problem to be resolved remotely, convienent? Yes. Dangerous? Yes.

      Arguing for a back door is like arguing that your unbreakable encryption product should have a backdoor just in case you happen to forget your key phrase. If you needed that level of security then a) you shouldn't have forgotten the password and b) you're better off cutting your losses and losing the data rather than opening yourself up to the possibility that any script kiddie can hack into it.

    16. Re:Open source = no backdoor by Drey · · Score: 1
      Jargon file entry

      Happy to oblige.
      --

    17. Re:Open source = no backdoor by guran · · Score: 1
      Well I have to disagree (slightly)

      A backdoor *in a high security environent* is never a good idea.
      But if you are a sysadmin, responsible for a lot of users, and your network is "safe" from external attacks, you might consider a back door into the workstations. *Never* into anything secret, like most servers, but into workstations.

      The worst thing that can happen is one user hacking into another users machine.

      Though, in principle, you're right of course.

      --

      All opinions are my own - until criticized

    18. Re:Open source = no backdoor by umask077 · · Score: 1
      Well if you look at the dates, 92-94, security was very different. Back then security meant remembering to lock the server room door. Fleets of VMS systems were shipped out with a compiled in backdoor of User: Field Password : Engineer. Straight into administrator mode. Theres no proof it wasnt some individual in the company who slipped it in without knowing. Obviscated code can cover this kinda thing up pretty easy. Will slide right by QA.

      Now the real question. Who the hell uses Interbase?

      --
      --- Always remember. 99.36% of all statistics are inaccurate.
    19. Re:Open source = no backdoor by agentZ · · Score: 1

      A network that is safe from external attacks is an impossibility. All you need is one well-intentioned user who plugs in a modem so they can access the system at home, and poof, you're insecure.

    20. Re:Open source = no backdoor by johnnyb · · Score: 3

      It was checked - that's how the hole was found. You can't security audit code in a short period of time - it takes a while. Anyway, it was because of the source release that this was found. Otherwise, this _never_ would have been fixed.

  25. Re:Dogma by ILikeRed · · Score: 1
    It would take a hacker a significant amount of time to discover a properly hidden and hardcoded backdoor in a closed source product. Notice how many years it took ANYONE to discover this.

    You are wrong about the time aspect, the second any backdoor is introduced, there is a security problem - not when someone other than the person that coded it finds it.

    That is the big difference - in an open source project, a security flaw is accidental, and not exploitable until someone finds it - and hopefully it is the comunity that finds it and not a hacker. With a backdoor in a closed source project, security is broken immediately. The person that coded it knows about, his friends, the person that asked him to put it there, etc....

    --
    I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
  26. Here's a buffer overflow by QuantumG · · Score: 5

    Well it took 20 minutes but if you grab the file interbase/qli/dtr.c from the firebird cvs you will see one of the very first things it does in main is:

    SCHAR home_directory[256];
    ...
    #ifdef UNIX
    /* If a Unix system, get home directory from environment */
    startup_file = getenv("HOME");
    if (startup_file == NULL)
    {
    startup_file = ".qli_startup";
    }
    else
    {
    strcpy(home_directory, startup_file);
    strcat(home_directory, "/.qli_startup");
    startup_file = home_directory;
    }
    #endif

    That's called a "buffer overflow" and I doubt it is the only one. Just a short grep over the files gives an idea here. 642 strcpy's, 139 strcat and 945 sprintf's. The first thing to do is replace those with safe alternatives (strncpy, strncat, snprintf) and then the fun begins. And I just know that next week I'm gunna be asked to install an Interbase server :)

    --
    How we know is more important than what we know.
    1. Re:Here's a buffer overflow by QuantumG · · Score: 2

      Then why not make the default glibc strcpy/strcat etc safe? Or make the compiler detect overflows (now there's an NP complete problem for ya!). C is here to stay, claiming that we have to move on is not a solution. "Safe" libraries are a good start but people don't use them. Let's just make the default safe. Perhaps this is something OpenBSD would be interesting in doing?

      --
      How we know is more important than what we know.
    2. Re:Here's a buffer overflow by ChadN · · Score: 2

      Then why not make the default glibc strcpy/strcat etc safe?

      OpenBSD have addressed this issue. glibc has not yet adopted their solution, although glib is expected to adopt g_strlcat and g_strlcpy in version 2.


      http://www.openbsd.com/papers/strlcpy-paper.ps

      --
      "It's overkill, of course. But you can never have too much overkill." - Anonymous Slashdot Coward
    3. Re:Here's a buffer overflow by QuantumG · · Score: 2

      actually, the dude is right! I hate the halting problem.

      --
      How we know is more important than what we know.
    4. Re:Here's a buffer overflow by Richy_T · · Score: 2
      buf = malloc(strlen(src)+1); strcpy(buf,src);

      Hey, don't forget to trap those null pointers. And handle them. Then free that buffer when you've finished with it.

      One item in particular that I was referring to was a quick one liner to debug to check that part of a project was working properly by feeding and receiving values. Minimal development time assigned to it, no likelyhood of exploitation and it only had to run once and its job was done. It turned out with another project needed exactly the same functionality on a regular and reliable basis. Now the code was available (I wrote it) and the necessary tightening was done. But just as easily, someone else could have just used it out-of-the box. I think this points not to needing to have over-engineered perfectly written software down to "Hello World" but rather to ensuring that you know the security implications of any software you exec.

      Rich

    5. Re:Here's a buffer overflow by KidSock · · Score: 2

      But it could not be used as an exploit because the shell environment variable space could not hold enough data to "smash the stack".

    6. Re:Here's a buffer overflow by sholden · · Score: 1

      >My second comment is more a query. Are there
      >header files available which make sure that
      >strcpy and friends can't be used? It would go a
      >way to helping if you could use these headers and
      >WARNING:STRCPY USED. COMPILE ABORTED would pop up
      >as appropriate. It wouldn't be a final fix but it
      >would help and might get programmers out of the
      >habit of using these awful functions in the first
      >place.

      strcpy is not an 'awful function'. strcpy is the wrong function to use if you do not know the length of the source string. If you know the length and it small enough to not overflow the array then strcpy if the right function.

      That is a common case. Maybe you are setting a string to one of a bunch of values you have in an array via an index, you know the lengths, you know
      the destination is big enough for the biggest one, thus strcpy is the right tool...

      #define FOO_LEN 10000
      char foo[FOO_LEN];
      strncpy(foo,"hello",FOO_LEN); /*FOO_LEN-1 better*/
      foo[FOO_LEN-1] = '\0';

      The above is not good code. Have you read the spec on what strncpy does? That will copy the characters 'h', 'e', 'l', 'l', 'o' followed by 9995 '\0' characters into foo.

      Wasting time copying 9995 '\0's that will never be seen by the rest of the code is not in my opinion a good thing to do...

      strncpy is the best function to use in the general case, strcpy is often a better solution for a large number of specific cases (those where the lengths are known)...

    7. Re:Here's a buffer overflow by Richy_T · · Score: 4
      OK, first a comment that you keep saying that it only took you 20 minutes to find the hole. Yet buffer overflows are well understood and strcpy and strcat are obvious red flags (sprintf does not necessarily mean buffer overflows with correct format strings). As you've shown, a quick grep will give you some clue where to look. You could even almost say that use of these functions is an error in the code. Yet the backdoor you are berating people for not finding is not an error, it is deliberately written into the program, more than likely using perfectly valid code. To find that backdoor mean understanding that piece of code and probably large pieces of code around it and, since you don't know in advance where to look, that means that the whole of the code has to be understood (though not necessarily by one person) to be sure there are no backdoors. Even then, if the understanding is held between more than one person, there may be an interaction between the parts which results in an unlocated problem.

      Add into this that this will be a HUGE source base with many many lines of code, that open source contributors generally want to produce things and not be reading over other peoples code and that reading other peoples code (and that usually includes the "you" from >6 months ago) sucks sucks sucks

      But those criticisms aside, it does indicate that open source probably does need to consider security more. Especially when inheriting code from closed source projects but just as importantly for exisitng open source projects. It seems that openBSD is doing a good job of auditing their code. While I wouldn't even think of saying that open source projects *must* do x or y, perhaps a central security auditing helping project which ranks other projects on their security and offers suggestions on common security errors and auditing methodology. Projects could apply these techniques or not as they desired but the end user could check the security status by going to the security site. Interbase would have been ranked red_unsecure_not-yet-audited, sendmail could be blue_unsecure_script-kiddie-heaven etc.

      My second comment is more a query. Are there header files available which make sure that strcpy and friends can't be used? It would go a way to helping if you could use these headers and WARNING:STRCPY USED. COMPILE ABORTED would pop up as appropriate. It wouldn't be a final fix but it would help and might get programmers out of the habit of using these awful functions in the first place.

      Finally, with the front page story yesterday being about OOP, this is clearly the kind of thing where OOP helps. A good string class will take you a long way. Also, OOP is more easy to read and understand in small chunks so it's easier to audit (and easier to get people to audit)

      Rich

    8. Re:Here's a buffer overflow by QuantumG · · Score: 2

      no you're right. This is an easy thing to find. But I also had a look at the backdoor issue and I think an audit would spot that pretty quickly too. My point of saying that it took little time to find an overflow is to suggest that this code has not been audited and it seems kind of strange to mention this particular flaw (the backdoor) when there are even more obvious flaws present. Serverity is certainly an issue. I think the backdoor is probably more severe because it is trivial to exploit. As for heads to make strcpy and the like go away, I don't know, but they would be pretty trivial:

      #define strcpy STRCPY_NOT_ALLOWED_BABY!@#!@#@!

      which would cause a compiler error :) A string class will get rid of trivial buffer overflows like this, certainly, but at what cost?

      --
      How we know is more important than what we know.
    9. Re:Here's a buffer overflow by a_n_d_e_r_s · · Score: 1
      Sorry, but no can do! it is an NP problem to control if a strcpy/strcat is safe in compile time. It can only prevent some of the problems but not all.

      For example if the size of the allocated character array is allocated in runtime depening on a configuration file, you can't expect the compiler to know if the allocated string is enough to hold the space or not.

      The only thing the compiler can do can do is introduce an run-time overflow error to prevent that a buffer overrun occurs. The problem is that this will make the program slow.

      The only solution would be to outlaw such contructs, but its a piece of cake to roll your own. A better solution would actually be to stop using C code and start using another language which prevent such disasters, for example Java

      --
      Just saying it like it are.
    10. Re:Here's a buffer overflow by QuantumG · · Score: 2

      $ export NIG='123456789012345678901234567890123456789012345 67890123456789012345678901234567890123456789012345 67890123456789012345678901234567890123456789012345 67890123456789012345678901234567890123456789012345 67890123456789012345678901234567890123456789012345 678901234567890123456789012345678901234567890'
      $ echo $NIG
      123456789012345678901234567890123456789012345678 90 12345678901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234567890 12345678901234567890123456789012345678901234567890 1234567890123456789012345678901234567890

      My environment variables hold way more than 256 bytes.. where you gettin' yours?

      --
      How we know is more important than what we know.
    11. Re:Here's a buffer overflow by Richy_T · · Score: 2
      A string class will get rid of trivial buffer overflows like this, certainly, but at what cost?

      True. But that's up to the developer to decide when they are drawing up the project spec. For a small internal utility where I know noone is likely to want (or have the need) to perform an exploit I might be lazy and use char[2000] and strcpy for paths (though I still think it would be better if those functions disappeared but note that strncpy is not proof against buffer overflows and there are buffer overflow problems where strings may not be terminated properly [particularly in networked software]). For an absolutely robust, mission critical system such as one that stores credit card numbers (a database) I would be tempted to go for a string class and for something that needed to be robust but definitely needed to be lean, I would probably go for writing some specialised string functions (strcpy and friends do not have to be used in dangerous ways).

      Rich

    12. Re:Here's a buffer overflow by Richy_T · · Score: 2
      For a small internal utility where I know noone is likely to want (or have the need) to perform an exploit I might be lazy and use char[2000] and strcpy for paths

      I should state here that I have sometimes seen those small internal utilities go into full scale production systems, usually requiring a rewrite to remove all those little nasties. It's probably best to not be lazy in general :)

      Rich

    13. Re:Here's a buffer overflow by Tom7 · · Score: 1

      Uh... you guys need to read up a little on your computer science. You probably mean "undecidable", not "NP" or "NP complete".

      I challenge you to show me that runtime bounds checking makes a program "slow". "slower", perhaps, but in general it will not even be measurable unless it's inside some inner loop.

      I agree with you however about switching to a language which is safe! (java, whatever...)

    14. Re:Here's a buffer overflow by Richy_T · · Score: 2
      Fair comment but I would have used

      char *foo;

      foo=NULL;

      if(str_add(*foo,"Hello")!=0){
      //Process error (note: why use blockquotes for a single line?)
      ...
      }

      Where str_add is a function which attempts to allocate a buffer long enough to hold both the concatenation of the two arguments, concatenates them, frees the original foo then sticks the result back out into foo. If the buffer cannot be allocated, dont mess with the pointer to foo and return an error.

      Note that this is not efficient if you are creating long buffers from small chunks of data. In that case, I would make foo a struct containing char * and int and store the length of the allocated buffer in the int. I would #define a BUFF_CHUNK_SIZE and bump the size of the buffer up by that as required.

      But not for a ten line quickie program :)

      Rich

    15. Re:Here's a buffer overflow by QuantumG · · Score: 2

      absolutely right. After all it's not your code, it's your companies (or whatever) and they may do things with it that ends up screwing you. If it takes longer then I guess it really isn't worth the long term safety but if it takes just as long to do buf = malloc(strlen(src)+1); strcpy(buf,src); instead of buf[1024]; strcpy(buf,src); then why not do the thing that is safe?

      --
      How we know is more important than what we know.
    16. Re:Here's a buffer overflow by QuantumG · · Score: 2

      we didnt say bounds checking, we said detecting security faults in C source and I know what I'm talking about, it's equivilent to the halting problem.

      --
      How we know is more important than what we know.
    17. Re:Here's a buffer overflow by tve · · Score: 1

      Well, you know what they say: Many bugs make eyeballs shallow. Meaning: if there are enough bugs in the code chances are that one will fit your particular skill-set.

      --

      If there is hope, it lies in the trolls.
    18. Re:Here's a buffer overflow by QuantumG · · Score: 2

      Absolutely right. But I'm of the opinion that buffer overflows should not exist in any code, because you never know what situation this will be run in. It might be run in a shell script that is sudo'd. As for whether or not this can cause a crash or execute a shell, it can execute a shell, no doubt.

      --
      How we know is more important than what we know.
  27. https?? by Russ+Nelson · · Score: 1

    Why is cert using https to publish advisories? My version of Netscape can't browse to their site because it and their site does not share a common encryption algorithm. Is there a plain-jane http: version of this URL?
    -russ

    --
    Don't piss off The Angry Economist
    1. Re:https?? by Russ+Nelson · · Score: 3

      Turns out that a plain http transfer works as well.
      -russ

      --
      Don't piss off The Angry Economist
    2. Re:https?? by Glytch · · Score: 1

      I don't know if I'm ever going to get used to a Mozilla version number without an "M"...

    3. Re:https?? by Bojay+Iverson · · Score: 1

      try it without the http protocol http://www.kb.cert.org/vuls/id/247371.

      One question springs to mind though. How long has interbase been open source, and consequently, how long has it taken for this to be discovered?

      --
      Psychos do not explode when the sunlight hits them, I don't care how fucked up they are.
    4. Re:https?? by sql*kitten · · Score: 1
      Vulnerability Note VU#247371 Borland/Inprise Interbase SQL database server contains backdoor superuser account with known password

      Overview

      I. Description

      Interbase is an open source database package that is distributed by Borland/Inprise. The server contains a compiled-in backdoor account with a known password.

      In the following interbase code, references are made about a LOCKSMITH user:

      ./jrd/dyn.e
      ./jrd/isc.c
      ./jrd/jrd.c
      ./jrd/pwd.c
      ./jrd/pwd.h
      ./jrd/scl.e
      ./jrd/scl.h
      ./jrd/shut.c
      ./jrd/tra.c
      ./utilities/dba_full.e

      It turns out the LOCKSMITH is an entity needed to allow "authorized" interaction with the security accounts database between services. This LOCKSMITH is the user account in question compiled into the code with full-access to the security accounts database by default. The compiled-in code can be found in the jrd/pwd.h header which defines the macros in question:

      #define LOCKSMITH_USER "politically"
      #define LOCKSMITH_PASSWORD "correct"

      While it appears the password is transmitted over the wire encrypted, since the password is hard-coded, the security afforded is negligible.

      Once the LOCKSMITH account is compromised, the SYSDBA account priviledges can be used to gain control of all database objects (tables, records, fields, stroed procedures, etc). Once database access is gained, user defined functions (UDFs) can be used to implant trojan horses and programs which can be used to gain root (system) privileges on the system hosting the server.

      This vulnerability was not introduced by unauthorized modifications to the original vendor's source. It was introduced by maintainers of the code within Borland. The back door account password can not be changed using normal operational commands, nor can the account be deleted from existing vulnerable servers. The best solution at this time is to upgrade vulnerable binaries and source code with fixes that are being distributed by Borland and the Firebird Project (IBPhoenix).

      II. Impact

      This backdoor allows any local user or remote user able to access port 3050/tcp [gds_db] to manipulate any database object on the system. This includes the ability to install trapdoors or other trojan horse software in the form of stored procedures. In addition, if the database software is running with root (*NIX) or System (NT) privileges, then any file on the server's file system can be overwritten, possibly leading to execution of arbitrary commands as root or System.

      III. Solution

      Install the patch being distributed to change the backdoor server account password.

      Block access to port 3050/tcp; this will not, however, prevent local users or users within a firewall's adminstrative boundary from accessing the backdoor account.

      Systems Affected

      Vendor Status Date Updated
      Borland Vulnerable 10-Jan-2001
      IBPhoenix Vulnerable 10-Jan-2001
      Apple Not Vulnerable 10-Jan-2001
      Fujitsu Not Vulnerable 10-Jan-2001

      References

      https://www.kb.cert.org/vuls/id/247371
      http://www.borland.com/interbase/
      http://community.borland.com/interbase/
      http://sourceforge.net/projects/interbase
      http://sourceforge.net/projects/firebird
      http://sourceforge.net/projects/firebirdashes
      http://firebird.sourceforge.net
      http://www.ibphoenix.com
      http://www.ibphoenix.com/sec1.html
      http://firebird.ibphoenix.com
      http://www.interbase2000.com
      http://sourceforge.net/cvs/?group_id=1962
      [Borland Interbase]
      http://sourceforge.net/cvs/?group_id=9052
      [FirebirdAshes]

      Credit

      This document was written by Jeffrey S Havrilla.

      Other Information
      Date Public 01/09/2001
      Date First Published 01/10/2001 10:29:13 AM
      Date Last Updated 01/10/2001
      CERT Advisory CA-2001-01
      CVE Name CAN-2001-0008
      Metric 10.94
      Document Revision 45

    5. Re:https?? by tecxnoir · · Score: 1

      My version of Mozilla (0.7) handles it quite nicely.

      --
      TechNoir
    6. Re:https?? by Bojay+Iverson · · Score: 1

      No. I intended to say 'try it without the https protocol'. BTW, I think you mean port 443/80, it's amazing the difference one letter makes, eh?

      --
      Psychos do not explode when the sunlight hits them, I don't care how fucked up they are.
  28. Are there any *good* choices for Interbase users? by [Xorian] · · Score: 3

    Anybody running a pre-open-source Interbase seems to have only really unpleasant choices:

    • Use a binary-only patch (if it's even available for the version they're running) which fixes the problem and trust that they really did remove the backdoor and didn't just replace it with a different one (which I know I wouldn't be willing to do given the fact that they put it in there in the first place)
    • Spend an unknown amount of time and effort (and as we all know, time = $) to update to a new version which they know can be trusted (because they can compile it themselves)
    • Switch to a different database altogether
    • Leave it as-is and hope nobody notices

    I'm glad I'm not in that position.

    --
    CVS is teh suck. Use Vesta instead.
  29. Re:A Compiler written in Assembler will stop this by Big+Torque · · Score: 1

    With what ever you want. The point is that it can be traced and checked. Assembly "source" can be mapped 1 to 1 with the binary code. This allows you to check and to confirm that it is doing what you want and no more. This is not possible with compiled binaries because the structure is you need to check it is lost during the compile. This is not an easy thing but it can be done.

  30. Re:Security Through Obscurity Works! by Adnans · · Score: 1

    Oh.. So what you're telling me is that the backdoor was SECURED? Hehehe :)

    -adnans

    --
    "In short: just say NO TO DRUGS, and maybe you won't end up like the Hurd people." --Linus Torvalds
  31. Re:Dogma by flatrock · · Score: 1

    That is the big difference - in an open source project, a security flaw is accidental, and not exploitable until someone finds it - and hopefully it is the comunity that finds it and not a hacker.

    Why is it that you think the security flaws in open source are all accidental, while the ones in closed source are all by design. There's no reason an open source developer couldn't hide a designed security flaw in an open source project. I'm sure it's harder, but it can still be done. There's security flaws found in open source software all the time. If they can get in there accidently, then some one could design them in just as well.

  32. Oracle by Anonymous Coward · · Score: 1

    No backdoor there. What they do is run a binary editor program upon the raw data files while the database engine is shutdown.

  33. Re:Other Borland Products by AJWM · · Score: 2

    The only way to find it was to dis-assemble the compiler and codewalk the result.

    You're assuming that the disassembler wasn't also in on the joke, and that it it wouldn't recognize that it was disassembling the compiler and casually omit the incriminating code. For that matter, you're assuming that the C compiler wasn't smart enough to recognize when it was compiling a disassembler and insert the appropriate code to implement the above.

    There are two questions to ask yourself: "am I being paranoid?" and "am I being paranoid enough?".

    --
    -- Alastair
  34. Re:Dogma by b1t+r0t · · Score: 3
    Notice how many years it took ANYONE to discover this.

    Correction: how many years it took anyone to discover and announce this. Just because it was only now announced doesn't mean someone didn't know about it two years ago and kept quiet about it.

    --

    --
    "Open source is good." - Steve Jobs
    "Open source is evil." - Microsoft
  35. Re:Why the surprise? by QuantumG · · Score: 3
    The bug in question was a one byte overflow in ftpd. The guy who invented one byte overflows had this to say:

    Conclusions could be drawn from this nearly impossible to exploit situation.
    Although I would be surprised to hear of anyone having applied this technique
    to a real world vulnerability, it for sure proves us that there is no such
    thing as a big or small overflow, nor is there such thing as a big or small
    vulnerability. Any flaw is exploitable, all you need is to find out how.

    So even he didn't think this would ever happen and the bug in ftpd was a direct result of this. No one knew it was there because no-one knew that such a bug even existed (and if it did it was most probably not possible to exploit). That is definitely not the case here. This is an obvious flaw in security written by a programmer who obviously never thought the code would be open sourced. It should have been one of those things that you picked up on the first day and said "this is bad, you never should have done this."
    --
    How we know is more important than what we know.
  36. Re:Recent MS break in? by Xofer+D · · Score: 1

    Godwin's Law! This thread is now over.

    --
    The Signal/Noise ratio can be improved in two ways. Remaining silent is the OTHER way.
  37. Re:Security patches by QuantumG · · Score: 2

    484961 lines in .c files
    395521 lines in .h files
    116496 lines in .e files (like a script file)

    you call this big? From a security analysis point of view, this is a baby.

    --
    How we know is more important than what we know.
  38. Re:Right on, dude! by QuantumG · · Score: 2

    It's not laziness I think. I think it is a lack of knowledge about these issues. Ignorance of security causes most of these issues and it is not suprising. I have done a lot of formal education in programmer and never once have I been formally taught anything about security issues. I have read lots of books about programming, but never once have I read (in a book) about security issues. Actually I've never seen a book about security issues that wasnt jam packed full of cryptography.

    --
    How we know is more important than what we know.
  39. Re:A Compiler written in Assembler will stop this by Big+Torque · · Score: 1

    a GPL version would be the key thing here. You need to be able to see the assembled and the binary to confirm this compiler.

  40. Re:Recent MS break in? by belroth · · Score: 1

    Unless source-safe was hacked :-)
    That's assuming MS use their own products of course....
    ----

    --
    I hereby inform you that I have NOT been required to provide any decryption keys.
  41. Re:Security patches by QuantumG · · Score: 2

    see my other post where I just discovered a buffer overflow, it took 20 minutes and I've never worked on the software. Believe it or not there are people who do this for a living, they are called "code auditors" and they perform "security audits" and it is a very local thing. You don't have to be a developer of the software, you don't have to compile the software, you just have to read the source!

    --
    How we know is more important than what we know.
  42. Re:A Compiler written in Assembler will stop this by doctor_oktagon · · Score: 2

    In order to stop a compiler from adding any thing to your program is to compile the compiler from source code

    Unless the compiler source has no obsticated backdoors of course.

    The solution is to have a basic compiler written in Assembler. This way you do not need to start with a binary compiler that you can know with 100% is clean of any bad things

    And now you assume that more than about 1% (if even that) of the programming community have the skill to analyze 20000 lines of assembler looking for backdoors! I'd much rather try and find a backdoor in 30000 lines of C than 20000 lines of assembler.

  43. Re:Why the surprise? by peterjm · · Score: 1

    A couple months ago they were able to claim there had been no known root hacks in the current release for 3 years.

    actually, it was no known root exploits in the default install for three years.

    Well sometime this summer someone discovered a root hack in the released system, despite all those audits

    i beleive this was resolved when some one told the guy that ftpd (the daemon that contained the buffer overflow he was exploiting) was not enabled by default.

    [exerpt of note sent to bugtraq]
    In that mail, he first pointed out that "your 3 years of remote safeness
    have just ended", and then provided technical information for fixing a
    serious ftpd bug. But he made a minor error that made the fix ineffective.
    He also said that he knows of a private exploit for this vulnerability, and
    in another mail pointed out that Scrippie was the one who found the bug.

    The first reply that came was a short one:
    "ftpd is not enabled in the default install since 2.6."

  44. Re:Security patches by QuantumG · · Score: 2

    I'm not trying to understand it. I'm trying to find security flaws and that that's why it's called a "security audit". And yes, finding such a security flaw is such a "subtle process" that it just took me 20 minutes to find a buffer overflow in the said source code. Why is it you seem to think you know anything about security analysis? Do you do this for a living? Well I have.

    --
    How we know is more important than what we know.
  45. Re:Hits on port 3050/tcp already on the increase by anticypher · · Score: 2

    Nah, these are not permanent ACLs, just added on for a few weeks to see what kind of a problem this might be for downstream clients. They'll get removed after we see what is going on. Over the last few days, we've seen the exact same signature from a script, sequentially probing IP addresses to port 3050. We're using private I to capture and filter the logs so if we get asked by a clueless manager at some later date if we were doing our jobs, we can hand them a pretty report.

    Now that I know what to simulate, I'll rig one of the honeypots and see if the script tries the exploit, or if the crackers wait until later after a positive hit to try their luck. But that will wait until tomorrow, beer is calling :-)

    And besides, if I ever choke out one of the routers, its good justification to accounting to buy bigger routers :-)

    the AC

    --
    Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
  46. Re:Security patches by QuantumG · · Score: 2

    I don't know about "extensively", I think that should be done by someone who actually gives a damn about Interbase. Say maybe one of the companies that is using it as a crucial part of their infrastructure.. but that could be just me. I did however just download the source and spend 20 minutes on it.

    --
    How we know is more important than what we know.
  47. Re:Mmmmm.. by patrick0 · · Score: 2

    I wonder about MS SQL Server too. Their code is a branch from Sybase's ASE server and Sybase released an urgent security alert advisory for all platforms in September 2000. They gave no details on what the problem was but said "Sybase views this as a mandatory correction that you should implement immediately." Database servers presumably have very big source trees (the stripped ASE executable for Solaris is 11MB) and it must be relatively simple to hide a backdoor in the source code that could lie undiscovered for years. Here's their security advisory from Sept 2000.

  48. Re:Why the surprise? by QuantumG · · Score: 2

    Apart from my previous statements about calling for companies that use the software to spring for a security audit, isn't this the same question as "who is going to pay for all these developers?" on open source projects.

    --
    How we know is more important than what we know.
  49. Re:Security patches by Johann · · Score: 1

    No I am not a security expert. IMHO, understanding how a program works is an obvious pre-requisite to find security flaws. You cannot understand how a program works simply by reading the code.

    In the Interbase example, (I could not read the CERT advisory before my post), it may have been easy to find, maybe not. Quite possibly, no one looked at or read those modules, or (more importantly) understood the code to determine that it was a back door.

    Your buffer overflow example is pointless. Anyone with 1 year experience as a C programmer can find a buffer overflow. IMHO - this is not a 'security problem', it's a 'stupid programmer problem' - i.e., competent programmers check memory boundaries.

    As far as grepping around the code, fine - write some shell scripts and have a party. If you are so worried about it, why didn't you read the Interbase code from 'start to finish'. Or better yet, write a parser that will examine C code for security problems. This would be a hell of a lot more useful to perform security audits, compared to reading the code from 'start to finish'.

    Later

    "Fat, drunk, and stupid is no way to go through life."

    --
    "You're gonna need a bigger boat." - Chief Brody
  50. Re:Backdoors vs. default passwords by scott4000 · · Score: 1
    Who's to say you're compiler doesn't have a bcak door? Just because you compile the code doesn't make it any more secure unless you _wrote_ the compiler yourself!

    I'm sure you realize that whatever you used to compile your own compiler could also include a well-hidden binary backdoor. Something like this is recursive. The only way to be secure is to use hardware which you built yourself, with an operating system and compiler which you wrote yourself by hand, and even then, you must be able to trust the tools you used to build that hardware and enter the base code.
  51. Re:Security patches - apologies to QuantumG by QuantumG · · Score: 2

    I have no use for the software. Where's all the companies that have been using this software since day nought? Surely when they heard that Borland was open sourcing their favourite database package they should have ponied up the cash to have it done. Hell, there's probably even a couple of security companies that use this software themselves, they probably just didn't know that it was open sourced (like me!).

    --
    How we know is more important than what we know.
  52. Free(libre) games: diamonds in the rough by yerricde · · Score: 1

    or you play the (mostly) crap games that you CAN get under the GPL.

    You downplay the "mostly." I admit, many GPL'd games are crap, but most commercial games are crap too. You just have to find the diamonds in the rough. For instance, have you ever experienced tetris... on LSD? Or have you raced down a mountain as a penguin? Or taken out your frustration by killing those annoying little hampsters?


    Like Tetris? Like drugs? Ever try combining them?
    --
    Will I retire or break 10K?
  53. Re:Wait a minute.. by InterbaseFounder · · Score: 1

    Actually, they didn't forget about it. One of the developers used it to implement a feature in version 6, the current version. The original solution by the self same developers (sent to the world when they forgot to purge their internal CVS notification list) was to change the backdoor account and password and just not tell anyone (they apparently aren't aware that an image can be dumped in ascii). Now they claim a different fix. But this time they're not telling anyone (me, you, the users or even CERT) how they closed the back door.

  54. Re:Hits on port 3050/tcp already on the increase by Anonymous Coward · · Score: 1

    I think Firebird probably forgets to mention that the "original" developers released Interbase to the open source knowing fully that the backdoor was there waiting to screw Borland at a later time. Just a thought because now they look like the good guys. Granted they did a good thing, but this just makes Borland look bad in the public eye.

  55. So how would you go about making a backdoor? by Jafa · · Score: 2

    This brings up the question, to view from several angles, how would you try to sneak in a back door (or any kind of 'easter egg' type code that doesn't need to be there) into an open source project? Obscure hashing of keys in the code? Just naming functions so they sound official?

    There can't be a way to completely hide it. Just make the trail harder to follow. So, as an exercise of what to look for, how would you go about pulling something like this off?

    Jason

    1. Re:So how would you go about making a backdoor? by A+non-mouse+Cow+Herd · · Score: 1

      In this specific case, it wasn't intended as a back door. This was a built in account so the server process could attach to it's own security database. Obviously there are much better was of doing this, but it was just one of many examples of really bad program design. And bad implementation. And people who programmed in an evironment where security was barely even given lip service. This back door was probably made with managment knowledge and aproval. (I don't know for sure. I worked for the interbase group after this was introduced, and was not aware of it while I worked there)

  56. Re:Security patches by QuantumG · · Score: 2

    Have you ever "read the code from start to finish with a pen and paper next to them" on any major project? Have you ever heard someone do that? Frequently? Or are you just trying to be a troll? That's just not the way it happens.

    Actually that's exactly the way it happens. It's called a "security audit" and it involves reading the source. It is best done by a security expert who reads through the source, writes down everything that he is suspicous of and then sits the programmers down in a room and asks them question by question what each of the variables involved are, where they come from, what resultant binaries they are used in, etc. I know this because I used to do security audits for a living and it was during this actual hands on experience with software that I decided that open source was better because you can get more people reading the source simultaniously. As for whether I am trolling? No, but I appear to have attracted a few flame throwers anyway!

    --
    How we know is more important than what we know.
  57. Re:Security patches by Zebbers · · Score: 1

    hey fuckhead. Someone DID read the source, that's why it was found. My god, are you dumb? Or are you volunteering to fish through the thousands and thousands of lines of code of every closedsource project that goes open? Thought so. This is proof that eventually it will be found in an opensource setup. It may never, ever be found in a closed source situation. Just ask any professional developer how much of a pain in the ass it is to read through someone elses code with what little comments they left, and try to get a grip on EVERYTHING thats going on.

    Yea, I thought so.

  58. Re:More juice ... I like this part by MadAhab · · Score: 1
    That seems to indicate that they DID just switch passwords.

    In which case, it shouldn't take much more than applying "strings * | less" and some careful reading before and after the patch to find out the new backdoor account.

    And yes, it is probably unencrypted; I just checked version 4 binaries on freebsd and these two files have it unencrypted:
    -r--r--r-- 1 root wheel 1145637 Oct 22 1998 gdslib.so.0.1
    -r--r--r-- 1 root wheel 1145835 Oct 22 1998 gdslib.so.1.0


    Boss of nothin. Big deal.
    Son, go get daddy's hard plastic eyes.

    --
    Expanding a vast wasteland since 1996.
  59. Re:Security patches by doctor_oktagon · · Score: 2

    I'm not trying to understand it. I'm trying to find security flaws and that that's why it's called a "security audit

    A code backdoor is NOT a "security flaw"! Any decent C programmer can spot a buffer overflow in 20 minutes, but very few programmers could spot an obsticated backdoor in a major application like a relational database system without a major investigation by a dedicated team of people!

    Why is it you seem to think you know anything about security analysis? Do you do this for a living? Well I have

    Well I'm a security consultant and could probably spot a hole in a set of firewall rules in 20 minutes, but it doesn't mean I could find a route through a unicode vulnerability in a www server, which accesses an open share on another server, which has trusted access through another firewall to a back-end Oracle system in 20 minutes ... I'd be looking at at least a 5 day penetration test for that!

    Please stop being defensive, and stand back and look at this particular situation!

  60. Re:Security patches by QuantumG · · Score: 2

    hmm.. maybe because "writing a parser that will example C code for security problems" is an NP hard problem, I don't know, that could have something to do with it. And yes, you do need to know how to code to look for security problems and yes, maybe a half decent C programmer can do it (although I doubt that when you consider that the Interbase code was presumably written by someone with a years experience at programming in C -- if not, what a quality product this is) but whether or not this "stupid programmer problem" is a "security problem" or not I'd dare to say that the folks who have all their data destroyed or their machine taken over as a result of it would tend to think it was. So, finally, if what you say is true and you are not a security expert then shut the hell up about stuff you know nothing about! God damn. Do you give this kind of shit to lawyers who come on Slashdot and give their legal opinion? How about processor engineers. "Hey man, I may not be a hardware engineer but it only takes someone with one years C experience to know that L1 cache is better than L2 man!" .. are you aware of how stupid you sound to everyone on here who has a clue about software security? If C programmers knew what the hell they were doing then we wouldn't see dozens of buffer overflows every month.

    --
    How we know is more important than what we know.
  61. binary patch for interbase by Richy_T · · Score: 2
    >"BACKDOOR_PASSWORD\0My_Sekret_Password\0"

    Rich

  62. Re:Are there any *good* choices for Interbase user by InterbaseFounder · · Score: 2

    There is a very good fix at http://firebird.ibphoenix.com The fix is an image zapper that finds and replaces the account, password, and the doomsday function with randomized byte strings. It's available for all almost all platforms and works for all versions of Interbase, except for the latest Firebird, which doesn't have the problem. The zapper, named ibsecure, is also ready to zap the anticipated new backdoor in Borland's latest release. Oh, maybe they did do a profession job this time? But since they're not talking, who knows?

  63. Re:Security patches by QuantumG · · Score: 1

    Chalk up another Slashdot flamer. One day you will be required to think like a human being.

    --
    How we know is more important than what we know.
  64. Security Through Obscurity Works! by istartedi · · Score: 2

    It worked for 6 years. How much longer would it have worked if they hadn't opened their source?

    Of course you don't want obscurity to be your only method, but you shouldn't rely on peer review as your only method either. It's just that I've grown tired of people saying that obscurity is of no value at all.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    1. Re:Security Through Obscurity Works! by Richy_T · · Score: 2
      It worked for 6 years

      Did it? Are you sure? Do you know that the Interbase people that had it didn't abuse it to go poking around in companies databases, reading peoples private messages? Are you sure they didn't tell any friends? Can you be sure that Interbase didn't supply confidential information obtained illegally about one of their users to a "friendly" competitor? (I mean I'm sure they haven't but the possibility is there)

      Can you be sure this hasn't been exploited somewhere somehow?

      Rich

  65. Re:Hits on port 3050/tcp already on the increase by doctor_oktagon · · Score: 2

    Now that I know what to simulate, I'll rig one of the honeypots and see if the script tries the exploit, or if the crackers wait until later after a positive hit to try their luck. But that will wait until tomorrow, beer is calling :-)

    They actually let you run a honeypot? You lucky thing! The chances of me actually managing to produce a business justification for one are pretty slim. Management happily spend money on top-end NetRangers etc. which is nice, but this is one step too far for them!

    And besides, if I ever choke out one of the routers, its good justification to accounting to buy bigger routers :-)

    Extremely good point: like accounting would ever understand that processor saturation is down to multiple ACLs ....!

  66. link is dead. new link is... by vladkrupin · · Score: 1

    https://www.cert.org/advisories/CA-2001-01.html
    ------------------------------------------------ -

    --

    Jobs? Which jobs?
  67. They randomized the password in the binary? by bmomjian · · Score: 1

    If all they did to fix this was randomize the password in the binary, and the password is stored at the same offset in every binary, isn't it trivial to find the randomized password by reading the binary file?

    Last I looked most executables were readable by world.

  68. binary patch for interbase (oops) by Richy_T · · Score: 2
    <"BACKDOOR_PASSWORD\0My_Secret_Password\0"
    >"BACKDOOR_PASSWORD\0My_Sekret_Password\0"

    Rich

  69. Re:Why the surprise? by jpiterak · · Score: 5
    Hmmm... While I agree with the idea that perhaps more people should be checking out the source code of the open source apps they use, I think you missed the point.

    The backdoor was introduced in the commercial version of the software. It's only now that it is open source that we could even see the error. The people paying for the 'presumably...high-quality app' you extoll the virtue of were receiving the backdoor-enabled product. Rather than being a failure of open-source software, I'd say this one was a sucess. I only wonder what other kind of 'crap' exists in all those apps whose sources are closed.

  70. Re:Open source and security by hizzoyt · · Score: 1

    I've thought about this before, and I shiver. Who is to say that big brother Bill Gates doesn't have a backdoor for everything MS. We'll never know, unless someone accidently finds out and leaks it to the public (I don't see MS going open src ever). So if everything MS could have a backdoor, what about the La-Z-Boy featured yesterday? (This answers the question of "why doesn't the recliner come with a toilet installed?")

  71. Re:Argie answer to argie ;) by carlos_benj · · Score: 1
    Imagine a scenario where you administer 100's of users which, somehow, administer at the same time their own space.

    We administer hundreds of users here and have just such a back door account. We call it 'root'.

    --

    --

    As a matter of fact, I am a lawyer. But I play an actor on TV.

  72. Re:More juice ... by InterbaseFounder · · Score: 1

    I don't think you undestand the nature of the "patch". The program is an image zapper that replaces the compiled in account/password with randomized strings. The problem with that technique is that a counterfeit zapper could replace the known back door with an unknown backdoor. The most effective way to prevent counterfeit zappers is to insist that people down load their own zappers.

  73. Re:Security patches by Stephen+Samuel · · Score: 2
    I read it moron. I personally don't think that a year was needed to find this. I would have thought that the first day that the source was released someone would have read the code from start to finish with a pen and paper next to them and written "obvious backdoor in eight files, remove" and fixed it.
    I second this notion: I run the following script on ANY source code I recieve:

    grep -R 'obvious backdoor' `find . -name '*.[ch]' -print` | Mail -s 'Fix these' me

    (It's a one-liner. Re-assemble if necessary. Modify appropriately for other languges.)

    anybody who takes this seriously deserves to .
    `ø,,ø!

    --
    Free Software: Like love, it grows best when given away.
  74. Re:More juice ... I like this part by blirp · · Score: 1
    I wrote:
    When she later spoke with someone from InterBase R & D, the "fix" he described was merely a change to a string - no fix at all.

    MadAhab wrote:
    That seems to indicate that they DID just switch passwords.

    Ok, I was a bit unclear on who said what. But it was the InterBase folks at Borland ('he') who did the 'change passwords' trick, and the Interbase2000 people ('she', Open Source people) discovered it and called it a no-fix.

    This is, of course, no proof that the patch doesn't just change the password...

    M.

  75. Re:At least it isn't called a Back Orifice. by Glytch · · Score: 1

    ARMAGEDDON! ARMAGEDDON!

    That was just disturbing...

  76. Re:A Compiler written in Assembler will stop this by RoscoHead · · Score: 1

    Yeah, and a Mack truck will kill 99% of known household pests, too.

    --

    Why is there only one Monopolies commission?
  77. Interesting in light of NSA secure Linux by dinotrac · · Score: 2

    A couple of things about this story -- and points raised in earlier posts are interesting in light of the NSA's recent release of a secure Linux. First: A backdoor that had existed for years was discovered relatively quickly (hey -- nothing happens overnight) after the code was opened up and began to see common use. Second: As others have pointed out, security by obscurity does work after a fashion and up to a point. Trouble is, so does vulnerability by obscurity.

  78. Re:An ounce of marijuana costs more than an ounce by QuantumG · · Score: 1

    See, that's not even a troll, that's just pure stupidity. The point of the sig line is that, because it is sold on the black market, pot is so damn expensive that people go out and steal stuff to get the money. And this is about the cheapest of contraband drugs. Now shut the fuck up.

    --
    How we know is more important than what we know.
  79. Open source and security by Balp · · Score: 2

    It shure gives a good argument for Open Source in security critcal locations. What if the same exists in Exchange or ISS?

    If bBrland could have it, why not Oracle, Sun, IBM? (Well to be honest you could get the source for Solaris from Sun.)

    / Balp

    1. Re:Open source and security by jmaslak · · Score: 1

      Oracle used to have a backdoor, too, although it wasn't the compiled-in, "hidden" backdoor, but rather a default account that many users didn't know was there (user name: scott). It doesn't exist in the newer versions of Oracle, though.

  80. Re:Recent MS break in? by InterbaseFounder · · Score: 2

    No, the senior developer currently on the project was present when the back door was implemented, and used the back door during development of the most recent version (V6). He just didn't think about the implications.

  81. Re:Backdoors vs. default passwords by tommy · · Score: 1

    There is a big difference -- these are not hidden. They are there to install and test the server and if you don't change them before you actually start using the server, then you are the stupid one. In this case, Borland is stupid.

    --

    I have a woman and money. Life is good.

  82. Re:Reasons_for_strong_firewall++; by Glytch · · Score: 2

    What's even funnier is blocking IE on Win98+ from making outgoing connections. It went nuts on me the first time I connected after that, but it's just been sulking quietly ever since. Opera forever, baby...

  83. Re:Hits on port 3050/tcp already on the increase by NotYourMomma · · Score: 1

    Yeah, the IBPhoenix/Firebird guys are real heroes. We have a lot to thank them for:

    * They (Jim Starkey) revealed the backdoor to the public before a fix was in place. They didn't reveal the actual username/password, but they made it very clear where, how and what to look for. After that most people found it in no time.

    * Either they panicked or saw this as their chance for 15 minutes of fame. Given that this backdoor has gone unnoticed, and presumably unexploited, for years they could have worked with Borland to come up with a solution and had this solution distributed to the customers before the problem was publicised. The majority of Interbase sites are end-users who do not read CERT alerts, /. or the Interbase and Firebird newsgroups and mailing lists. These sites are screwed now.

    * Presumably they *did* try to work with Borland, but who did they send to make the contact; The people in the IBPhoenix/Firebird community who hates Borland the most and who uses every chance they get to harm Borland; Ann and Jim. That Borland refused to speak with them can hardly come as a surprise to them given their common history during the last year. If my company where the target of Ann and Jim's attacks, I too would forbid all contact with them.

    * They (Jim again) repeatedly insult and slander Borland and the people who works or has worked on the Interbase development team, thereby making cooperation between Interbase and Firebird close to impossible. They don't seem to care that if they succeed in making Borland and Interbase look bad, they will probably scare the existing, paying, Interbase users away, leaving Interbase/Firebird with a fraction of the popularity is has now.

    * They have made sure that Borland will think twice before they ever release another of their products as Open Source. Borland has received nothing but bad will from the IBPhoenix/Firebird community since the source was released (and even before that). People seem to forget that in reality they don't have the right to claim anything from Borland. Interbase is Borland's property and they should be grateful for anything they get for free. Borland could have deep-sixed Interbase but they didn't. Is IBPhoenix/Firebird happy about that? Oh no, they are mad at Borland because Borland *might* have deep-sixed it. Ann and Jim had their chance with Interbase a long time ago and they sold it on their own free will. Yet Jim continue to behave as if it's still their database and that all the improvements that have been done to it since then are crude unworthy hacks made by the incompetents at Borland. If I had believed a fraction of the negative propagande I've read on the Interbase-Architect list (used primarily by Firebird), I would have abandoned Interbase long ago and moved to Oracle or MS-SQL.

    That said, yes, the backdoor is a security flaw, it shouldn't have been there in the first place and even though I don't know the details of what problem it was supposed to fix, it was evidently a stupid solution.

    It would have been nice if the implications of the backdoor had been analyzed before the problem was publicised. The CERT alert and the biased description on the interbase2000 site makes the problem sound like a doomesday machine, but from what I have been able to determine, it is actually quite limited what one can do through the backdoor account. I have been able to attach to an Interbase server and retrieve meta-data, but that's it; I have *not* been able to view, insert, delete or modify data, I have *not* been able to create, modify or delete meta-data and I have *not* been able to add, modify, drop or execute stored procedures. There *are* reports that some people have been able to crash the database process by attempting some of these operations. If that's the scope of the security problem, I personally can live with it.

    --
    -- Sue me if I'm wrong
  84. Re:Recent MS break in? by Stephen+Samuel · · Score: 2
    Once we get used to things, it's pretty easy to ignore the implications. Hitler got the people of Germany used to the idea of mass-murder by a gradual increase in the severity of the treatment of Jews.

    Whether it's profit-driven, back-doors, or mass-murder: How often have you heard the phrase:
    "That's just the way we do things."?
    `ø,,ø!

    --
    Free Software: Like love, it grows best when given away.
  85. Re:The failing of Open Source by InterbaseFounder · · Score: 1

    First, the Interbase code has only been out for about six months. Second, Borland didn't tell anyone. The problem was found by a member of the Firebird community. Third, it was found by reading the source. Heartening.

  86. Right on, dude! by Tom7 · · Score: 2

    I want any non-system application (ie fingerd, bind, apache, etc.) written in a SAFE language so that these kinds of common, braindead errors are IMPOSSIBLE.

    The "trusted" unsafe C codebase should be as small as possible.

    1. Re:Right on, dude! by Tom7 · · Score: 1

      I didn't say that it was entirely a language problem (no bug is), but the language is certainly a part of it. Bounds checking or smart dynamic allocation would have fixed this bug, and the programmer would have had to write less code.

    2. Re:Right on, dude! by QuantumG · · Score: 2

      There will be other braindead errors or even the same ones rehashed. This is not just an error of the language, this is a direct result of people trusting the incoming data. It's simple, take every function in isolation, identify every piece of data that's incoming and assume you can't trust it. Now is there anything in the function that is trusting incoming data? Yes, the function is not safe.

      --
      How we know is more important than what we know.
  87. Re:Security patches by QuantumG · · Score: 2

    I have to be defensive, you're attacking me! I've just been flamed by five people for speaking the trueth and you can be pretty sure that none of them are security consultants like you are. Why is this not a security flaw? If I was looking through this code I would see lines like

    return (!strcmp (name, "USER") && !strcmp (project, "LOCKSMITH"));

    and immediately ask "what's this LOCKSMITH thing?" and then take a grep around and discover the #define LOCKSMITH PWD_ls_user() and have a look at that and discover

    char *PWD_ls_user()
    {
    if (strcmp(ls_user,"Firebird ")==0)
    {
    mk_pwd(ls_user);
    }
    return ls_user;
    }

    char *PWD_ls_pw()

    {
    if (strcmp(ls_pw,"Phoenix")==0)
    {
    mk_pwd(ls_pw);
    }
    return ls_pw;
    }

    and say "hey, this thing which is obviously a username and password is hard coded here? What the fuck?" and quickly come to the conclusion that there is a backdoor in the code. When I filed my security report I would include a section on the LOCKSMITH backdoor and when the programmers told me that they did that intentually I would have a little laugh and explain to them the risks of doing that and how to do it properly. They would tell me what is right and wrong with my proposed solution and the problem would get solved.

    BTW, here we distinquish between you guys as "network security" and us guys as "software security" but I've also done network security.

    --
    How we know is more important than what we know.
  88. Re:This is serious fuel for open source by tealover · · Score: 2

    I wouldn't be surprsised that the "breakins" into databases recently where millions of cc numbers were compromised were rooted in similar situations.

    It's really given me cause for entrusting my financial data to any online merchant. As such, I make a concerted effort to only use one cc for online purchasing, which I periodically "lose" so I get a new number.

    I recommend you all do this.

    --
    -- You see, there would be these conclusions that you could jump to
  89. Re:what did you expect? by brunox · · Score: 1

    Ok, I agree that there might be some good reasons to plant backdoors on software but the costumer must be informed that it's possible to the vendor to access costumer data/system.
    There was a blurb about Microsoft being able to access Win95 registry when a user is connected to the Internet and thus gathering information about non-licensed MS software installed. I don't know if it's true but is the kind of procedure I'd expect from Redmond and that I think it's extremely wrong.

  90. Re:Security patches by Johann · · Score: 1
    Well, we finally agree on one thing:

    If C programmers knew what the hell they were doing then we wouldn't see dozens of buffer overflows every month.

    My original point is that merely reading the code is not the only way to find all security flaws. If it were, then writing a 'parser to examine C code for security problems' would be a snap. Since you stated that this is a hard problem, then you must acknowledge that you cannot just read the code from 'start to finish' and say you have completed the security audit. Surely, you security experts actually run programs and try to break them, right? If not, then you are utterly clueless.

    And yes, you do need to know how to code to look for security problems and yes, maybe a half decent C programmer can do it...

    Your presumption of the competence of C programmers (at Interbase) or otherwise speaks to your ignorance about building programs and the number of flaws per lines of code. Buffer overflows are so pervasive in C code because of two things: 1. incompetent test cases and 2. clueless programmers. For example, clueless programmer Joe writes code that does not check for overflows. Clueless Joe never runs a test case run which exploits the overflow, so he thinks his code is 'all clear'. Clueless Joe moves onto the next project and repeats cycle.

    The bottom line is that programmers (like security experts) are fallable. Sometimes the fallability is a matter of incompetence/ignorance (mostly) or laziness (rarely).

    "Fat, drunk, and stupid is no way to go through life."

    --
    "You're gonna need a bigger boat." - Chief Brody
  91. Re:Why the surprise? by gle · · Score: 1

    They claimed no remote root hacks.
    It is not exactly the same as no root hacks, is it?

    --
    Ni!
  92. Um, how do you know it worked? by Colin+Smith · · Score: 3

    Just because you didn't know about the backdoor doesn't mean that some cracker didn't know about it.

    --
    Deleted
    1. Re:Um, how do you know it worked? by TobyWong · · Score: 1

      Ahhh yes, there most certainly IS security through obscurity but then again, once somebody knows about it (including the person who put the backdoor in) then it's not really "obscure" anymore... =)

      --
      - Toby
  93. Re:Why the surprise? by QuantumG · · Score: 2

    actually it's more than that. They claim no remote root hacks in the default install. ie, it may very well be there but if you don't turn on the services that we have turned on by default then you're safe. That's the claim. I'm not sure about all the people who were running the ftp daemon and got exploited think. But I doubt it was "damn, I shouldn't have enabled that ftp server cause it wasn't enabled by default".

    --
    How we know is more important than what we know.
  94. Re:Hits on port 3050/tcp already on the increase by hayden · · Score: 1

    Before I start, I've never had anything to do with this project so I'm taking a lot of what you say at face value.

    >* They (Jim Starkey) revealed the backdoor to the
    >public before a fix was in place. They didn't
    >reveal the actual username/password, but they
    >made it very clear where, how and what to look >for. After that most people found it in no time.

    Where is there any reference to this? They actually waited until after Christmas and a patch in place before releasing any information and after repeated attempts to contact Borland.

    >Either they panicked or saw this as their chance
    >for 15 minutes of fame. Given that this backdoor
    >has gone unnoticed, and presumably unexploited,
    >for years they could have worked with Borland to
    >come up with a solution and had this
    >solution distributed to the customers before the
    >problem was publicised.

    And if someone had found the exploit while the patch was being distributed (not unlikely, You get a patch from Borland with instructions to install it urgently. Your database works fine now. Why bother)? Or if someone had noticed it in the unpatched source?

    >The majority of Interbase sites are end-users
    >who do not read CERT alerts, /. or the Interbase
    >and Firebird newsgroups and mailing lists. These
    >sites are screwed now.

    And that's the firebird teams fault how? If there are still people out there who aren't willing to take the effort to watch the accepted security advisary mailing lists then they deserve what they get.

    >Presumably they *did* try to work with Borland,
    >but who did they send to make the contact; The
    >people in the IBPhoenix/Firebird community who
    >hates Borland the most and who uses every chance
    >they get to harm Borland; Ann and Jim.

    They hated them sooo much they went out of their way to provide binary patches when the patch that was released by Borland was a non-patch. And they even attempted to contact them at all. They could have just gone to CERT with the advisory, Borland be damned. Borland looks like a criminal for putting a backdoor in their software and the firebird team look like saviours. No extra effort needed.

    >That Borland refused to speak with them can
    >hardly come as a surprise to them given their
    >common history during the last year. If my
    >company where the target of Ann and Jim's
    >attacks, I too would forbid all contact with
    >them.

    So petty bickering is more important to Borland than their customers security. There's a customer attitude to be proud of. If you received an email from someone that explained the discovery of a major security hole in one of your products would you think "Now the boss said not to talk to these bad people so I'm just going to delete this email". I think not.

    > They (Jim again) repeatedly insult and slander
    > Borland and ....

    [snip]

    I can't argue with you here I don't know the full story but petty bickering vs huge security hole. Weigh it up.

    > They have made sure that Borland will think
    > twice before they ever release ...
    [snip]

    I should think Borland would. Or atleast they will remove the back doors in their source before releasing it. But of course this was an isolated incedent. I think Borland have done more damage than any of the firebird team could have possibly done by having a back door in their software. Whats the bet that sys admins around the globe are considering ditching all Borland software because it can no longer be considered trustworthy.

    Your attempts to hack a Borland database show more you lack of knowledge than any real proof that the security hole wasn't all that bad. I think I would trust the knowledge of people who actually hack the software over a poster on slashdot with a very large user id (=> recently registered) and having only posted once (=> someone from Borland with sour graphs?).

    --
    Nerd: Derogatory term typically directed at anybody with a lower Slashdot ID than you.
  95. Re:Why the surprise? by hayden · · Score: 1

    They got hit by two or three format string bugs. For a while it said only one local root hack in 2 years and then that bit disappeared.

    --
    Nerd: Derogatory term typically directed at anybody with a lower Slashdot ID than you.
  96. Re:Why the surprise? by hayden · · Score: 1

    >it was no known root exploits in the default
    >install for three years.

    Which makes a big difference. If you are running something that is vulnerable then you must have enabled it. When you see the advisory (if you aren't reading advisories then you're vulnerable on account of being a bit dim) you will probably recognise the service as one you had to turn on and patch it.

    In a non-secure by default system, the vulnerability may go un-noticed because you never enabled the service yourself.

    --
    Nerd: Derogatory term typically directed at anybody with a lower Slashdot ID than you.
  97. Well, not exactly... by Anonymous Coward · · Score: 2
    Open Source makes those things unlikely, but not impossible...

    • Backdoors can be added by rogue compilers
    • Backdoors can be intentionally engineered into obfuscated code in such a way that it would appear as an oversight or bug if it were ever discovered.
    • Backdoors could be distributed in the RPM binary, which people routinely install on their machines without compiling from source.

    I'm sure other people could think of more scenarios

  98. More juice ... by Seb · · Score: 2

    can be found at InterBase Developer Initiative web site: www.interbase2000.org.

    1. Re:More juice ... by Anonymous Coward · · Score: 1

      Hilarious quote from the page, given the problem being patched: "For security reasons, the patch is available only as a binary and you will be required to register for this download."

  99. Re:Hits on port 3050/tcp already on the increase by Jace+of+Fuse! · · Score: 1

    I've been taking advantage of it for the last 30 minutes!

    WAY TO GO SLASHDOT! WOOHOO!

    *snicker*

    -=-

    --

    "Everything you know is wrong. (And stupid.)"

    Moderation Totals: Wrong=2, Stupid=3, Total=5.
  100. Who ensures the safety of the ensurers of safety? by mrdlinux · · Score: 1

    The problem is, are the higher level, "safe" language compilers/interpreters "safe" themselves? Or do they contain their own share of bugs that could lead to irregular behaviour and exploits? What would be a good idea is to write a compiler/interpreter for a safe language such as Scheme, CL, ML, or Haskell and audit it to the extreme. There are probably several efforts (such as a compiler written in ML that is provably correct), but I only know of one that depends so heavily on the compiler (Vapour, but its a bit more than just a compiler). As for Java, well Java doesn't have closures, so in my eyes it is crap.

    --
    Those who do not know the past are doomed to reimplement it, poorly.
  101. Re:Oh no! by Stephen+Samuel · · Score: 2
    Yes, and for 6 years the only people who knew about it were the appointed illuminati and the black hats.

    It's an age-old debate. Older than the computer. Some people feel that it's just torture to tell a terminally ill patient that they're about to die. Others welcome the opportunity to say goodbye to friends and spend the their retirement money.
    `ø,,ø!

    --
    Free Software: Like love, it grows best when given away.
  102. Hits on port 3050/tcp already on the increase by anticypher · · Score: 2

    I've seen a steady increase on probes to TCP port 3050 the last few days, so obviously some mailing lits have had the info available for a while. There seems to already be at least one skiddy kit just to probe for this vulnerability.

    It will be interesting to see what various inquiries produce as to why this was put into the code, and why it existed for years in open source before being discovered.

    Off to modify some router ACLs to log and drop...

    the AC

    --
    Hemos is like...sci-fi fans;he thinks technology is cool, but he hasn't bothered to understand the science it's based on
    1. Re:Hits on port 3050/tcp already on the increase by mark.odonohue · · Score: 1
      When you say:

      this is an instance where an Open Source release allowed a security hole, hidden for years as closed source, to be found ...

      We should also include the following bit here:

      and for it to be removed ;-)

      Cheers

      Mark O'Donohue
      --
      Your database needs YOU!
      http://firebird.sourceforge.net

    2. Re:Hits on port 3050/tcp already on the increase by NotYourMomma · · Score: 1
      Please read A Little History on the Interbase Security Hole: http://community.borland.com/article/0,1410,26611, 00.html and the community response at news://news.mers.com/mailman.979243321.6381.interb ase%40mers.com.

      Where is there any reference to this? They actually waited until after Christmas and a patch in place before releasing any information and after repeated attempts to contact Borland.

      You can find Jim Starkey's post archived on the IB-Architect list at egroups. The the post appeared before the fix was published.

      And if someone had found the exploit while the patch was being distributed (not unlikely, You get a patch from Borland with instructions to install it urgently. Your database works fine now. Why bother)?

      It is not uncommeon for security hot-fixes to the issued with no detailed explanation of the problem they fix. There's a good reason for this. The chances of someone else discovering the problem *and* exploting it, before the fix had been distributed and applied, would have been minimal and IMO worth taking.

      And that's the firebird teams fault how? If there are still people out there who aren't willing to take the effort to watch the accepted security advisary mailing lists then they deserve what they get.

      Of couse it's not Firebird's fault. In most cases the customers are responsible for their own actions (or in this case, lack of action), but we have to take reality in to account too. Interbase is widely used as an embedded database; Many customers might not realize that they have an Interbase server running on their system. The majority of non-IT companies have no knowledge of CERT and the like and they will never hear of the problem unless their supplier notifies them. Heck, I would even claim that most IT companies doesn't know about CERT. I work at the largest Interbase VAR in my country and I'm sure our compay doesn't read CERT alerts. We must presume that the security alert is meant as a benefit to the users of the affected systems. If the majority of the users benefits most from a delayed alert, I think it should be delayed. Naturally I'm just speculating here - I can't say for sure what most users do or want.

      They hated them sooo much they went out of their way to provide binary patches when the patch that was released by Borland was a non-patch. And they even attempted to contact them at all. They could have just gone to CERT with the advisory, Borland be damned. Borland looks like a criminal for putting a backdoor in their software and the firebird team look like saviours. No extra effort needed.

      I can't really userstand your point here. Are you saying they shouldn't have or didn't have to make the patch because that was Borland's responsibility? Nobody has complained about Jim's patch and nobody has said they shouldn't contact Borland. Your statement about the backdoor indicates to me that you haven't understood the intended purpose of the backdoor, but that might just be me misunderstandning you so never mind. Oh, and btw, from what I've read, Borland's patch is actually more secure than Jim's. I'm not claiming that there's anything wrong with Jim's patch. One doesn't have to be wrong for the other to be right.

      So petty bickering is more important to Borland than their customers security.

      Please don't but words in my mouth. Borland got the message and acted on it. This whole situation could have been handled better by both sides and they both seem to be getting their act together now. Maybe this whole fubar will clear the air between them. My original post came as a reaction to the, in my eyes, completely one sided discussion of this situation.

      Whats the bet that sys admins around the globe are considering ditching all Borland software because it can no longer be considered trustworthy.

      For those who has read more than the headlines, I would say the chances are minimal.

      Your attempts to hack a Borland database show more you lack of knowledge than any real proof that the security hole wasn't all that bad.

      What's your point? I haven't caimed to be a security expert or having done extensive tests and analysis on this problem. I have worked with Interbase since version 4 and know it very well. I told you of *my* experience in the hope that someone could tell me I were right or wrong. Just assuming that I'm a lying incompetent bastard doesn't do anybody any good.

      I think I would trust the knowledge of people who actually hack the software over a poster on slashdot with a very large user id (=> recently registered) and having only posted once (=> someone from Borland with sour graphs?).

      What's the purpose of trying to discredit me? I've told of my observations and my opinions. You can disagree with me, but they are still my opinions. Would you rather have me shut up and just hear one side of the story? I don't get it.
      True, I haven't posted on /. before because there haven't been anything for me to post about before, but doesn that automatically mean I can't be trusted. Most of the people you say you would rather trust also just registered on /. for this discussion. Instead of attacking me, you could have asked for references; I would have been happy to supply them.
      I do not work for Borland and never has (can't you tell English isn't my native language), but I'm an active member of the Delphi community. I have chosen to remain passive and lurking in the Interbase community because of the issues I have spoken of. I won't be part of a community which bites the hand that has fed it (and has fed me through Delphi).

      That's it for me on this issue. I've said my piece.

      P.S. Jim Starkey has just issued a formal apology to Charlie Caro, Borland, through on the IB-Architect list. Kudos to Jim for this.

      --
      -- Sue me if I'm wrong
    3. Re:Hits on port 3050/tcp already on the increase by NotYourMomma · · Score: 1
      You can find Jim Starkey's post archived on the IB-Architect list at egroups. The the post appeared before the fix was published.

      I have just checked Jim's post on egroups and I was mistaken. Jim's post does contain download instructions for the fix which means that the fix was available when the problem was revealed.

      I apologize for this.

      --
      -- Sue me if I'm wrong
    4. Re:Hits on port 3050/tcp already on the increase by doctor_oktagon · · Score: 2


      Off to modify some router ACLs to log and drop...

      Ack! You're gonna choke your router if you keep adding ACLs ... buy a firewall :-)

    5. Re:Hits on port 3050/tcp already on the increase by jfinke · · Score: 1

      As far as I know, Interbase just recently got release as Open Source.

    6. Re:Hits on port 3050/tcp already on the increase by deusx · · Score: 5

      ...and why it existed for years in open source before being discovered.

      Correction... Note that the blurb above says "...a direct addition by the original Borland/Inprise authors done before the program was released as open source." This wasn't done after the Open Source release.

      Furthermore, Interbase has only been under an Open ource license for less than a year. Inprise was considering the move around last December, and was finally (although missing parts and amidst great controversy which eventually forked the code) released under an Open Source license around July 2000

      So, the thing is from what I can see, this is an instance where an Open Source release allowed a security hole, hidden for years as closed source, to be found finally. Which is, of course, the complete opposite of what you said.

    7. Re:Hits on port 3050/tcp already on the increase by deusx · · Score: 5

      Wow.

      Even more... If you read the saga of the backdoor here, it seems that not only was the backdoor known about by Inprise R & D engineers-- but that when the original creators of Interbase (no longer a part of Inprise, but now part of the Firebird development fork) brought the security breach to their attention engineers at Inprise were forbidden to speak to them .

      And furthermore, as they realized that not only was this in the Open Source release, this backdoor was also in the last 3 closed source versions of the database. So they fixed the Firebird source, but also-- even with the company itself forbidding its own engineers to contact these people-- they wrote a binary patch program to disable the backdoor on previous versions.

      Imagine that. Even while being slapped in the face, these guys fixed their product for them.

    8. Re:Hits on port 3050/tcp already on the increase by I_redwolf · · Score: 1

      Not for them; For the people that use interbase and now have to be subjected to being backdoored. If they were a bit more political about the whole thing expressing their apology and they an overall impression of being happy it was found I wouldn't care that much. However; as we can see from the way that they handled the whole situation that I specifically won't be using much of any Borland Products ever again; It'd be my wish that everyone else who can; does.

  103. Re:Are there any *good* choices for Interbase user by mark.odonohue · · Score: 4
    Hi

    Have a closer look ;-)

    The code is intialised to the variables in the .h file, and when the server starts up it repaces them with random data using chars with ascii values 1-255

    So every time the server starts up you get a different random password.

    I've posted somewhere else, a bit about how this was done just prior to christmas, to fix the problem, and not introduce any unknowns.

    A more perminant fix will be applied, we found it when we were doing a review of the security

    There are problems, but in Firebird we have several people who do crypto/PKI things for their day job and we were doing a security review, that in part explains how we've found these. It also places us in a good position to fix these things. As far as Borland are concerned, they seem to be ignoring us,

    They wouldn't tell Jim they were working on a patch for prior versions of InterBase, so he felt compelled to write his own.

    But for now it's a good time to keep your Firebird/InterBase server locked behind a firewall

    Cheers

    Mark O'Donohue
    --
    Your database needs YOU!
    http://firebird.sourceforge.net

  104. Re:Dogma by FallLine · · Score: 2
    You are wrong about the time aspect, the second any backdoor is introduced, there is a security problem - not when someone other than the person that coded it finds it.

    That is the big difference - in an open source project, a security flaw is accidental, and not exploitable until someone finds it - and hopefully it is the comunity that finds it and not a hacker. With a backdoor in a closed source project, security is broken immediately. The person that coded it knows about, his friends, the person that asked him to put it there, etc....


    Huh? This strikes me as a rather semantic argument. It all depends on how you define the word "problem". In any event, I'd say (and I think most others would agree to) that the most pressing security concern of any product consumer, be it open source or closed, is the effective security of the product. How the problem came to be is not nearly as relevant to the consumer as IF and WHEN it becomes known. Notice: This is not the same thing as saying that just because a problem is unknown at some point in time that it is irrelevant...as long as there is an (actual) risk it is relevant. However, it is equally stupid to somehow imply that any closed source product with any backdoor (no matter WHEN or IF it is discovered) is somehow, necessarily, more problematic for everyone then an Open Source product with a zillion "accidental" security flaws that are discovered haphazardly in great number.

    Put simply, I'd rather face the risk of ONE developer knowing a backdoor (or bug or flaw) exists than face a zillion hackers armed with many different exploits on the comparable open source product long before. One might argue this empirically: the percentage of highly exposed interbase dbs that were hacked versus the somewhat equivelent MySQL database (which, incidentally, has seen it's fair share of security problems).

    All of this, however, is entirely besides my original point. The point is that the poster I was replying to, and indeed a great deal of open source dogma, says that such backdoors are impossible to hide for an extended period of time in a popular Open Source project. I simply assert that: If security flaws can lay dormant for years as the result of improper coding in popular Open Source products, then an honest to god backdoor can certainly be hidden in there by an intelligent coder with equal or greater success, even if it isn't trigged by something as trivial as "MY VOICE IS MY PASSWORD".

  105. Little Brother Is Watching? by GoodFastCheap · · Score: 2

    It really makes you wonder, when something like this has thusfar escaped the relatively large community of InterBase users: what is hiding in the software that we acquire in binary-only form?

    I fully expect that somewhere, in a corporation's database, is the tacit knowledge that I wear brightly colored underpants each and every second Thursday of the month... };-)

    --
    "I know - let's make Quake...AGAIN! They just might be stupid enough to buy it..." (overheard at id)
    1. Re:Little Brother Is Watching? by moz25 · · Score: 1

      I would suppose that software in binary-only form almost always has some sort of backdoor. Open source doesn't give a 100% guarantee against this, but it facilitates finding these.

      Moz.

  106. Re:Other Borland Products by JinxMaster · · Score: 1

    Try http://www.acm.org/classics/sep95/

    It is the "pretty" version.

    --
    ****** WE hold these Truths to be self-evident, that all Men are created equal, that they are endowed by their Cre
  107. Re:One year since source release.. by mark.odonohue · · Score: 1
    Hi

    I'd sugest that if you want to download the source to the "active" opensource InterBase project.

    I'd try here

    http://sourceforge.net/projects/firebird.

    This is the Firebird - daughter of interbase project. All of the community changes happen here, and we have 30 odd registered developers and occasionalyl bump into the top 10 projects on sourceforge.

    Of course since as one of those developers, Im probably biased ;-).

    Cheers

    Mark O'Donohue
    --
    Your database needs YOU!
    http://firebird.sourceforge.net

  108. Whats worse... by ard · · Score: 1

    ... is the backdoors you dont know about, that exist in much of the software out there.

    maybe the governments that fear closed-source OS'es have a point after all :)

  109. Re:Security patches by mark.odonohue · · Score: 1
    Hi QuantumG

    This is part of the patch to fix the problem. the orignal code was not as clear.

    There is a lot of code, and a lot of it is old.

    It generates thousands of warnings, and has lots of cute #defines

    It was released without the proper build procedures, and it has (and there is still) an effort underway to make the build easy and crossplatform

    Since we get no help from Borland and they are basically trying to ignore us. For instance an attempt to release a document called "Interbase Engine Internals" a 1991 document for public use was met with a legal threat to sue from Borland (and it still isn't released). The user documentation for InterBase 6.0 which has work contributed by Borland and others, still hasn't seen the light of day, since Borland wont even talk about settling the ownsership/release problem.

    In all of these things, a security audit was one on the list, and we were pretty much starting out when we found this problem.

    It's interesting that most of the engineers within Borland (most now former engineers, and some even on the Firebird team) didn't know about these problems.

    I have other concerns as well (forinstance the default interbase install is to run as root user, that does not have to be the case and should not be) these all need to be addressed.

    we have other issues that need to be solved but these are ones was we did expect to find.

    BTW: Did you check out the problems with the file qatest.c. Which has been less widely reported.

    What would you think of a QA department that insisted you place a routine into a production release of your product that lets any user delete the current database or crash your server at will.;-).

    Cheers

    Mark O'Donohue
    --
    Your database needs YOU!
    http://firebird.sourceforge.net

  110. This is what we've been saying all along by tommy · · Score: 1

    I can't say I'm glad to hear of something like this, but at the same time it does strengthen our argument that open source *is* more secure.

    Spin that.

    --

    I have a woman and money. Life is good.

  111. Wait a minute.. by Garpenlov · · Score: 1

    It says the backdoor exists in the open source version they released. Which is probably how it was discovered. So they put a backdoor account in there, forgot about it, decided to open-source their product, and .. oops.

    Guess that'll teach companies a lesson about open-sourcing your products: go through and take out all your backdoors first!

    --
    --- Where's my X.400 protocol decoder?
    1. Re:Wait a minute.. by moz25 · · Score: 1

      From what I read, Borland was pretty unresponsive initially. Looks like it might just have been laziness.

      Moz.

  112. Re:root=backdoor? (was Re:Open source = no backdoo by guran · · Score: 1

    Well, thanks for elaborating my second paragraph ;-)

    --

    All opinions are my own - until criticized

  113. Re:A mixed bag by hey! · · Score: 2

    However, that's not only evil nastyness, the day might come where a company blesses a db manufacturer for implementing a backdoor, just after both dba's got run over by the same truck.

    When I was an MIS director, I had all the critical passwords written down on separate, sealed envelopes with my signature on them and put in a safe deposit box which could only be opened by the VP of finance -- specifically to guard against the event that the key sysadmins and/or I should come to an untimely end.

    --
    Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
  114. Backdoor by Gothmolly · · Score: 2

    Joshua5?

    --
    I want to delete my account but Slashdot doesn't allow it.
  115. Re:Mmmmm.. by javatips · · Score: 2

    On the contrary, it's VERY decent of them not to tamper with the code before releasing it. That way people can more easily learn about the problem and implements whatever fix they want.

  116. Re:A Compiler written in Assembler will stop this by dkf · · Score: 1

    In my experience, it is harder to analyse a twenty LoC C program working at the assembler level than a 20kLoC C program at source level. (Yes, I've done this.)

    Also, it is possible for not only the compiler to have obfuscated backdoors, but also the debugger, decompiler and code-dump utility. Hell, if you monkey around with the OS enough, you can create a file which contains code that cannot be viewed using any tool but which can execute and contain any backdoor you care to name. Of course, that's a scenario only for the paranoid, and it would be very difficult to exploit in any systematic way too. You would also be able to use 'cat' to strip the offending code... :^)

    --
    "Little does he know, but there is no 'I' in 'Idiot'!"
  117. Re:Security patches by QuantumG · · Score: 2

    Firstly I didn't say that you just had to read the code from cover to cover, I said that you had to read the code from cover to cover and you do. Secondly, terribly competent programmers write buffer overflows all the time and if only incompetent people write buffer overflows then this whole project was written by morons because it is full of em. Very good programmers write buffer overflows all the time because it is not in their job description to be a security expert. That's not to say that I think they shouldn't know what a buffer overflow is and how to avoid it but I hardly think it relfects on their coding skill. Frankly if I have the choice between a developer who can code to specification, on time, on budget and with efficency and yet doesn't know strcpy from strncpy and a guy who cant code for crap but can find a flaw in 10 minutes and write the sploit in 5 but cant code a damn, I'll take the good coder, cause that's who I hired. Fallability is about ignorance but I dont think ignorance of security issues makes you a bad programmer.

    --
    How we know is more important than what we know.
  118. Re:Why the surprise? by Municipa · · Score: 1

    True, but I guess my point is that many companies go the open source route to save money. Since they don't want to spend the extra cash to check source themselves, they'll be more likely to go with the better known programs, in this case, MySQL or Postgres, assuming they haven't gone to a commercial product. If trust is lost in Open Source, when could happen is less corporate support for the lesser known projects (and Interbase isn't so unknown), leaving only a few to survive.

  119. Security patches by QuantumG · · Score: 1

    You can get the security patches from the sourceforge site. What can I say? I'm shocked. Did anyone read the source? or do we just want these things open source for political reasons these days?

    --
    How we know is more important than what we know.
    1. Re:Security patches by QuantumG · · Score: 2

      no.. they have to say, dude, what is this lame function used for? The one that is passing in a string called user_toc_man and then goes on to copy it into a 256 byte buffer. and then the programmers says something like "oh that, that's the user's total object count for all the manual changes he has made".. uh huh.. and the user specifies this? Where? "oh.. it's in a file in his home directory" and the security guys says "can he change this?" and the programmer scratches his head and says "yer.. of course he change it" and whilst the programmer is rambling on about how stupid a question that was the security expert writes it up in his report that function calc_man_response has an exploitable buffer overflow in it because the programmer who is sitting beside him now rambling on about how brilliant he is trusted the length of a user supplied variable.

      --
      How we know is more important than what we know.
    2. Re:Security patches by QuantumG · · Score: 2

      actually yer.. I suppose a year is not bad to take notice of a known backdoor account and say "hey.. this is kind bad isn't it?".

      --
      How we know is more important than what we know.
    3. Re:Security patches by dbarclay10 · · Score: 2

      You can get the security patches from the sourceforge site. What can I say? I'm shocked. Did anyone read the source? or do we just want these things open source for political reasons these days?

      What are you talking about? The hole has been there for YEARS, put there by original Interbase authors, and it wasn't found until AFTER the code was released as open source.

      Are you on drugs, do you not even read the Slashdot blurb, let alone the article, or are you just a troll?

      Prick.

      Dave

      Barclay family motto:
      Aut agere aut mori.
      (Either action or death.)

      --

      Barclay family motto:
      Aut agere aut mori.
      (Either action or death.)
    4. Re:Security patches by QuantumG · · Score: 2

      I read it moron. I personally don't think that a year was needed to find this. I would have thought that the first day that the source was released someone would have read the code from start to finish with a pen and paper next to them and written "obvious backdoor in eight files, remove" and fixed it. I wouldn't even expect an announcement for something like this. It would just be fixed immediately and added to CVS. So the reason I'm shocked is not because Borland had a hole in their closed source (it's closed that's where security issues come from) but that for all the talk we make about peer review no-one even did a review of this code!

      And BTW, I read the article and the blurb and went to the web site and downloaded the patches so I could see where the changes were made. I was actually hoping to find some sort of obsfucation in the #defines but no. It was plain as day and should have been spotted on the first day not after a year of being in the open.

      --
      How we know is more important than what we know.
  120. Re:Are there any *good* choices for Interbase user by MrPeachy · · Score: 1

    Good to see you have a copy of 'Teach Yourself C in Two Minutes'. Every VBScripter should have one :)) Err - **whose** web site? Firebird's web site is at http://firebird.sourceforge.net. The InterBase2000 site is the InterBase community website.

  121. Re:Who ensures the safety of the ensurers of safet by Tom7 · · Score: 2


    Hey, I only suggest Java because it is similar enough to C to possibly make my dreams come true in the short term. I don't like it either. =)

    You'll probably be interested to know that we DO have compilers which generate provably safe code. One piece of the puzzle is TAL: Type safe assembly language. Another is TILT: A type-preserving ML compiler. They've also got projects on compiling safe-c, proof carrying code for transmitting this stuff over the network (without sandboxing), etc. The technology is almost there.

    And while I agree with you that the compiler is an important source of more bugs... wouldn't it be nice to plug up holes on the programmer end (since compiler bugs right now also introduce more non-safety) while we wait for this stuff?

  122. Re:Your attitude sucks. by QuantumG · · Score: 2

    that's right. Could should be "the simplest thing that could possibly work". That is the goal of a programmer and this aversion that people have to reading code is just scary. I can't believe they sit down and start hacking away at it without even reading it first.

    --
    How we know is more important than what we know.
  123. Re:A mixed bag by CaptainZapp · · Score: 1
    When I was an MIS director, I had all the critical passwords written down on separate, sealed envelopes with my signature on them and put in a safe deposit box which could only be opened by the VP of finance ...

    This is certainly a smart thing to do, like a disaster recovery plan, which is actually tested, clearly labeled and externaly stored backups, computer rooms, that don't look like my apartement at the age of 19 (the hifi equipment, specifically), etc...

    Reality is quite different, unfortunately.

    Nevermind, I still don't think that backdoors are necessarily bad, if they are not hidden and if they are not exploitable by every yoyo walking through cubicle land.

    Admittedly, two big ifs...

    --
    ich bin der musikant

    mit taschenrechner in der hand

    kraftwerk

  124. Re:Dogma by PhilHibbs · · Score: 1
    If you start overgeneralizing by saying "Open Source is secure, Closed Source is not" then you're making a fundamental mistake. Rhetoric and dogma are not conducive to practical security.
    You're right, but there are advantages, as long as the user keeps up to date with security alerts, and is ready to apply security patches as they come out. I think open source improves the likelihood that the person that discovers the security flaw is a white hat rather than a black hat.
  125. Recent MS break in? by TermAnnex · · Score: 3

    Borland was able to keep this secret for years, or the developers of borland.

    Since the source was released, it's obvious that the developers that added the backdoor have already left borland, since it wasn't removed, and the other developers haven't noticed that there is a backdoor.

    So, If it can go undetected even if the whole world has access to the source. So might this indicate that there is a very certain possibility that the crackers who broke into MS DID backdoor the source?

    1. Re:Recent MS break in? by WNight · · Score: 2

      We need a Meta-Godwin's Law, for people who mistakenly invoke Godwin's Law.

      FYI: Godwin's law is about comparing someone to a Nazi, or such. Simply using the Nazis as an example of something isn't covered.

      For instance, if I was to talk about military uniforms through the ages, discussing Nazis is perfectly reasonable.

      Now, Nazis aren't related to databases, and it is a stretch, but the poster is right, people see things happen and get comfortable, then they don't think where those things could get to if abused.

    2. Re:Recent MS break in? by rm+-vrf · · Score: 1

      he was talking about the V6 part of the parent post.

    3. Re:Recent MS break in? by Fjord · · Score: 2

      Doubtful. The intruders would have had to check their changes into the source control. Thus it would be easy to find all of the changes in the source code during that time. This would be a very limited amount of code to overlook.

      --
      -no broken link
    4. Re:Recent MS break in? by MadAhab · · Score: 1
      Didn't think about the implications of running powerful administrative functions through a privileged account with a hardcoded password? Ouch. Well, that's reality for ya.

      So why is it being claimed that the backdoor was there for years, and why does it appear (strings * | grep "politically") in interbase4 freebsd port?

      Boss of nothin. Big deal.
      Son, go get daddy's hard plastic eyes.

      --
      Expanding a vast wasteland since 1996.
  126. Oh no! by Steeltoe · · Score: 1

    At first it may seem like opening up the source has made the software insecure, since anyone could have found this hole ages ago and exploited it. However, by realistic reasoning this will actually make the software MORE secure since the hole will be plugged. Who knows who the author of the backdoor has shared his information to? Just another example of the benefits of using Open Source software, gratis or licensed. Nothing more to see here, move on..

    - Steeltoe

    1. Re:Oh no! by Steeltoe · · Score: 1

      "It's only MORE secure because it had substandard security to begin with, and there is an army of admins out there that will fail to upgrade their installation to this "MORE secure" version."

      Yes, how else could it be MORE secure? This follows from the definition of security holes itself. You can't have a security hole without a fault in the security...

      As to your second argument, security is a process, not something you either have or don't have. Those failing to act on that, thinking they are secure, will always fall prey to those who spend more energy pursuing to crack a system. The appropriate action here would be to hire someone with a clue and willingness to do their job.

      Basically, the security hole was there, source or not. When the source was released, it got recognized by the peer review process. Were it not for this, it would probably never have been detected. Only exploited by those who knew about it.. (Until someone have to do damage-repairs)

      - Steeltoe

    2. Re:Oh no! by jgarry · · Score: 1

      But it took six months for anyone with a white hat to notice!!!

      --
      Oracle and unix guy.
  127. Re:A mixed bag by FireWhenRady · · Score: 1

    My management did this as part of the Y2K business recovery plan (BRP) along with all kinds of inventories, alternate routing plans etc.
    But they haven't been touched since Jan 1, 2000 so they no longer reflect reality. I wonder how many other companies have left their Y2K disaster planning to bit rot on shelves somewhere. After spending millions of dollars creating these BRP documents, they are wasting all this work when it could be easily maintained for other contigencies.

  128. Extra info by stg · · Score: 3

    Some extra info (mostly non-technical, but detailing the discovery and subsequent Borland (non)response) is available at the Interbase Developer Iniative.

    BTW, it seems that, as usual, they were not very concerned.

  129. Re:Why the surprise? by Longstaff · · Score: 1

    Actually, the last time I checked out openBSD, they claimed "no remote root hacks in 3 years; no local root hacks in 2 years"

    That was sometime early summer. (??) I guess they had a local root vuln since then ;-)

  130. Re:Argie answer to argie ;) by unitron · · Score: 1

    Perhaps you could post 95 theses to the back door and get ex-communicated.

    --

    I see even classic Slashdot is now pretty much unusable on dial up anymore.

  131. More details, please by jonr · · Score: 1

    Since it is a #DEFINE, could it be inside #IFDEF DEBUGS? And why the heck is it a #DEFINE in the C code? I would think that all users would be stored and read from the database? I'm just wandering...
    J.

  132. Re:More juice ... I like this part by blirp · · Score: 5
    From the webpage:
    For security reasons, the patch is available only as a binary and you will be required to register for this download.

    Nice, eh?

    M.

  133. Re:A mixed bag by CaptainZapp · · Score: 1

    Aparently it's a genuine quote, published in this interview in the The Register .

    --
    ich bin der musikant

    mit taschenrechner in der hand

    kraftwerk

  134. Re:An ounce of marijuana costs more than an ounce by el_chicano · · Score: 1
    The point of the sig line is that, because it is sold on the black market, pot is so damn expensive that people go out and steal stuff to get the money. And this is about the cheapest of contraband drugs.
    I also think your .sig is silly. You obviously live in the wrong city/state/province/country.

    Here in Texas, you can get a quarter-pound of some decent Mexican weed for ~$150-$225 U.S. per quarter pound. Gold is ~$265 an ounce, so if you can't get weed for less than $265 U.S. an ounce you obviously are paying entirely too much for it!!! (unless it is some bad-ass Hydroponic weed :-).

    I am pro-legalization of drugs. In theory your .sig's heart is in the right place, but I think you could find a better way to phrase your opposition to the War on Some Drugs...
    Now shut the fuck up.
    Copping an attitude does not help the drug legalization cause. Some people are idiots, and ignoring them is often the best course of action.

    Anyway, aren't pot-heads are supposed to be MELLOW? :->
    --
    You think being a MIB is all voodoo mind control? You should see the paperwork!
    --
    A man who wants nothing is invincible
  135. Politically/Correct? by smooc · · Score: 1

    why not:

    Open Sesame

    That would seem more appropiate

    Bolke.

    --
    - In Memoriam: Jeroen de Bruin (1972-2004), bye bro
  136. Argie answer to argie ;) by Rotten · · Score: 1

    Sometimes, having a backdoor is not a bad thing(tm).
    Imagine a scenario where you administer 100's of users which, somehow, administer at the same time their own space. (virtual mail domains for example).
    A backdoor password is usefull to administer all and every mail domain. But, only if the channel is secured somehow...I would not use a backdoor password while sending passwords as plain text over the network...

    Well, get used to bad english and don't be ashamed....looks like everybody speaks bad english in slashdot but at the end, they get communicated....jajaja

    1. Re:Argie answer to argie ;) by TulioSerpio · · Score: 1
      me pregunto si puedo escribir en español y comunicarme es barrapunto

      I wonder if I can post in slashdot in spanish and get communicated

      --

      I'm from Argentina: Tango, Asado, Mate, Gaucho, Maradona, YPF

  137. Re:Dogma by ILikeRed · · Score: 1
    What you are saying is that it is acceptable to you if the company that created your software can EASILY break into your system, as long as the random hacker cannot.

    Sorry, but I disagree. I would even call that a BIG PROBLEM

    --
    I have come to a conclusion that one useless man is a shame, two is a law firm, and three or more is a congress -J Adams
  138. Re:Dogma by Suidae · · Score: 1

    If you check the source repositories, you'll find that there are at least three different versions of the backdoor username and password. One in firebird, one in the sourceforge interbase project, and one in the interbase source you can get off conxion's mirror of the source. And from the comments in the code, it appears there the backdoor user and password orginally had yet a fourth version (likely the original), although the comment has been changed in the sourceforge repositories. It takes about 3 minutes to find this backdoor, even if you've never seen the interbase sourcecode, and have only a passing familiarity with C. You get the source, find the central authentication file (grep the tree for password and make a guess based on the file names. pwd.c is pretty obvious). Then you simply open the file and look at the authentication routine, where its as plain as day. Any somewhat-above-average kiddie that cared to look could have been trashing databases (and getting root, most installations I've seen have IB running as root) for about a year now.

  139. Re:The failing of Open Source by MrPeachy · · Score: 1

    .. BS score 100/100.

    The source has been open since July 25 2000. It has (I forget how many) million lines of code and no tree documentation.

    You find out not because the company chose to tell you but because it was discovered in an Open Source security review and reported to the CERT Coordination Center.

    Be grateful for the thousand eyes, public watchdog bodies that are concerned about Internet security and software development that craves perfection and openness without the impediment of commercial expediency.

  140. Kiddies by smooc · · Score: 1

    I wish I could count how many Script Kiddies are working there heads of now on that backdoor.

    Bolke.

    --
    - In Memoriam: Jeroen de Bruin (1972-2004), bye bro
    1. Re:Kiddies by doctor_oktagon · · Score: 2

      Well unless your average k1dd13 can now write decent SQL scripts and understand the relationships in your database, then I don't think they will get very far.

      Backdoors are a far less frightening phenomenon for security professionals than trained crackers who don't rely on downloading their 'sploits from usenet.

    2. Re:Kiddies by segmond · · Score: 2

      but if he knows the equivalent of rm -rf, how about a drop table cascade? command? yum.

      --
      ------ Curiosity killed the cat. {satisfaction brought it back | it didn't die ignorant | lack of it is killing mankind
  141. Re:An ounce of marijuana costs more than an ounce by QuantumG · · Score: 2

    If he bothered to click on the link he would see that it is about Australian drug laws, where only two types of pot are sold. Leaf and skunk. Leaf is lame and costs next to nuffin. Skunk is hardcore shit and costs a small fortune. I dont smoke pot, I just support the end of prohibition.

    --
    How we know is more important than what we know.
  142. what did you expect? by brunox · · Score: 3

    Most of the old school software houses have compiled in some back door or provided an hidden way to get access to users systems all over the years. In my opinion it's common practice. They just love to have this kind of control/power over consumers.
    Loosing this kind of control is one among other things that make industry afraid of going open...

    1. Re:what did you expect? by alteridem · · Score: 3

      I agree that many software houses do this, but I doubt it is for control or power. How many stupid users are out there who mess up their systems or forget their passwords. They end up calling tech support and expect to be able to get stuff fixed. These users just don't realize that if the tech support guys can get in then it is a security risk. But then again, not much of reality makes sense to the suits...

  143. Other Borland Products by InsaneCreator · · Score: 4

    Makes me wonder how many back doors are there in other Borland's products, specially those intended for app development. Is it possible that a back door could be compiled into every Delphi/C++ builder/Jbuilder app ever written, or at least the apps compiled with Standard versions, which don't provide the source of the libs?
    Has something like that ever happened before?

    1. Re:Other Borland Products by wiredog · · Score: 1

      The original C compiler had a backdoor. (someone find the link to the story and post below, please). Basically, the compiler knew when it was compiling login.c and inserted the backdoor. The good part was that the compiler recognized when it was compiling the compiler and inserted the backdoor creation code into the re-compiler compiler. The only way to find it was to dis-assemble the compiler and codewalk the result.

    2. Re:Other Borland Products by wiredog · · Score: 2

      Well, look here for the story on the backdoor in the Unix C compiler.

    3. Re:Other Borland Products by joostje · · Score: 1
      Well, not the first compiler, but here is a link anyway.

      (Seem to remember reading a much nicer story, with pictures etc, but cannot find at the moment.

  144. How long has the source been open? by Mawbid · · Score: 1

    I'm too lazy to discover this myself. Anybody remember when the source was released?
    --

    --
    Fuck the system? Nah, you might catch something.
    1. Re:How long has the source been open? by moz25 · · Score: 1

      Yeah, a while back, but not too long ago.

      Moz.

  145. M$ by Spit_Fire1 · · Score: 1

    This is why Microsoft wont open source windows.

    --

    "The secret of success is to know something nobody else knows." -Aristotle Onassis
    1. Re:M$ by drnomad · · Score: 1

      I think you're right, they would not find a backdoor, but rather a back-harbour...

  146. Re:This is the reason i won't buy loki games by b3kZ · · Score: 2

    Why pick on Loki games? Is that a fact based paranoia, or a personal vendetta?

    What would Loki have to gain by getting into the average gamer/Linux users machine? and compare that with what Borland could gain by leaving a backdoor in it's product. Access to large corporate/organization databases, the support call from the frenzied admin who lost or forgot the admin password, etc...

    Leaving a backdoor in Mechwarrior or Quake3 just doesn't make any sense...

    --
    3dlan.com --> Monthly lan parties in Western NY
  147. Bye bye M$ bed-time story #58 by morie · · Score: 1
    ... and because they used open source, there was a backdoor, and nobody would ever find out. So the prince switched to Windoze and lived happily ever after

    So much for that story. "They" will find it!!

    --
    Sig (appended to the end of comments I post, 54 chars)
  148. These lines of code like sand.. by gwjc · · Score: 2

    The thing that always surprises me; whenever someone finds a backdoor or other major security flaw in any Open Source (much like the weak key generation in pgp a while back), especially when the problem was there for a long time is how surprised people are that it was missed in an Open Source environment. There was even an earlier comment that Open Source makes this sort of thing impossible. What makes Open Source superior is that we can all scrutinize the code... but how many do. How many times does some auditor skip past some obfusicated section rather than puzzle over it for hours. I think anyone who ran this software has to assume some responsibility once it became OpenSource.. once you have the code your lack of diligence is as much to blame as the authors stupidity. Especially in a large company.. If you don't have the kind of programmers who can vet code then hire one|them.

  149. Re:Backdoors vs. default passwords by sql*kitten · · Score: 4
    On the contrary, there is a huge difference. The default passwords are documented, and easily changed. This backdoor was undocumented and would require a recompile to change.

    Of course, any computer is only as secure as its administrator.

  150. Why the surprise? by alteridem · · Score: 5

    Many people seem surprised that it took so long to find the backdoor. Their logic is that since it is opensource and has countless eyes looking at it, then it should have been noticed much sooner. What they don't realize is that a project like this is usually in the range of hundreds of thousands to millions of lines of code and when a developer goes into a project of that scale, he/she does not read everything, but only enough to learn the overall structure of the program, then zeroes in on sections that have been identified to need work or may contain known bugs.

    If anyone truly believes that things like this should be found faster, they should try reading through this amount of code. When their heads stop spinning they will probably have a change of heart.

    1. Re:Why the surprise? by prisoner · · Score: 1

      I'm not suprised in the least. Especially with the open source movement becoming more "mainstream". People don't say "Hey! Version 2.0 of rubandtug is out! Go download the source and audit it!!" It's always go "grab and use". Cripes probably only 10% of the people that download and use any software could read the code anyways. The underlying point being that people want to use software to get something done, not have to audit every line. That's why they are willing to pay for it. To presumably get high-quality apps that don't have this kind of crap.

    2. Re:Why the surprise? by prisoner · · Score: 1

      I would concur that this was a success. What I was trying to wind my way to is that some people seem suprised that it took "so long" to find the back door. You know what? I'm abandoning this post. fuck it.

    3. Re:Why the surprise? by QuantumG · · Score: 1

      That is a sweet load of crap. The first day that the code was released there should have been an open security audit. This happens with other projects, why not here? A security audit involves exactly that, reading through the source. This was a trivial fault, there are probably a lot of more complex bugs (can we say buffer overflow) on the horizon.

      --
      How we know is more important than what we know.
  151. A mixed bag by CaptainZapp · · Score: 2
    Yep, there are probably a lot of backdoors in vital products, like OS or database products.

    However, that's not only evil nastyness, the day might come where a company blesses a db manufacturer for implementing a backdoor, just after both dba's got run over by the same truck.

    Ok, CHANGE_ON_INSTALL (Oracle) or a NULL password on MSSQLServer and Sybase are not backdoors. They are fairly well documented defaults and the problem lies with companies hiring incompetent dba's. Hell, you have this nice point-a-cklicka interface. Why in earth should we spend 120k on a dba?

    What is a backdoor on one db however, or could be considered one, is the ability to start the database server while generating a new password for one of the dba's they scratched out from under that bus. However, this can't be done by Joe Dork in accounting, you need either root or access to the startup files. This is not officially documented, but I tought it numerous times in the respective dba class?

    Is this a security risk ? Potentially, of course. Is it necessary ? Well, you decide. If there is no way in the world (safe for a hex editor, and that's no fun on a 500gig database) to access your corporate data it's a god send. If you're the security officer of a company, it's probably worse then cockroaches in your cake.

    Backdoors can have absolutely legit reasons, but they have to have a certain level of protection. And keeping it a "secret" is not an appropriate protection.

    --
    ich bin der musikant

    mit taschenrechner in der hand

    kraftwerk

  152. wargames by remy+the+man · · Score: 1

    it reminds me of the movie wargames. maybe it was matthew broderick who found this backdoor also.

  153. This is serious fuel for open source by f5426 · · Score: 3

    From what I understand, this security hole have been there for years. This was (mostly) harmless as long as the machines were not connected to a global network (well, it could be used to do a lot of harm, but for someone that already have access to the network where the database run. Anyone technically given access to the internal network of a company can do a lot of harm, anyway. Most of internal security is security-thought-obscurity. Hence, when you know how to search...)

    What most guys don't realise is that many many closed-source software that currently run on many computers contains such backdoors, generally implanted to ease remote maintenance (and cut down costs). I, for one, would be _very_ surprised if there was no such backdoor in the various incantations of proprietary operating systems.

    Cheers,

    --fred

    --

    1 reply beneath your current threshold.

  154. Re:This is the reason i won't buy loki games by PhilHibbs · · Score: 1

    It's certainly a good arguement against using anything that comes as binary on a machine that needs to be secure. My machine doesn't need to be secure, though.

  155. Re:Mmmmm.. by The+Roach · · Score: 1
    >Microsoft products are closed source, which means they are inspected by a proper management team.

    Says who? The problem with closed source is that they often are not inspected at all. It is not an Urban Legend that there exists one MS product that was used as a prime example of how not to organize a programming task. We now know it as MS Word :-(

    >Remember, they produce commercial software, people are going to pay for this stuff. That's why backdoors in Microsoft products do not exist.

    Hmm...

    Remember, Borland/Inprise produced Interbase as commercial software, people had to pay for this stuff. And still the backdoor existed.

    If it had been open source from the start, the programmers would have thought twice about including a hard-coded backdoor - and probably decided against it. And if not, people would have known it and closed it themselves.

    A backdoor you know about can be closed (usually). A backdoor you don't know is impossible to close...

    --
    penI'yIn 'ej pechep

    The Roach

  156. Re:More juice ... I like this part by blirp · · Score: 1
    Maybe they didn't fix it at all but just changed the password.

    Hopefully not...

    There's another line in there that indicates they didn't just switch passwords:
    When she later spoke with someone from InterBase R & D, the "fix" he described was merely a change to a string - no fix at all.

    M.

  157. Re:Backdoors vs. default passwords by segmond · · Score: 2

    I totally disagree, you might not change them, but for those of us that do, it matters. All my Oracle default passwords are changed, if I had an Interbase DB, I couldn't change/disable the backdoor! That is bad! What is worst, is that with default passwords you are at least aware of it, whereas backdoor you are not, and people can use it against you. Before the source to interbase was released, can you tell me that someone didn't string the binary and found that?

    --
    ------ Curiosity killed the cat. {satisfaction brought it back | it didn't die ignorant | lack of it is killing mankind
  158. Re:Mmmmm.. by sqlrob · · Score: 1

    4 words for you:
    "Netscape Engineers are weenies"

    Now, what was that about proper management team?

  159. One year since source release.. by AftanGustur · · Score: 4

    You can download the surce Here

    According to the page it was registered at Source Forge on 2000-Jan-28 15:37
    --
    Why pay for drugs when you can get Linux for free ?

    --
    echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
  160. Re:Mmmmm.. by segmond · · Score: 2

    We would like to believe that, but how do we know that they didn't? Perhaps they just missed out on this? Lots of shops clean up their code before release, didn't you remember when taco released slashdot's code? or when ID releases code? Perhaps the coder who cleaned it up saw it, but left it to get back to Borland? or perhaps see how long it will sit in the opensource community before it is picked up by anyone.

    --
    ------ Curiosity killed the cat. {satisfaction brought it back | it didn't die ignorant | lack of it is killing mankind
  161. Re:This is the reason i won't buy loki games by Bartmoss · · Score: 1

    Besides, who is stupid enough to run games as root anyway?

  162. Reasons_for_strong_firewall++; by Paul+Bristow · · Score: 2

    This is why you shouldn't even trust your own computers, with only you logged in!

    Interesting things to do with a windows computer: run it behind a strong firewall and see just how many products you can download try to talk back to their "homes".

    --
    - Paul
  163. Re:This is the reason i won't buy loki games by mikeee · · Score: 1

    See, this is why we need something like capabilities or that NSA Linux, so we can safely run untrusted (ie, any) program and give it only the exact permissions it needs. That's no help with a database, but it'll keep a bad game out of your personal finance data...

    (I suppose *real* paranoids could run their Loki games under User-Mode Linux, eh?)

  164. Not surprised that it took time to be found by Outland+Traveller · · Score: 5

    Lots of people here are apparently surprised that it took so long for this backdoor to be found. I thought I'd try to present an explanation.

    1. Interbase wasn't officially released under an open source license until last summer. I at least, did not spend any serious time with it until the license was correct.

    2. The open source interbase got off to a very slow start. Here's why:

    - Borland didn't release all the tools required to build and test interbase code.
    - Many of the original developers had left Borland, meaning that there was a shortage of mentors for new developers.
    - Borland yanked startup funding at the last minute from the group that was going to take over the management of the code base, causing many to question interbase's future.
    - Documentation of the code base is still unfinished.
    - The codebase is large and complex.

    Independent interbase builds (firebird on sourceforge) didn't start happening until very recently. In my mind they found this bug faster than I would have expected.

    -OT

  165. Re:More juice ... I like this part by ortholattice · · Score: 1
    For security reasons, the patch is available only as a binary

    Sounds like security through obscurity to me. Maybe they didn't fix it at all but just changed the password. Perhaps comparing the patched binary to the original would reveal that.

  166. At least it isn't called a Back Orifice. by AFCArchvile · · Score: 1
    Heh, gotta love that name.

    WARNING: When looking into the back orifice, DO NOT ignite a flame. Spontaneous combustion may result.

    --
    "Ancillary does not mean you get to rule the world." --U.S. Circuit Judge Harry Edwards, speaking to the FCC's lawyer
  167. Dogma by FallLine · · Score: 5

    Uh. First off, that doesn't mean open source products are any more secure. Second, many of them do not involve buffer overflows at all, but rather race conditions, poor checking of passwords, fundamentally flawed security architecture, terribly stupid flaws (remember phf?), etc. Third, more difficult for whom and in what way?

    It would take a hacker a significant amount of time to discover a properly hidden and hardcoded backdoor in a closed source product. Notice how many years it took ANYONE to discover this. That is "difficult", or rather time consuming for the hacker. You might say it's easy to reproduce, but that's true for literally hundreds of Open Source security flaws. Once a hacker discovers a means and releases an exploit, the work is done. It doesn't matter to the hax0r, aka script kiddy, if exploit.c sends "LET ME IN BACKDOOR" or a bunch of machine code to the target host. Furthermore, it's quite easy to test for the existence (or at least the probable existence) of a security flaw via improper bounds checking. In other words, you just send a bunch of different programs extra long strings on various inputs until something crashes, then you simply do the work to make the exploit happen. Compare this with trying to find a well hidden backdoor in a closed source product, you either try to reverse engineer the binary or you can try brute force. In either case, it's much harder to detect.

    So the question remains, easier for whom and how is that relevant? It's really not terribly relevant if you ask me. The question is how secure is YOUR product at the end of the day in YOUR environment for YOUR needs. If you start overgeneralizing by saying "Open Source is secure, Closed Source is not" then you're making a fundamental mistake. Rhetoric and dogma are not conducive to practical security.

  168. Re:This is the reason i won't buy loki games by Anonymous Coward · · Score: 1

    > it'll keep a bad game out of your personal finance data...

    Or (in my case) keep a good game out of my bad personal finance data...

  169. Re:Backdoors vs. default passwords by coderator · · Score: 1

    Who's to say you're compiler doesn't have a bcak door? Just because you compile the code doesn't make it any more secure unless you _wrote_ the compiler yourself!

    --

    who's askin?
  170. Contractually they can't by alta · · Score: 2

    Loki can't GPL the games they put out, they are direct ports of closed source games. They have to sign contracts, NDA's and the like saying that when they license the source code, to do the port that they will not share it with others. If they only ported previously GPL'd games, you wouldn't get Myth, Sim City, Descent or the like. So you either accept that they are closed source, or you play the (mostly) crap games that you CAN get under the GPL.

    --
    Do not meddle in the affairs of sysadmins, for they are subtle, and quick to anger.
  171. Re:Mmmmm.. by sqlrob · · Score: 1

    Or for back doors, what about the NSAKEY?

  172. Code Reviews by MobyDisk · · Score: 2

    The best way to catch bugs and security holes is to code review when changes are made, not read the entire source afterward.

    If code reviews were done when this code went in, it would have been picked up. Most source control managers have differencing tools to see what changed, and that is crucial when auditing security related code.

  173. Re:Security patches - apologies to QuantumG by doctor_oktagon · · Score: 2

    Quantum: in the true spirit of the new millenium (seeing how I have just booked my Lunar Holiday and the space suit is down the dry-cleaners), I appreciate your viewpoint and would like to aplogise if you thought I was attacking you!

    You're point as to pointing out that no-one had actually looked at the source of the patch was an extremely valid and important one.

    As to distinguishing between network and software security, well I started as a coder and moved into whole architectures, so I'm a generic security consultant ... no need to differentiate us!

  174. Re:Are there any *good* choices for Interbase user by QuantumG · · Score: 4

    Firebird doesn't have the problem!? Then why on their web page do they have the advisory? And what is this code that I just pulled from the CVS doing?

    char *PWD_ls_user()
    {
    if (strcmp(ls_user,"Firebird ")==0)
    {
    mk_pwd(ls_user);
    }
    return ls_user;
    }

    char *PWD_ls_pw()
    {
    if (strcmp(ls_pw,"Phoenix")==0)
    {
    mk_pwd(ls_pw);
    }
    return ls_pw;
    }

    Perhaps you mean it doesn't use the same backdoor password? If you are using firebird I would suggest you change these lines in interbase/jrd/pwd.c to something else for the time being (note *QUICKFIX* only). If there are any developers of firebird around I wouldn't mind hearing reasons why this isn't the same problem? What's more, the "solution" described on the home page, namely "change super secret backdoor password to something else" won't work. That's security through obscurity in the perfect form.

    --
    How we know is more important than what we know.
  175. A Compiler written in Assembler will stop this by Big+Torque · · Score: 1

    In order to stop a compiler from adding any thing to your program is to compile the compiler from source code. BUT! The first compiler also can add this feather to your new compiler as well. The solution is to have a basic compiler written in Assembler. This way you do not need to start with a binary compiler that you can know with 100% is clean of any bad things. This is very important in the Open Source world because most programs are known and not modified very much if at all before compiled. Compile GCC with a good simple Compiler written in Assembler and You can then be 100% certain that your programs do not any unwanted added feathers like back doors unless you your self write them in.