Slashdot Mirror


Security Update Fixes the Screen Effects Hole

jellomizer writes "Here is is. Available from Software Update. 'Security Update 2003-07-14 addresses a potential vulnerability when a password is required upon waking from the Screen Effects feature, which could allow an unauthorized user access to the desktop of the logged in user.' Now we can use our screen savers with the warm and fuzzy secure feeling."

41 of 94 comments (clear)

  1. went witout a hitch by poil11 · · Score: 4, Interesting

    i just hope that one day updates won't require a restart.

    1. Re:went witout a hitch by qengho · · Score: 5, Funny


      i just hope that one day updates won't require a restart.

      Ain't it annoying? How the hell am I going to get my uptime past 30 days or so if I keep having to restart because of patches? Curse you, Apple, for fixing things on a regular basis!!

    2. Re:went witout a hitch by whee · · Score: 5, Informative

      This updates a system framework, which is likely in use by multiple, running, applications. The safest way to ensure everything is operating as it should is to require a restart. Had this been an update of something else, like a user-level application or daemon, then the restart would not have been required.

      You have to remember that this is an operating system for the masses and their desktops. I'm sure this update could've not required a restart, but what if something went wrong? Would your grandmother know how to make sure the current version of a shared library is loaded for her applications?

    3. Re:went witout a hitch by 47Ronin · · Score: 5, Informative

      Noone's forcing you to restart. I just opened up the Mac's Terminal.app and:

      % sudo softwareupdate SecurityUpd2003-07-14-1.0

      [wait for install to finish]

      Installing "Security Update 2003-07-14"... 98% 98% 99% 99% 99% 99% done.

      You have installed one or more updates that requires that you restart your
      computer. Please restart immediately. ...After that I just closed the Terminal. I keep on working and at the end of the day, if I feel like restarting I will. I will also upgrade my OSX webserver this way, and probably never restart it until a real major upgrade occurs.

      --
      Those who laugh at you for you having a Mac.. are the people who constantly call you to fix their PC.
    4. Re:went witout a hitch by Acrimonious+Coward · · Score: 5, Informative

      For and update to an application library (Cocoa in this case), you don't really need to restart, you just need to quit all Cococa apps, this includes the Login Window. To accomplish this, do the following:

      1. download and install the patch. 2. log out, if you can. 3. type ">console" or maybe even ">exit" in the user name field of the login window. 4. once in the console, I believe a ctl-D will restart the login window.

    5. Re:went witout a hitch by babbage · · Score: 4, Insightful

      Yeah, but at that point you've gone so much of the way to bringing the system all the way down that you might as well just do the full reboot. You've just described 80% or so of the things that happen in the logout, shutdown, restart, log back in cycle. Unless you just can't have any service disruption in non-GUI software running on your Mac (Apache, MySQL, etc that other machines may be using), then what's the point in saving that 15 seconds & losing state in all your apps anyway? And if you are running services that can't be disrupted, why are you running them on a desktop platform?

    6. Re:went witout a hitch by babbage · · Score: 4, Insightful

      In which case, the unpatched version is resident in memory, and the patched version is sitting idle on your disc. What's the point of that? When you're ready to apply the patch (which, apparently, isn't right now), then just let the thing reboot & get the clean slate.

    7. Re:went witout a hitch by morcheeba · · Score: 3, Funny

      Just switch to PPC Linux 2.5.75, where you can get 30 years of uptime. And some people complain about this like it's a bad thing!!

    8. Re:went witout a hitch by andreMA · · Score: 2, Interesting
      Yep, you said it yourself: keeping apache et al running. And other servers; I happen to run several instances of TinyMUSH 3.1 on my aging 500MHz dual. It's helpful for them to not rely on proper handling of signals to "shit! I better checkpoint!" - let alone the inconveninece my users would suffer from an actual reboot.

      So... some folks do have a lot more to worry about than the GUI. Sure, I could just run Darwin, but I do a small amount of stuff that requires a GUI too.

    9. Re:went witout a hitch by capmilk · · Score: 2, Interesting

      Did you reboot after the update? I did, and I can't do anything on my desktop without entering the screen saver password.

  2. Them Apple Switchers by inertia187 · · Score: 3, Funny

    About them Apple Switchers,
    ain't they well informed
    goin' to and frow,
    switchn' they platform.
    Them banjo pickin' Apple Switchers,
    see how much they spent?
    They switch to stop blue screens of death
    or just to Think Different.
    Look at all those Apple Switchers,
    hey they even chicks!
    Some just switch to make a point,
    some just for the kicks.
    How to be an Apple Switcher,
    if you want to know?
    Take a trip to Apple's store
    and pony up the dough.

    --
    A programmer is a machine for converting coffee into code.
  3. W h e r e . . . by dlosey · · Score: 5, Funny

    is is? I cannot seem to find "is". I feel so lost!

    Sure can tell its Monday afternoon - editors are still recovering from the weekend

    Could pudge or jellomizer please post a hyperlink? Thanks!

    1. Re:W h e r e . . . by inertia187 · · Score: 4, Funny

      Maybe it all depends on what your definition of the word is is.

      --
      A programmer is a machine for converting coffee into code.
  4. Does this fix the problem globally? by commodoresloat · · Score: 4, Interesting

    It's unclear from the docs whether this fixes just the problem of the screensaver dumping you back into a session without the password, or whether this addresses the buffer overflow that could cause other applications to crash, including the login window.

  5. Versions by hackwrench · · Score: 5, Interesting

    Anybody have any idea what files this updates and what version it updates those files to?

    1. Re:Versions by qengho · · Score: 4, Informative


      Anybody have any idea what files this updates and what version it updates those files to?

      This is what the package contains. I haven't installed it, so I don't know what the new versions are.

      Listing files for Security Update 2003-07-14
      ./System/Library/Frameworks/Security.framework/Ver sions/A/Resources/Info.plist
      ./System/Library/Frameworks/Security.framework/Ver sions/A/Resources/version.plist
      ./System/Library/Frameworks/Security.framework/Ver sions/A/Security
    2. Re:Versions by norwoodites · · Score: 3, Informative

      That means, it is just a new Security Framework see the benefit of shared libraries.

  6. Here's a reason this IS important by jnetsurfer · · Score: 5, Interesting

    I know that you can gain access to my machine by rebooting and changing the root password. I know that you can get around the open-firmware protection. I know that a screen saver doesn't protect my hard drive from someone opening my machine and taking it... but I am still very thankful for this update. Why? Because I encrypt my entire home directory. (Via the method I mentioned here a while ago). So, the "lock screen" option is very important to me -- If you reboot my machine, my home directory is once again encrypted. So the Screen Saver password does have it's place.

    1. Re:Here's a reason this IS important by commodoresloat · · Score: 2, Interesting

      How long does it take to decrypt when you log in? This is a great idea, but I'm assuming you only use the encrypted user for certain limited tasks where security is paramount. For day to day operations, I wouldn't want to have to wait for my iTunes and iPhoto libraries, along with whatever crap I've downloaded to my download folder, to be decrypted every time I log in.

  7. It appears to by jnetsurfer · · Score: 3, Informative

    After updating, I tried to crash a few other apps using the "leave an object on the keyboard" method, and the text boxes simply stopped accepting input after a certain amount of time.

    1. Re:It appears to by __aafkqj3628 · · Score: 4, Informative

      In which case, Apple should have named this patch as a patch to Cocoa itself instead of simply the screensaver.

      Trying to reduce the public's perception of the problem are we Apple?
      Just think, a Cocoa buffer overflow still isn't as bad as Windows' shatter attacks.

    2. Re:It appears to by gnuadam · · Score: 4, Informative

      I'm not convinced there was ever a general cocoa problem.

      Obviously, there was the screensaver bug, and I reproduced that myself.

      Other people mentioned a problem with the login window. I've noticed before if I type an incorrect password it drops to a text-console. This is what people observed when trying to overflow the login window. It's certainly not an exploit.

      I tried overflowing text fields in safari and mail, without incident.

      If someone really found another app that was affected as the screensaver was, I'd really like to hear about it.

      Unless someone does, I'll give apple the benefit of the doubt. They fixed the problem, no harm no foul.

      --
      You say :wq, I say ZZ. Why can't we all just get along?
    3. Re:It appears to by __aafkqj3628 · · Score: 2, Informative

      I couldn't even get the screensaver to crash, I'm just reporting what I've heard other people say.
      The bug seemed to be only on specific versions of Darwin/OS X and was a bit strange even then.
      Either way, at least one potential bug is crushed.

  8. For those preferring to not use SU by blb · · Score: 5, Informative

    Apple's page for the update, if you prefer to download manually.

  9. I don't notice a performance hit by jnetsurfer · · Score: 4, Informative

    I don't notice a performance hit while using the files in my home directory (I don't keep MP3s there however). You can monitor the amount of CPU that is being used decrypting files by checking the CPU usage of the 'hdid' process in top or the CPU monitor. But I encrypt my home directory (as you suggested) to protect my Library, financial records, my code, and the files for my business which I use all the time. My desktop (my download folder) is encrypted and I don't notice a performance hit while downloading. (I'm running a Dual 500 MHz machine, should you care)

  10. Re:Quick question here by Anonymous Coward · · Score: 2, Insightful

    Can you prove conclusively that he hand-assembled it?

    Didn't think so, asshole. Try again.

    The task that hdparm performs can be performed and still have an interface that isn't nearly that cryptic. The interface can be optional, for those users who would prefer to impress their fellow virgins at their mastery of arcane commands.

    The concept that the Linux crowd seems to have missed (but that Apple has embraced) is that you can have two ways of doing things:

    1) The Easy Way.
    2) The Hard Way.

    The two need not be mutually exclusive.

    If I want to change my machine's hostname, I can do it either in /etc/hostconfig, or I can go into System Preferences and do it. There are all sorts of other examples, but you're not worth any more of my time.

    Until the Linux Crowd figures this (and many other usability concepts) out, Linux will remain a toy.

  11. Re:Please, why choose Mac? by Anonymous Coward · · Score: 3, Funny

    I don't want to start a holy war here, but what is the deal with you trolling losers? I've been sitting here at my cubicle reading slashdot for about 20 minutes now and again some pathetic AC has posted another variation on the parent troll. A pathetic AC. At home, where I also read slashdot, which by all standards should be the same as slashdot at work, the same troll will still appear in about 20 minutes. If that.

    In addition, during reading the parent troll, I will not work. And everything else has ground to a halt.

    I won't bore you with the laundry list of other insults that I've thought of while reading variations on the parent troll, but it is suffice to say there have been many. I don't get how someone can claim to get satisfaction from posting the same troll over and over again, whether it be changed to read Mac Classic, Mac OS X, FreeBSD, OGG, Windows, IE, PPC, or anything else.

    Troll addicts, flame me if you'd like, but I'd rather hear some intelligent reasons why anyone would choose to post variations of the same boring old troll.

  12. Problem? by dissy · · Score: 4, Informative

    I dont really see this as that much of a problem.

    So instead you power cycle the laptop, hold down S durring boot to enter single user mode.
    At this point you do technically have root, although without a GUI.

    Change target accounts password, reboot, login.

    If you have a password set in openfirmware to prevent single user mode boots, I have to zap the pram 3 times and the password is gone.

    Granted this is a whole lot harder than breaking the screen saver, but still, any computer someone can get physical access to is not secure under any conditions.

    1. Re:Problem? by Anonymous Coward · · Score: 2, Informative

      "If you have a password set in openfirmware to prevent single user mode boots, I have to zap the pram 3 times and the password is gone."

      Yeah, but you can't do that via cmd-opt-P-R (or the OF command line) if there's an OF password set. You have to crack the case.

      WM

    2. Re:Problem? by NaugaHunter · · Score: 4, Insightful

      What I got as a general consensus was effectively:
      a) The possibility of this being used maliciously required physical access, and other physical methods rendered it near moot.
      b) This point is hard to get across when the news report reads "Apple has security failure from locked screen savers", and therefore may as well be fixed.
      c) Being a buffer problem in a shared library, it is possible that something else, either presently or in the future, would also become vulnerable. This is probably the best reason to fix it while the risk is still light.

      --
      R: That voice. Where have I heard that voice before? B: In about 365 other episodes. But I don't know who it is either.
  13. ...and... by djupedal · · Score: 4, Informative

    There is also a fresh iDVD software update today as well. Rumored to fix the "I don' wanna!!!" message...something about multiplexing :)

    No restart needed!!

    1. Re:...and... by feldsteins · · Score: 2, Informative

      It also started allowing me to launch iDVD on my PB 867 even though it doesn't have a superdrive. This way I could still use the app for demo purposes, or even author a DVD and then transfer the project to a DVD-burning station via Firewire target disk mode or something. Very cool, though.

      --
      You like your Macintosh better than me, don't you Dave? Dave? Can you hear me Dave?
  14. *yawn* gory details... by andreMA · · Score: 3, Informative
    http://www.info.apple.com/kbnum/n120232

    The download file is named: "SecurityUpd2003-07-14.dmg

    Its SHA-1 digest is: 210f4819b8559b590632cd62b4055a437b9a0267

  15. restart by dema · · Score: 3, Interesting

    Apple really needs to add a "Restart Later" option to SU. I can't count the number of time it's been incredibly inconvenient to restart so I've had to force quit SU.

    1. Re:restart by djward · · Score: 4, Informative

      Just Hide it. Then it's out of the way but still in the Dock reminding you that you eventually should restart.

    2. Re:restart by mrgeometry · · Score: 2, Informative

      Try using the "Save to desktop" command in Software Updater. It downloads the updater (unfortunately doesn't allow you to save it anywhere but the desktop, but you can move it after it's downloaded) so you can run it when it's more convenient.

      As mentioned before, there's not much reason to run the updater if you're not going to reboot right away. Yeah, yeah, maybe sometimes there's some reason, but generally not.

  16. WAIT A MINUTE HERE (!) by krray · · Score: 4, Funny

    This is a [lame] local user access hack/exploit. No big deal. Why fix it? They should ignore the problem. If enough people complain then it's not a bug, it's a _feature_. Has the moon gone red?

    Oh, wait, I stopped using Microsoft products. Sorry.

  17. It is a problem by jnetsurfer · · Score: 2, Interesting

    Read my comment above. One thing (amongst others) that rebooting does is unmount any encrypted disks, requiring the user to enter the password again to remount them. Cracking my root password won't gain you access to the encrypted disks I had open before you rebooted my machine.

  18. Print center now broken by Haberdasher · · Score: 2, Interesting

    I don't know if it's related, but all the printers have disappeared from print center. When I tried to add it back, I got an error. Ideas?

  19. That is not true. No reboot is required. by FunkyMarcus · · Score: 2, Informative

    The updated Security.framework will be loaded by ScreenSaverEngine.app the next time it runs - in other words, the next time the screen saver activates.

    Have you tried it? I have. No reboot, and no more crashing screen saver.

    Anything that is already running retains the old version of Security.framework until it's started again, but ScreenSaverEngine.app and loginwindow are both immune. There may be other (unrealized? unreported?) exploits that the update fixes that require a logout or reboot, but to fix the simple screen saver exploit, no such silliness is required.

    Mark

  20. FileVault? by Capt_Troy · · Score: 2, Interesting

    How will FileVault effect your current encryption method? Will you switch to use FileVault when Panther comes out? What is your opinion of FV? And this is a great idea, you should get credit since Apple implemented this as well.