Slashdot Mirror


Ancient Flaws May Leave Mac OS X Vulnerable

mdeb writes "ZDNet Australia is running a story that claims Mac OS X 'contains unpatched security flaws of a type that were fixed on alternative operating systems more than a decade ago.' As an example, in August of last year, Apple patched the 'dsidentity' bug, which could easily have been exploited to grant a non-privileged user with admin rights the capability to create and remove 'root' user accounts."

78 of 388 comments (clear)

  1. Stop the Presses by Nom+du+Keyboard · · Score: 3, Funny

    Wow, stop the presses. Security flaws on a *nix based system. Boy that's news no one expected. Or does somehow the magic Apple logo protect you from all harm - and Bill Gates?

    --
    "It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
    1. Re:Stop the Presses by ackthpt · · Score: 5, Funny
      Or does somehow the magic Apple logo protect you from all harm - and Bill Gates?

      It protects you from everything up to the Triassic period. After that, you're on your own. These were ancient flaws, vulerable to ancient threats. Don't boot up in a museum of natural history or you're toast.

      --

      A feeling of having made the same mistake before: Deja Foobar
    2. Re:Stop the Presses by Anonymous Coward · · Score: 4, Insightful

      Wait. I will reply to myself here to beat the Mac heads to the punch...

      "Name one exploit in the wild for the Mac."

      I don't have to name one today, it's the unnamed one that's going to hit you in the next day/week/month/year that you don't know about that is the problem. Even Windows users have no idea what unrealized exploits are waiting to be discovered in thier systems. But they are smart enough not to deny that there are any.

    3. Re:Stop the Presses by Jezza · · Score: 3, Insightful

      All the flaws described in his examples need the "hacker" to login to the system with an account on that system. Most Macs disallow remote login (default) and you'd need an account and password anyway. Am I saying this isn't a problem? No, I'm not saying that, but these are not problems that "normal" users need to concern themselves with. Macs simply aren't used like "old style Unix" (I still miss the PDP) user don't share a Mac and login together with terminals (TTYs or X-Windows). So to the average home or even business user this isn't an issue.

      Should these flaws be there? No, I might well want to share my Mac (especially in an academic setting) and a user gaining control over the root account IS a problem. So these things should be fixed. But I don't think this is quite the huge deal the article is trying to present it as.

      Should Mac users been more security aware? Perhaps, keeping your Mac up to date with patches, thinking before installing things (do I trust this?) are to be advised no matter what platform you're using (Windows, Linux or Mac OS X). Anti-Virus is worthwhile so that Mac doesn't become a hiding place for infections (that could affect other platforms reading those files) and will provide the mechanism for protection if/when a Mac OS X virus is released. Clamav seems like a reasonable choice right now.

    4. Re:Stop the Presses by Michalson · · Score: 4, Informative

      Ok, here is one.

      On Jan 10 (2006), Apple, after having 2 and 3 months respectively to fix them, finally released a patch (7.0.4) that closed major holes in QuickTime, that allows .MOV, .GIF and QTIF (an Apple specific image format, like Microsoft's WMF) files to execute arbitrary code on both Mac OS X and Windows (assuming Windows has QuickTime installed) just by viewing them (such as through a webpage with an embedded QuickTime video).

      However as with many Apple patches and updates, it hadn't been properly tested, resulting in the forums being flooded with complaints about lost functionality (DVDs stopped playing and such). Apple quickly withdrew the patch, with little notice - as if the patch never existed.

      Of course eEye, the security firm that had reported the vulnerabilities to Apple months before, had now already posted rather detailed advisories which included precise exploit details.

      So ask yourself: Are you a Mac user (and thus have QuickTime because it's an integrated part of the OS used for OS 9 legacy emulation [long story]) or a Windows user that has installed Apple QuickTime by choice? Have you checked for patches for QuickTime in the last 2 weeks, or seen any kind of public advisory, like you normally do when Microsoft or just about any other large software maker releases a patch? If you answered yes to number one, but no to number two, congratulations. You a giant target for a zero-day exploit thanks to Apple and the Jobs reality distortion field.

    5. Re:Stop the Presses by Jezza · · Score: 2, Interesting

      Exactly, most of the time these flaws are not exploitable (given how we use Unix today). I still think they should be fixed, but this isn't the sensational "sky's falling in" presented in the article.

      You can disallow access to the shell (via "terminal.app") for "normal" users (Mac OS X won't allow root login by default anyway) but that's an "extra step" so most users won't do it (fair enough).

      Yes it does see ironic that this guy wanted to create a news story rather than submit "fixes" to the Darwin project (the open source project associated with Mac OS X)!

      Like most systems, Mac OS X is fairly insecure if you have physical access to the machine anyway (there are "extra steps" you can take to secure it, but here my sympathy is with Apple - if this was enabled by default it would be a huge pain for "most users"). Mac OS X has many features that will secure a Mac that someone has physical access to. Clearly the files should be backed up to a physically secure location (after all I can always remove the disk and reformat it on another system - the OS can't help me there) and "File Vault" should be switched on (so I can't drop the disk into a Mac I DO have root access too, and read the files). Sure I can't stop someone "breaking the Mac" but my files are "safe" (here I mean, I have the backup, and nobody can read them that I don't want reading them). These steps are especially useful on a laptop.

    6. Re:Stop the Presses by gb506 · · Score: 2, Interesting

      What may eventually happen does not concern me as much as what actually happens now... In the mean time we Mac users will continue to tiptoe through the tulips while ignoring the breathless posts about new gaping holes in MS Windows that arrive on a weekly basis.

  2. Steve Gibson... by Ravatar · · Score: 4, Funny

    Now we will just have to sit and wait for Steve Gibson's assessment that Apple intentionally left these exploits open as a backdoor to the system!

    1. Re:Steve Gibson... by frdmfghtr · · Score: 4, Informative

      Now we will just have to sit and wait for Steve Gibson's assessment that Apple intentionally left these exploits open as a backdoor to the system!

      I wouldn't hold your breath on that one, he doesn't deal with Macs at all. I know, I asked.

      Well, it was one of his employees, anyway. I was wondering how the built-in OS X firewall compared to other available products and asked why GRC didn't do any OS X stuff. Here's the reply:

      Also, since Gibson Research only produces software for the
      IBM-compatible personal computing platform, we are sometimes asked
      why we don't write software for the Mac. The answer is:

      (1) We don't know anything about the Mac. We're a small PC software
      development shop and we've become leading experts with the PC. But
      the PC and the Mac are SO DIFFERENT that knowing one tells us nothing
      about the other.

      (2) Being small, we must be careful to expend our resources where
      they will yield the greatest return. With more then 90% of the
      personal computer market dominated by IBM-compatible machines running
      MS-DOS underneath the Microsoft Windows graphical operating
      environment, that's where we much focus our efforts.

      (3) Steve is an insane perfectionist who insists upon authoring all
      of our software in assembly language. Assembly language is tied
      directly to the processor chip in the computer, thus none of our
      software CAN be moved from the PC to the Mac. It's completely tied
      to the Intel processor platform. But because of reasons (1) and (2)
      above, we're doing just fine, and Steve's slavish devotion to the
      highest performance, tight and lean code helps make our products even
      more unique and attractive to PC users.


      This may not be related very well to your remark (yes, I recognized the jab at GRC) and overall OT but I thought the Slashdot crowd might find it somewhat interesting.

      --
      Government's idea of a balanced budget: take money from the right pocket to balance...oh who am I kidding?
    2. Re:Steve Gibson... by Minwee · · Score: 4, Funny
      It's worse than that. GRC has recently discovered that OS X uses something called "Sockets" which, if used incorrectly, could not only completely destroy the entire Internet but also reach out from inside your computer to turn down the dial in the freezer and make all of your ice cream go melty. It's that bad.

      Your only protection against this is Steve Gibson's patented new "Snake Oil!" technology which uses a combination of Stealth PicoWankoProbulators and Network Monkeyspanks to defeat all known "Socket" based attacks. Why Apple chose to include such dangerous technology in every release of OS X is a mystery, but only by paying Steve Gibson a large amount of money can you ever hope to protect yourself against it.

    3. Re:Steve Gibson... by Just+Some+Guy · · Score: 2, Insightful
      Steve is an insane perfectionist who insists upon authoring all of our software in assembly language.

      If there's a special pit in hell for evil programmers, then it will probably involve writing GUI code in assembler.

      If that's even partially true, then this guy is a jackass. Assembler? That's great (maybe, assuming he can out-optimize a good compiler), but for which chip? Does he have to re-write "all of our software" every time AMD or Intel release a new CPU, or does he just let his customers run the old version which isn't optimized for their processor (thereby defeating the whole purpose)?

      If you know what you're doing, and you're smarter than the team who wrote ICC, then hand-tooling a few inner loops is perfectly reasonable. Hand-coding a whole suite of applications, though, points to wholesale toys-in-the-attic OCD-driven insanity.

      --
      Dewey, what part of this looks like authorities should be involved?
  3. I thought OS X... by msauve · · Score: 4, Insightful

    was an "alternative" operating system. Why is a hole which was patched 6 months ago news? No harm, no foul.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  4. Yeah, okay... by daeley · · Score: 5, Funny

    ZDNet Australia is running a story that claims OS X 'contains unpatched security flaws of a type that were fixed on alternative operating systems more than a decade ago.'

    Only in the Southern Hemisphere. Up here, trolls rotate counterclockwise.

    --
    I watched C-beams glitter in the dark near the Tannhauser gate.
  5. Thank Goodness! by phase_9 · · Score: 3, Funny

    Thank God people have almost cracked running Windows XP on these new Mactels!

  6. OSX is a security nightmare by QCompson · · Score: 5, Funny

    Good thing I use Windows ME.

    1. Re:OSX is a security nightmare by jtorkbob · · Score: 2, Funny

      Please, this is no place for vulgarity.

      --
      AC: Only on slashdot... could the sentence "My hovercraft is full of eels." be moderated "+4, Insightful
    2. Re:OSX is a security nightmare by Anonymous Coward · · Score: 5, Funny

      Yup, good thing I'm using your Windows ME as well.

  7. Self-serving press release story by cratermoon · · Score: 5, Insightful

    So Neil Archibald, senior security researcher at software security specialists Suresec, says so, and futher said his opinion is justified because Apple does not use software auditing tools to scan enough of its software. This same Suresec, as can be seen on their web page, sells tools and consulting around source code auditing.

    1. Re:Self-serving press release story by goofyheadedpunk · · Score: 4, Funny

      Now that's not fair. It's entirely possible that Mr. Archibald is very passionate about source code auditing and that his business and this story are just outpourings of... BWAHAHAHA. Oh geez, I can't believe I typed that for so long.

      Yeah, good point.

      Hehe...

      --

      What if the entire Universe were a chrooted environment with everything symlinked from the host?
  8. Ancient? by Shadow+Wrought · · Score: 5, Funny

    It must have happened when they translated the binary off of the stone tablets, likely because they were limited to only bronze tools.

    --
    If brevity is the soul of wit, then how does one explain Twitter?
    1. Re:Ancient? by BorgCopyeditor · · Score: 5, Funny
      It must have happened when they translated the binary off of the stone tablets

      Rosetta will remedy all that.

      --
      Shop as usual. And avoid panic buying.
  9. Windows. The new alternative. by autophile · · Score: 4, Funny
    ...a type that were fixed on alternative operating systems...

    That's the first time I've heard operating systems other than OSX described as "alternative".

    --Rob

    --
    Towards the Singularity.
  10. Re:Inconceivable! by grasshoppa · · Score: 2, Funny

    You keep using that word. I do not think it means what you think it means.

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
  11. Re:I don't care, it's a small niche product anyway by Ravatar · · Score: 3, Funny

    We need a mod category for "baiting the untold OSX masses".

  12. Sour grapes by jtorkbob · · Score: 3, Insightful

    I wonder if Suresec/ Neil Archibald pitched their services to Apple and got turned down?

    Also, from TFA:

    "In my experience -- which is also the experience of some of my peers -- Apple has been very slow to respond to reported security vulnerabilities. It expects security researchers to wait indefinitely to release the vulnerabilities and offers no incentive for them to do so," said Archibald.

    So he's trying to make a living on discovering security holes and getting paid not to make them public? I'm okay with this practice, I suppose, but I get the feeling that he's trying to up the ante by generating some bad press for Apple. The whole things seems awful contrived.

    --
    AC: Only on slashdot... could the sentence "My hovercraft is full of eels." be moderated "+4, Insightful
  13. Requires User to Authenticat by ta+ma+de · · Score: 5, Funny

    Considering the user must be priviliged is it safe to say that the user has already authenticated and in the system. I always use passwords like "asldkfje983r0u!56@#987$%^rnYA(*U()*U&0u" for standard users. If they can crack that they deserve to gain admin rights too. You should see my admin key: it is a 10^12 digit mersenne prime.

    1. Re:Requires User to Authenticat by AutopsyReport · · Score: 5, Funny
      You should see my admin key: it is a 10^12 digit mersenne prime.

      Also known as the number of days you'll be spending as a virgin.

      --

      For he today that sheds his blood with me shall be my brother.

    2. Re:Requires User to Authenticat by ta+ma+de · · Score: 4, Funny

      LOL. I had to run and find an extinguisher to quence that BURN.

    3. Re:Requires User to Authenticat by Lisandro · · Score: 2

      Funny. Mean as shit, but still, funny! :)

    4. Re:Requires User to Authenticat by tehshen · · Score: 2, Funny

      I sincerely hope that your sig has nothing to do with your post

      --
      Guy asked me for a quarter for a cup of coffee. So I bit him.
  14. You really should try... by aardwolf64 · · Score: 4, Informative
    ...reading the article. From TFA:
    Another vulnerability described by Archibald could allow memory corruption and hand control of a process over to an attacker: "At the time of writing, the vulnerability remains unpatched. However Apple is aware it exists."


    Of course, you might have actually read that part and part of your subconscious dismissed it as false. Reminds me of this post from yesterday.
  15. Re:Huh??? by Big_Al_B · · Score: 4, Informative

    The awkward wording hides the actual meaning. The problem is that a non-priviledged user could *acquire* admin rights and *then* misbehave.

  16. Re:Inconceivable! by ettlz · · Score: 2, Funny

    "You keep using that word. I do not think it means what you think it means."

    I ain't got a fucking clue what you guys are talking about, but hey! When in Rome.

  17. Re:In one minuets... by Ant2 · · Score: 3, Funny

    Hey, it doesn't matter and mac os X is uber secure.

  18. Re:Big f-in deal by i+kan+reed · · Score: 5, Interesting

    now that you've gone and said that, i went and tested it... WITH A GUEST ACCOUNT. and suprise! doesn't work.

  19. Save me Jeebus! by 99BottlesOfBeerInMyF · · Score: 4, Insightful

    I think the article makes a good point and one that Apple needs to address. I've long had the impression that Apple does not do enough security auditing, especially of some of their inherited code and that some of their new software has not been as security minded as it could be. I've not heard any of the grumbling the author has about security researchers being treated poorly or response times being particularly slow, but he may be closer to such things than I.

    That said, from the article it is unclear if any of the discovered bugs are remotely exploitable. The one concrete example given is just a local privilege escalation, which is not really all that serious. I do wish that Apple would pay more attention to security and I hope they have a team of elite hackers with their ears on IRC and their hours spent trying to hack boxes. I'm not sure that they do though. My suspicion is a lot of the security comes from the fact that many of the employees are old school UNIX guys that take it more seriously than management. This is, however, unlikely to really bite Apple given the giant target that is Windows where local privilege escalations like the one described here are so common no one reports on them and I don't think MS even bothers to fix them.

    1. Re:Save me Jeebus! by mcrbids · · Score: 2, Informative

      The one concrete example given is just a local privilege escalation, which is not really all that serious.

      This one sentence makes clear your lack of experience. A "local" priv escalation makes ANY remote hole r00t explotable. It's serious, maybe more than most "remote" exploits!

      As somebody who's spent days (hopefully) digging rootkits out of hacked systems, I can assure you that while remote holes are important, local priv exp holes are every bit as serious.

      For example, a system I admin was exploited by a hole in ProFTPd. (Yeah, thought I was catching everything with yum, this one had been compiled in and forgotten about ages ago) But, since the system was otherwise well patched, (no other known local exploits) he/she/it never got any farther than the unpriviledged anonymous account. Once discovered, the hole was easily closed off.

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
  20. I'm switching! by Anonymous+Poodle · · Score: 5, Funny

    That does it! I'm swiching back to Micorosoft Bob!

  21. Re:Old code by ettlz · · Score: 2, Insightful
    So the choice of a UNIX platform has come and bit Apple in the ass. Could somebody tell me again why Apple abandoned its perfectly functional OS9 code? I didn't see anything wrong with the old Macs. What was the benefit of basing it on the legally ambiguous (and dying) BSD? And what's with this ugly DOS throwback? Who wants to see an old-fashioned text terminal on their computer?

    CmdrTaco! Please add a "-1, Crap joke" moderation option.

  22. Spywear? by Big_Al_B · · Score: 2, Funny

    Is that, like, a decoder ring or a shoe-phone?

  23. There are bigger problems with OSX by argent · · Score: 5, Informative

    There are bigger problems in OSX. Auto-installing Dashboard widgets was stupid, and "Open Safe Files After Downloading" (a silly name for "Open Potentially Unsafe Files After Downloading") is an unnecessary risk only minimally mitigated by adding warning dialogs... but at least you can turn it off. More details in these comments:

    http://www.scarydevil.com/~peter/io/osx-security.h tml
    http://www.scarydevil.com/~peter/io/apple.html
    http://www.scarydevil.com/~peter/io/apple2.html

    Thankfully even these are not as easily exploited as Microsoft's poisoned gumbo of IE, Outlook, ActiveX, and Security Zones... but Apple really needs to take a good look at the way they approach the Internet, and quit being so trusting.

  24. On those "too smug" Mac users by ettlz · · Score: 2, Insightful

    I just hope Bill Thompson isn't the type of alarmist hack who'd jump up and down and say, "Neh! Told you so!"

  25. Uh huh... by msauve · · Score: 4, Insightful

    you quoted a claim that there is an unsubstantiated, unnamed hole. You really should try critical thought sometime.

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
  26. Author is right, and wrong by theolein · · Score: 5, Insightful

    He's right that Apple users are complacent about security. What he doesn't metnion is that this is a trend amongst security companies (scream loudly about how vulnerable Apple users are because they aren't buying his company's fucking products).

    He's right that Apple is very secretive and sometime extremely slow to address security vulnerabilities. He's wrong that Apple not speaking to him means it isn't interested. Apple just learnt the lesson early that being too open to the press (on any topic) is make yourself a victim of their fickle moods.

    He's right that there might be large holes in Apple's OS from earlier NeXT days, but he's sure as fuck wrong when he says it applies to both PPC and Intel architectures. Any crack that relies on memory in the stack being overwritten will not be cross platform.

    He's right that there are open vulnerabilities. He's wrong and simply trolling (probably for profit, the fucker) when he doesn't mention that none of them are remote.

    1. Re:Author is right, and wrong by prockcore · · Score: 4, Insightful

      Any crack that relies on memory in the stack being overwritten will not be cross platform.

      The exploit won't be cross platform, but the vulnerability sure can be.

    2. Re:Author is right, and wrong by MyDixieWrecked · · Score: 2, Interesting

      The exploit won't be cross platform, but the vulnerability sure can be.

      actually with proper coding a Universal binary, the exploit could be cross platform.

      although, it would be a pain in the ass to create a script to generate the proper NOP sled and shellcode that would work on both architectures.

      Since it appears that the vulnerabilities he's describing require user intervention, I guess a universal binary could be used. hmmmm....

      it would be interesting if Rosetta had vulnerabilities where it would allow privilege escalation on malformed code.

      --



      ...spike
      Ewwwwww, coconut...
  27. Re:First maybe? by Achromatic1978 · · Score: 2, Insightful
    the most stable and secure OS in the world

    That's a pretty big statement. There are mainframe OS'es used in banks and the like that have not been rebooted in a decade+ - how has it been determined that OS X is that stable?

    Secure? People involved in things like OpenBSD and VMS might be surprised to read such a thing. Let alone Wang's XTS-300 STOP (http://www.radium.ncsc.mil/tpep/epl/epl-by-class. html) or many many other operating systems. But hey, don't let a blanket statement be ruined by little things like that.

  28. Ancient Flaws by robertjw · · Score: 5, Funny

    When I saw the headlines I thought someone had found Egyptian Hieroglyphs from aliens explaining how to break into OSX.

    Guess my definition of Ancient isn't the same as the posters.

    1. Re:Ancient Flaws by Paradise+Pete · · Score: 2, Funny
      Guess my definition of Ancient isn't the same as the posters.

      No kidding. And I also thought that flaws were those things they stand on in Boston.

  29. Most irritating part of this article by aftk2 · · Score: 4, Informative
    The only thing which has kept Mac OS X relatively safe up until now is the fact that the market share is significantly lower than that of Microsoft Windows or the more common UNIX platforms
    Umm, sorry. The moment Mac OS X 10.0 started shipping, it immediately became the most common desktop UNIX-like operating system. This guy is divorced from reality.
    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  30. Well, yes! by IAAP · · Score: 3, Funny
    Or does somehow the magic Apple logo protect you from all harm - and Bill Gates?

    You see, you hold a crucifix straight up and down for Vampires; cock it 45 degrees so it sort of looks like the Apple logo, and you'll keep Gates away! But, there's a problem with Balmer, you also need the Firefox logo to ward him off. Sometimes, you need Nerdy, the MS Slayer. She's, yes, it's a woman, the chosen one. I can't say anymore now.

  31. So like, I was writing a paper on my Mac... by Lothsahn · · Score: 4, Funny

    And then it was like... beepbeepbeepbeep, and then, like, half my accounts were gone. And I was like, huh?

    They were really good accounts too. And then I had to recreate them and I had to do it fast, and they weren't as good...

    --
    -=Lothsahn=-
  32. Re:Huh??? by booch · · Score: 3, Funny

    I was myself wondering what a non-privileged user with admin rights was. But a few more reads finds that it means that the exploit gives admin rights to non-priveleged users.

    --
    Software sucks. Open Source sucks less.
  33. Re:It sounds simpler than I'm sure it is... by Anonymous Coward · · Score: 2, Insightful

    this will probably get dismissed by some, but you are wrong.

    Plug an unprotected windows machine into most DSL networks, and you might survive 10 minutes before becoming infected(admittedly this was pre-OEM XP SP2). I've had customers plug in their brand new computer, and before they could even start running the OEM recovery disc creation software (always do this before connecting a network, people!) they were infected, and in turn spaming/spreading their infection.

    And that is on an "unprotected" system. One of the writers of a couple hacking handbooks (which ones I can't recall, this was 2 yrs ago) came into a Foundstone class I was taking, and demonstrated an Outlook Express vulnerability that just required the end user to receive the message, they didn't have to preview, or open it in any other way. From what I recall it was deemed too nasty that it was kept very silent, and supposedly got fixed in one of the following patches.

    You naysayers are part of the problem because you go around telling people that as long as they run a firewall and av they are fine, which is no the case. No matter how much you use a PC, most ppl still have unsafe computing habits. Social Engineering is the number one exploit, and no matter how smart applications are made, users are the weakest link. The people writing the exploits are just as intelligient, and sometimes are, the same people coding the applications/OS.

  34. a prediction. by CDPatten · · Score: 2, Interesting

    lets the spinning begin, and ironically the MS bashing to start. I think its funny this is going to turn into a debate on Windows Security, but what can you do.

    An observation I made in a post a few months ago was that since 2001 Apple has released 5 different releases of OSX, 4 of witch were paid upgrades (approx. $600 if you were staying current all along). They have patched literally thousands of bugs and security holes and continue to do so at a pretty steady rate. We don't hear about it, (In my opinion) because the media contains a majority of zealot mac users, but that doesn't mean it isn't true.

    It's also worth noting that apple has less then a 5% market share. It wasn't until Firefox hit around 10% we started to see hackers paying attention and start exploiting the MS alternative product. It wasn't that is was so much more secure before, turns out just nobody cared to exploit it when it had no market share. If apple ever gained a respectable market share I believe they would have more holes then windows.

    And before you say "its unix"... blah blah blah. You all said it wasn't "unix" a couple of weeks ago when the government released the unix/apple security holes, witch by the way were about triple the windows holes.

    anyways go ahead and flame me, but I think its still pretty funny to see this "old" hole. Especially after reading the MS VP response earlier, and some arrogant SOB cleverly writes something to the affect "i'd like to see those same questions submitted to the security guy over at apple, what a difference it would be" ... LOL ... how does crow taste?

    1. Re:a prediction. by argent · · Score: 3, Informative

      (approx. $600 if you were staying current all along)

      I'm currently running Panther (and Jaguar on one Mac), and I'm skipping Tiger unless something comes up that requires Tiger that I actually care about. I got Jaguar, used, for $50, and Panther came on my Mac minis, so I'm good until Leopard comes along.

      It wasn't until Firefox hit around 10% we started to see hackers paying attention and start exploiting the MS alternative product.

      And when precisely did this happen. When "hackers" exploited Firefox, I mean. Real, live, in-the-wild you-better-watch-out exploits?

      Apple's always been a minor player, and back in the '80s and early '90s they had a corresponding share of exploits in the classic no-security Windows-like Mac OS. Being 5% back then didn't keep them from being exploited, being easily exploitable made them exploited.

      They have patched literally thousands of bugs and security holes and continue to do so at a pretty steady rate. We don't hear about it

      If we didn't hear about it, how do you know about it? Do you have GOLD JULY BOOJUM clearance?

  35. Re:Huh??? by MegaThawt · · Score: 2, Informative
    The bug was that the utility used a poor way to attempt to verify that the user was in the admin group, so a non-privledged user who could modify an environment string could do some damage ... the offending code:

    char *envStr = nil;
    envStr = getenv("USER"); //dum dee dum dum!
    if ( (envStr != nil) && UserIsMemberOfGroup( inDSRef, inDSNodeRef, envStr, "admin" ) )
    {
    return true;
    }

    --
    All sigs should be as funny as possible, but no funnier.
  36. Perhaps the difference... by msauve · · Score: 2, Insightful
    is that vulnerabilities in the Windows world are quickly exploited, leading to significant damage, while there are no known (or at least well known) exploits on Mac OS, and likewise no known damage.

    So, yes, the real world has proven that same type of potential exploit in the two platforms can legitimately be viewed as a serious problem in Windows (because damage can and does occur) but theoretical in Mac OS (because damage has not occurred).

    --
    "National Security is the chief cause of national insecurity." - Celine's First Law
    1. Re:Perhaps the difference... by Jasin+Natael · · Score: 2, Informative

      Here's the deal:

      • For an unpatched vulnerability to be exploited, the user must enable the affected service.
      • Even if passwords are discovered, or new root accounts created, the user must have enabled remote access to their machines for the authentication to yield any damage.

      This is the 'architecture' argument used so often here. For any attack to result from a vulnerability, there must usually be complementary bugs in authentication and access, and the user must explicitly enable the services that are vulnerable. Even browser-based attacks won't be able to spawn new processes without an additional exploit or social engineering to get the user to type their password.

      It's the same with Linux and BSD. The difference is that Linux and BSD machines are usually doing tasks that require LDAP, SSH, DNS, SMTP, HTTPD, FTP, and other services. The probability of these services being active on a machine at any given time is greater, so the patch process gets a deservedly greater amount of attention.

      That being said, I hope Apple doesn't drag their feet anymore. Once someone is trying to target the Mac, the additional 1-3 exploits required to successfully execute an attack could very well be discovered. Most home users wouldn't be vulnerable simply because they don't run the affected services, but I'd prefer to be protected all the same.

      Jasin Natael
      --
      True science means that when you re-evaluate the evidence, you re-evaluate your faith.
  37. Re:It sounds simpler than I'm sure it is... by Em+Adespoton · · Score: 2, Interesting
    Thank you for the anecdote... count yourself lucky.

    As someone who admins a number of gateways and firewalls in different netblocks, I can assure you that there are a number of nasty codestreams out there... I set up one Default XP box outside a firewall as a demonstration, and within 15 minutes, it had already been compromised and joined to a botnet. After isolating it, wiping the drive and reinstalling the OS, installing a firewall and reconnecting it, the attempts at re-compromise on that IP address were near instant.

    One thing to keep in mind is that some netblocks are more prone to this than others, because of the way a lot of this automated machine compromising software works. If you find that you get no probes/attacks at your current IP address, keep it -- this is one area where security through obscurity is better than no security at all. --I'd also recommend you get yourself behind a firewall, and run A/V and spamblocking software however, if you're running XP. It's possible that the only reason you think you haven't had your computer compromised is that the attackers did a good job writing their software.

  38. Re:Classic FUD- mark story troll by RubberDuckie · · Score: 2, Insightful

    How is this hogwash? Simply because you have not been infected *yet*, means you never will? Ah, if only life was that easy.

    Just because someone says something you don't like does not make it hogwash.

  39. Uhh... what? by FredFnord · · Score: 3, Interesting
    ...which could easily have been exploited to grant a non-privileged user with admin rights the capability to create and remove 'root' user accounts.

    Why... how awful. Or the user could have gone to the command line and typed 'sudo foo' and run anything as root that he wanted, including creating and deleting users or whatever else he wants to do, if he has admin rights.

    You could at least have chosen an example that wasn't totally useless on 99.9% of Macs. (Those which allow admins to sudo. Most people aren't dumb enough to explicitly grant admin privs to people they don't want to run as root, either because they know they know what it means and choose not to or because they don't and they don't just randomly check every check-box that comes along.)

    -fred

    --
    Sign #11 of Slashdot overdose: You see the phrase 'moderate Republican' and you wonder if that would be a +1 or a -1.
  40. Top ten reasons why OS X has no viruses yet by SuperKendall · · Score: 5, Funny


    10) Ten million+ active boxes still "too small a number" to target.

    9) Worlds virus writers all work at Valve; have no idea what the hell OS X is.

    8) OS X originally scheduled to have virus this year; pushed back till Q2 next year to add Intel support and a Universal Binary.

    7) Russian Mafia all actually use Macs, tell underlings to keep macs virus free so they don't have to run virus scanners.

    6) Forget buffer overflows; real mechanism viruses use to spread is actually second mouse button.

    5) No viruses released for sale on ITMS yet.

    4) Actually viruses everywhere but Jobs Reality Distorition Field keeps Mac users thinking they are not there.

    3) XCode secretly detects and transforms viruses into RSS readers instead at compile time; explains glut on Macs.

    2) Virus writers accientally drug virus into one of several hundred "Untitled Folders" on Desktop, now have no idea where it is.

    1) Mac owners just too damn pretty for God to let them get viruses.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Top ten reasons why OS X has no viruses yet by GnrcMan · · Score: 2, Insightful

      1) Mac owners just too damn pretty for God to let them get viruses.

      Haha! Kudos for the great Firefly reference!

  41. Has OS X Mach strayed too far from the tree? by ShyGuy91284 · · Score: 3, Interesting

    The main thing that allows so many Linux distributions to work with low maintenance cost is that they are all based around the same kernel. When a fix is issued to the main kernel tree, it is fixed on all Linux's as they update. So distribution makers aren't pressed to patch it manually themselves. Perhaps OS X's variant of the Mach kernel has strayed too far from the main Unix tree, and suffered a form of seclusion from the goings on of the main tree?

    --
    In undeveloped countries, the consumer controls the market. In capitalist America, the market controls you.
    1. Re:Has OS X Mach strayed too far from the tree? by be-fan · · Score: 2, Informative

      The basic problem is that the main pieces of code in Darwin (Mach and 4.4BSD) are no longer maintained independently.

      --
      A deep unwavering belief is a sure sign you're missing something...
  42. The "only" reason Max OS is safe? by Kelson · · Score: 4, Insightful

    The author shows his true colors in the following statement:

    "The only thing which has kept Mac OS X relatively safe up until now is the fact that the market share is significantly lower than that of Microsoft Windows or the more common UNIX platforms."

    Anytime someone claims that the only reason A is safer than B is that B is used more often, alarm bells should go off. It's never the only reason.

    We went through the same thing with Linux vs. Windows, Firefox vs. IE, I've seen people make the claim about Opera vs. Firefox, it was said about Mac vs. Windows long before OSX, etc.

    If you think about it, the popularity-as-sole-reason argument boils down to claiming that security by obscurity is enough.

    1. Re:The "only" reason Max OS is safe? by nathanh · · Score: 4, Insightful
      "The only thing which has kept Mac OS X relatively safe up until now is the fact that the market share is significantly lower than that of Microsoft Windows or the more common UNIX platforms."

      Anytime someone claims that the only reason A is safer than B is that B is used more often, alarm bells should go off. It's never the only reason.

      We went through the same thing with Linux vs. Windows, Firefox vs. IE, I've seen people make the claim about Opera vs. Firefox, it was said about Mac vs. Windows long before OSX, etc.

      There's a difference. Firefox and Linux and Apache were fairly secure from the very start so as they increased in marketshare the viruses and attacks and exploits didn't increase significantly. However IE and Windows and IIS were fairly insecure from the very start but even so they weren't exploited very much until they had reached a fairly large marketshare. You were pretty safe surfing the web with IE3 and even to a lesser extent IE4 (at least initially) despite being insecure pieces of crud.

      Now what I find most amusing about these "OS X is insecure" stories are the people with their heads in the sand saying "it's not true". They point to the lack of exploits and lack of viruses as proof but that's not proof that OS X doesn't have security holes, just that so far as we know they haven't been exploited yet. Take for example the dsidentity bug which IIRC was a setuid binary with this code...

      if (strcmp(getenv("USER"), "root")) { /* do privileged stuff */ }

      I kid you not. That's the quality of code in OS X. Now any seasoned security veteran at this point would be rolling around on the floor laughing. Apparently that's what the OS X developers did when they were informed of this bug. Because remember that OS X is not a brand-new rewritten-from-the-ground-up OS; it has an extremely long history dating back to the 80s. It began as AT&T UNIX, warped into BSD by students (*shudder*), was partially rewritten to avoid AT&T lawsuits, was further mangled by NeXt!1!1one!, then got a code infusion from FreeBSD, and has been further hacked by Apple since it's "birth" in 2000. There's code in there that is possibly older than you are. I was at a security conference recently where one of the presenters ran through a dozen bone-headed security mistakes in Tiger including kernel overflows of all things. The entire audience was laughing themselves silly.

      Now don't get me wrong. OS X is still significantly better than Windows. They've done a lot of very sensible things such as not running with admin privileges, decent (not perfect) permissions, services disabled by default, built-in personal firewall, etc. Those are all good. But it's not enough. How the hell did getenv("USER") slip into a setuid binary? Why is there a kernel overflow; can't Apple afford one copy of Rational? Where is the virus scanner; even if all it looks for are UNIX-common attacks like the known Apache and Samba exploits. You guys are too complacent. OS X is not all that secure; impoverished marketshare and the subsequent lack of attention from criminals is hiding this truth from you.

      So given that OS X is insecure and does have exploitable code it's only the fact that nobody has seriously attacked it yet that gives it this aura of impenetrability. I fully agree with the statement made by the security professional in the article. If OS X was better written then I would disagree with the security professional's opinion but my own experience and knowledge says that he is right and you are wrong.

    2. Re:The "only" reason Max OS is safe? by nathanh · · Score: 2, Informative
      Which students? The stupid ones who shouldn't be in comp sci? Those kind don't actually enjoy coding, and are not the ones who work on GNU/Linux/BSD. The good comp sci students, however, produce good code because they enjoy coding. Remember who was a college student with Linux was first written?

      The funny thing about students is that they think they're brilliant at coding but that's just the arrogance of youth. Even the ones who "enjoy coding" are medicore at best and can produce some of the most wretched code you've ever seen. It takes time and experience to become a guru. The versions of Linux that Linus wrote as a student were crappy. Even Linus admitted embarrassment at the poor code he wrote.

      The fact is that the early versions of Linux weren't very good. Linux wasn't portable. Linux wasn't fast. Linux didn't even have networking or video support when I started using it. Linux was vaguely stable after a lot of effort had been poured into fixing all the bugs, but for a very long time the BSD community used to laugh at us for running something lamer than MINIX. Linux only became good after 100s of developers had joined the project. Linux had input from graybeards including people who had worked on commercial UNIX. Linus provided a catalyst, not the polished gemstone.

      I think it's very important to keep things in perspective. Worshipping Linus as if somehow Linux sprang forth from his forehead in the form you see it today, and using Linus to excuse the mediocrity that is the common student, is not keeping things in perspective. Linus was a talented coder from day one but he wasn't an experienced coder until well after graduation.

      And the majority of students don't have half the talent of Linus.

  43. Munir Kotadia's history... by Anonymous Coward · · Score: 3, Interesting

    He's ZDnet's designated "Apple hitman." They love him because Apple stories - especially negative Apple stories - generate more page views and discussion than any others, especially on News.com.

    I'll grab some examples later, but it's no coincidence that this story is almost pure speculation.

  44. No, he's right, personal experience by theolein · · Score: 4, Interesting

    I, together with another guy on the MacNN boards, discovered some of the more serious aspects of the vulnerability pertaining to url types and mounting of remote volumes around two years ago, when a website could quite easily download, mount and execute an applescript or any application on your machine without you seeing it (Apple's response to this was the fact that you have to authenticate any new application the first time it's run these days, something now also in WindowsXP and Vista). We notified Apple and waited. And waited. And waited. Finally, after 3 or 4 months, Apple finally released the patch with the new functionality.

    It was an extremely serious vulnerability because it was so easy to exploit and Apple really dragged their feet on that, and on other similar cases.

    The guy is spot on with that comment. Apple is really slow in responding to possible exploits.

  45. neil == nemo by Anonymous Coward · · Score: 2, Informative

    FWIW if you look up the hacker "nemo" of felinemenace.org that's him. He has found a number of vulnerabilities for which he is credited by apple. Given the number of vulnerabiliites that he has found by him self(as well as with others from suresec) I'm sure he's probably getting a little tired of it by this time, and would like apple to get a little bit of bad press to shame them into doing better. Also he has written a rootkit for Mac OS X but removed it from public view. So don't let anyone ever tell you there's no malware for Mac OS X. Further he has given talks on how to infect mach-o executable formats. nemo is the solution, and nemo is potentially a problem when his tools meet more widespread use (which is why I'm glad he removed the rootkit)

    but when he says that OS X is vulnerable, NO ONE knows better than him

    1. Re:neil == nemo by corezion · · Score: 2, Interesting

      It's true... nemo is one of the pioneers of MacOS X vuln. research. Of course greets to LSD for their AIX work... Lamagra, Palante, ghandi, d0tslash and me.. (core). ;-))) And a myriad other people. Nemo is only stating the obvious. I doubt he's tired of finding bugs. He takes joy in it and in fact that is his line of work. ;-) Check out his dual-arch shellcode for MacOS X. Worms love Apples. 'nuff said...

      --
      "There is no Death. Only a change of worlds."
  46. Mr. Archibald by nuckin+futs · · Score: 2, Funny

    When we spoke to Apple on the phone about this issue, the security team had never even heard of the application, and burst out laughing at the simplicity of the vulnerability," said Archibald.

    don't take it personally. seriously. They were laughing with you, not at you.

  47. Mac malware! by Anon.Pedant · · Score: 2, Funny

    Someday these smug mac users are going to get their comeuppance.

    Really.

    Someday.

    Any day now...

  48. Admin rights not required, summary wrong as usual. by biftek · · Score: 3, Informative

    Uhmmm. The submitter has missed the entire point of that exploit - admin rights aren't required, because the program checks for admin credentials with 'getenv("USER")' - ie "export USER=some_admin" is the exploit.

  49. Re:Not surprising by PsychoSid · · Score: 2, Informative

    The Darwin kernel is opensource already

  50. Re:Huh??? by jonadab · · Score: 2, Informative

    > Go ahead try: setenv USER 'name', and see what happens. Want to know? The next env
    > command will show USER=name. Then do a 'who' command, and guess what? "who" command
    > returns whatever name was already logged in, not the newly-set environment variable.
    > Oh no, doesn't work does it? Maybe relaunch the console, try again. Then what happens?
    > Run the command 'env' and you get the original, valid logged-in username, NOT the
    > 'made up name' from the half-assed setenv USER 'trickadminname'. Trivial on Windows?
    > Too bad, shoulda bought a Mac, or at least wiped the drive and loaded Linux, BSD, etc.

    The behavior you describe is the behavior on all systems, because the environment belongs to a particular process, not to the logged-in user. It is normal for a given process to modify its environment. If you want the USER variable to be set to a particular value for all of your processes, you have to change it in a configuration file. (Yes, you can do this on OS X.)

    The only difference on Windows is that the who utility is not included with the operating system, so if you want to be able to type who and get any meaningful result you have to download a third-party who utility.

    The vulnerability happened because something _trusted_ an environment variable that shouldn't have, since it is known and expected that users are permitted to set environment variables to any value they want.

    As far as an equivalent attack on Windows, there is actually an unpatcheable one due to a design flaw in the Win32 API; however, it's much more difficult to exploit than setting an environment variable and probably requires direct user interaction (i.e., probably cannot be automated like this could), since it is necessary to identify a process that is running with special privileges and send an event to a window owned by that process. There is almost always a privileged process running on Windows (antivirus software is a prime candidate), but one has to be identified, and exploiting it is complicated.

    As for this OS X vulnerability, it's old news, a story about something that was already patched.

    --
    Cut that out, or I will ship you to Norilsk in a box.