Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Security Businesses Apple

Apple Patches Security Flaw in Terminal.app 83

Currawong writes "Apple has posted Security Update 2002-09-20 for Mac OS X 10.2 and above in Software Update, fixing a security hole in Terminal.app which could 'allow an attacker to remotely execute arbitrary commands on the user's system.' Apple also has a useful page listing all the security updates with a short summary and links to what they patch."
This discussion has been archived. No new comments can be posted.

Apple Patches Security Flaw in Terminal.app

Comments Filter:
  • Not knowing much about 10.2, how do they handle severe security patches like this? Are users automagically adviced to install or is there an "OS update" type page they need to visit frequently?

    Just curious.

    Jouni
    • by xTina ( 548009 ) on Saturday September 21, 2002 @08:14AM (#4302563)
      It is done via the Software Update application. This app checks in certain intervals (default weekly) if new updates are available and lets the user choose the updates to install. Most updates are also available for download from Apple's website. Apple provides a security mailing list which will alert you to security updates. Since summer, all updates are signed and the signature is being checked by Software Update before installing.
  • by Anonymous Coward on Saturday September 21, 2002 @11:18AM (#4303010)
    I found this bug 2002/09/20, and start to make report for Apple.
    In fortunate thing, Apple fixed this bug and begin to distribute updater.
    Since Apple fixed this serious bug, I decided to open to the public.

    This is very serious security bug.
    All Jaguar user should update immediately.
    I prepared the test easy here.
    If link below is clicked, a Terminal will start and "ls -la" command will be executed by your authority.
    telnet://|ls -la [ls-la]

    Your use of updater vanishes this brittleness.

    name:Taiyo FUJII
    E-Mail:taiyo@vinet.or.jp
    Sorry, I don't have slashdot account.
    • I'm running 10.2, I downloaded the patch last night, and it looks like it works. I clicked the link in the parent, and here's the Terminal.app output:

      ls-la: No address associated with nodename
      [Process exited - exit code 1]

    • by Karma Sink ( 229208 ) <oakianus@fuckmicrosoft.com> on Saturday September 21, 2002 @01:59PM (#4303783) Homepage
      Actually, I just clicked the link on multiple unpatched machines running OS X 10.2.1. The machine tried telneting to ls -la, to no effect. However, after giving it a good look, this is only because your link does not include the pipe. This is a pretty dangerous exploit, and could easily be changed to rm -rf * rather than a simple ls.

      It's a damned good thing that Apple is so quick on the draw with security fixes...
    • Verified that before the patch, typing telnet://|ls%20-la in Internet Explorer's address bar gives me a directory listing, and after the patch it's fixed by turning the | into %7C which doesn't work. I couldn't get it to work by clicking your link though, or in Mozilla.

      Also verified that it launched in two bounces before the patch and one bounce after, on my 700MHz G4 eMac.
  • by Paladeen ( 8688 ) on Saturday September 21, 2002 @12:00PM (#4303188)
    This update replaces the entire Terminal.app.

    It is now 528kb in size, as opposed to the previous 439kb.

    I've also noticed that it launches noticably faster after the update. Perhaps Apple added some tweaks in addition to the security changes.

    (no, it isn't the updated prebindings. I just did that myself this morning).

    • It does seems to open much faster. it used to bounce three or four times, now its on in two.
      • Hye, you right! It does open in 2 bounces now. Sweet! It doesn't take much to brighten up my day when i have to work on a Saturday.
      • I concur. It launches for me in a single bounce. Cool.
        • by Anonymous Coward
          I assure you that no changes were made to the program, apart from a minimal fix of the bug.

          They didn't even remove the superflous NSLog's (console debugging output) even though they knew about them, since they wanted to touch as little as possible.
          • I assure you that no changes were made to the program, apart from a minimal fix of the bug.

            This sounds reasonable. The launch speeds I see may have just been one of those things 10.2 improved that I hadn't noticed yet. Nice to have instant terminals, though.

            Since Jaguar, I've done nothing but shamelessly gloat about how cool OS X is.

        • I concur. It launches for me in a single bounce. Cool.

          I see a marketing opportunity here:

          Faster than a speeding bullet! More powerful than a locomotive! Able to launch terminals in a single bounce! It's a bird! It's a plane! No, it's Mac OS X 10.2!!!
    • >(no, it isn't the updated prebindings. I just did that myself this morning).

      IIRC, you don't need to manually update prebindings anymore. It's done automatically on a weekly basis.
      • not on a weekly basis but automatic when you launch the program and if it needs it, the dynamic library loader (dylib) will automatically do it for you, so the ext time it will launch faster.

        This is from reading the sources of dylib and the release notes of cctools which contains the sources.
    • (no, it isn't the updated prebindings. I just did that myself this morning).

      I believe Jaguar updates prebindings automatically now at boot time.

      When I was running an old version of Classic Spy, OS X would write a log saying it couldn't update prebinding when I started up.

  • Yay Apple (Score:2, Interesting)

    by zaren ( 204877 )
    I didn't know a thing about this exploit until I heard there was a patch for it. Not to bash or anything, but if it was MS, it would have been all over the news before the fix came out. Guess there's something to be said for being the minority player after all :)

Software production is assumed to be a line function, but it is run like a staff function. -- Paul Licker

Working...