Slashdot Mirror


Linux Kernel Bugs

Armin Herbert writes: "According to this mail from Rafal Wojtczuk and a german article on Heise Online, there's a new severe bug in all Linux Kernels, from 2.2.0 up to 2.4.10, which allows users to become root on your system. Kernel 2.4.12 fixes this problem, and RedHat, Caldera and other distributors already supply patches for their Kernels. See Bugtraq for more information." Important notes for anyone running a multi-user system. Update: 10/19 16:12 GMT by J : If I'm reading Nergal's writeup correctly, 2.4.10 is still vulnerable to the local DoS, but not to the local root exploit. Separate issues. And as pheared points out, there is one unverified report of a custom 2.4.12 being vulnerable as well; please try the exploit on your system and let us know what you find. This is a big one, you can expect the kiddies have already added this to their rootkits. Update your systems now!

307 comments

  1. Where's the Gartner Group? by NineNine · · Score: 1, Troll

    Well, where's the Gartner Group proclaiming that people should immediately switch from Linux to another platform?

    1. Re:Where's the Gartner Group? by TheMidget · · Score: 1

      Jokes aside, shouldn't that read " where's the Gartner Group proclaiming that people should immediately upgrade to kernel 2.4.12, which has been available since over a week already"

    2. Re:Where's the Gartner Group? by hAkron · · Score: 2, Funny

      I am working on a project to port IIS over to this effected kernel

    3. Re:Where's the Gartner Group? by Anonymous Coward · · Score: 0

      Afterall, everyone should upgrade their kernel and reboot their machine every time a new linux kernel release is made.

    4. Re:Where's the Gartner Group? by ClosedSource · · Score: 1

      That's not Gartner's MO. Otherwise, they would have advised IIS users to install the available patches rather than change servers.

  2. Huh? by SilentChris · · Score: 0, Flamebait
    Where's the laughing? The stupidity of having root wide open? The glee?

    Oh yeah, it's Linux.

    1. Re:Huh? by Dimensio · · Score: 3, Insightful

      Well it's not exactly a remote hole. The user still needs to have execute privs on the system they want to root out.

      The "laughing" at MS's security holes isn't necessarily about how easiy it is for a user to gain administrative priveledges, but how easy it is for anyone anywhere to gain remote admin privs.

      Not that I'm saying your comments are completely without merit; a hole like this should have been spotted sooner IMO (though I don't know how obvious it was). I'm also not blind to the fact that remote exploits have been found on Linux systems/services.

    2. Re:Huh? by geschild · · Score: 1

      Forntunatly this doesn't mean 'root' is wide open. It's a local exploit. As I mentioned in another post this doesn't mean that you can rest on your laurels if nobody else but you logs into your box but it beats the crap out of being remotely vulnerable.

      Btw, you'll never hear me laughing about vulnerabilities in Windows. Only crying. I've spent a lot more tears on that than on people dissing Linux.

      (remark aside: why do I get these 'key' errors?)

      --
      Karma? What's that again?
    3. Re:Huh? by Fluffy+the+Cat · · Score: 2

      Read the thing. The ptrace hole is very similar to one in *BSD last year. Pretty much everyone screws up when it comes to this sort of volume of code.

    4. Re:Huh? by Azghoul · · Score: 1

      You're such an idiot, yet you run BSD. Go figure.

      Last time I checked, I was able to check out the source of any damn Linux release I want... and hmm... let's see.... yep, there's some change lists in here.

      No wonder you're anonymous, I wouldn't want to admit I was a moron to the world, either.

    5. Re:Huh? by tmark · · Score: 3, Insightful

      Well put. If a comparable NT exploit were available you can bet the Slashdot
      editors and readers would have been quick to drag MS over the coals. But since
      this is a Linux love-fest, we just get a pointer to the fix, and probably later
      some rationalizations as to how this points to the Linux's superiority, or how
      this is really minor anyways. Reminds me of arguments I used to foolishly
      engage in with creationists; anything that supports their argument is treated
      as scientific evidence, while anything contradictory is dismissed out of hand
      or ignored completely.

    6. Re:Huh? by Anonymous Coward · · Score: 0

      You really think that's the Linux deveopment model? Linus throws in a bunch of patches, lists a few, and releases when he feels like it. Nice model. ;-) If you really think me being anonymous makes my point any less valid, then I'm afraid you've got another think coming.

    7. Re:Huh? by cloudmaster · · Score: 2

      (remark aside: why do I get these 'key' errors?)

      I got that on an earlier post, too. I figured it was a result of the flood of postings to a "something wrong with linux" message from the over-zealous linux fans and the over-excited linux-bashers. The new slashcode seems to have been buckling just a little under the tremendous loads that are placed on it... (not that I could quickly write anything better, mind you)

    8. Re:Huh? by tshak · · Score: 1

      Then you where talking to uneducated creationists, or you believed in evidence that was clearly just as faith based as many religious beliefs.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    9. Re:Huh? by NathanL · · Score: 1

      So what you're saying is that David AND Goliath and get Anthrax now?

  3. Corps moving back to NT, then? by aurorascope · · Score: 1

    After nimda, codered and countless other virii, I've noticed several companies moving over to linux in the last few months. Could this pose a threat to the "migration"? It might very well do, not something I would look forward to, personally.

    Admins "starting out" on linux may not know how to upgrade their kernels and out of fear move their network back to NT. Just a thought.

    --

    I'd rather have a bowl of coco-pops.
    1. Re:Corps moving back to NT, then? by Anonymous Coward · · Score: 0

      Any company migrating from Windows to Linux should damn well have employees possessing a clue about the latter *before* they move anything outside of the test labs over to it.

      On the other hand, maybe I should add 'Linux Consulting' to my business card, even though I prefer to remain aloof from the petty OS wars.

    2. Re:Corps moving back to NT, then? by ichimunki · · Score: 2

      Admin may not know how to upgrade a kernel? How the hell did a person who cannot download the updated .rpm or .dep file and type in a simple package management command get to be an admin of anything other than an Atari 2600 or a Vic-20?

      Even a dolt like me knows how to do 'chmod 700 newgrp' as superuser-- which will make one of these exploits a lot harder to do since it requires a SUID binary to be world-exec. And as soon as patched kernels show up, I'll be able to type 'apt-get update' on all my Debian systems, and 'pftp ftp.domain.com; get new-kernel.rpm; rpm -uv new-kernel.rpm' on my RH/YDL systems.

      --
      I do not have a signature
    3. Re:Corps moving back to NT, then? by Anonymous Coward · · Score: 0

      it's VIRUSES not virii....
      SHEESH
      and second of all, that's what sysadmins who know how to use linux are for

    4. Re:Corps moving back to NT, then? by hearingaid · · Score: 2
      Admin may not know how to upgrade a kernel? How the hell did a person who cannot download the updated .rpm or .dep file and type in a simple package management command get to be an admin of anything other than an Atari 2600 or a Vic-20?

      By taking the MCSE exams.

      Sad, but true. The concern is that the Gartner migrants may re-migrate back.

      That said, the MCSEs of the world should be forced to get real jobs, you know, at Burger Thing or someplace they can put their talents to good use. :)

      --

      my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  4. open source by recursiv · · Score: 2, Interesting

    I always hear people saying how great open source software is, because they can look through the code and fix any bugs themselves.
    But I've always wondered exactly who's looking through all this code? Apparently not enough people if a bug this big has lasted this long.

    --
    I used to bulls-eye womp-rats in my pants
    1. Re:open source by rmgrotkierii · · Score: 0

      OpenBSD, which is a open sourced OS, is pretty damn secure on defualt install. But anyone who trusts default installs, deserve to get r00ted, whether they be on a UN*X, OS/2, Mac, Microsoft box. Just my $0.02 on the matter.

      --
      Reality is for those who can't face Science Fiction.
    2. Re:open source by Peaker · · Score: 2

      But I've always wondered exactly who's looking through all this code? Apparently not enough people if a bug this big has lasted this long.

      So enough people is defined as the minimum amount of people required to eliminate bugs between two kernel releases, aka, a few weeks?

      Mathematically speaking, the less time you allow for bug discovery, the more, a lot more, people looking at the code you need. As you limit to 0 time for every bug discovery, you limit to infinity of people required, its asymptotic

      Ofcourse there'll be undiscovered bugs, until all code is mathmetically proven correct.
      Ofcourse undiscovered bugs will remain dangerous, for as long as we use dangerous languages (C, C++, etc.)

    3. Re:open source by zensonic · · Score: 2, Informative
      Do you realize just how MANY lines constitute a typical linux kernel?? When that's said, a couple of points:

      • The bug was found at last.
      • YOU can join the BUG hunting team today no questions asked.
      • Atleast you know that the bug was found and fixed. I wonder how many bugs exists in closed source OSes that aren't fixed because of money and/or time.
      • I find it to be proof of concept that the open source moment works as intended. Some day, somebody will look trough the code. Either as part of his/her job, or for pure pleasure/fun. Thats when bugs and/or performance enhancements are fixed/made.
      • You actually HAVE the oportunity to go bug hunting in the code before you install it on you production system --- obviously not many does review the code (because there aren't that many bugs?).


      For me personally, I sleep well at night knowing that I run Opensource OS'es at home and at work. What about you? I for one do not trust that the money a commercial OS costs give me peace at mind with respect to security.
      --
      Thomas S. Iversen
    4. Re:open source by moheeb · · Score: 1

      If you're having problems sleeping because of the Operating System you run.....you're missing out on what life has to offer.

      Look outside man, it's beautiful out there.

    5. Re:open source by Anonymous Coward · · Score: 0

      Yeah, but what if you're ugly. Then the world is not as beautiful as you think.

    6. Re:open source by Anonymous Coward · · Score: 0

      go look at the damn exploit. Using a "safe" language wouldn't help in this case.

      I assume your attack on "(C, C++, etc)" is referring to buffer overruns. Modern C++ code uses a string class that prevents such stupidities. But evidently you are under the impression that C and C++ are the same language. Let me guess, you've got "C/C++" written on your resume because you took one C class at Devry.

    7. Re:open source by Anonymous Coward · · Score: 0

      You're right, not nearly enough people are looking at the code. But at least it's more than you would get with closed-source (zero). If Linux were closed source, the ptrace bug might still be around 10 years from now.

    8. Re:open source by leviramsey · · Score: 2
      Ofcourse undiscovered bugs will remain dangerous, for as long as we use dangerous languages (C, C++, etc.)


      What other languages would you suggest for kernel development?



      And Java is not immune to these issues. Consider for a moment what languages Java's VM is implemented in. How many bugs are lurking in the Java VM (or the Lisp interpreters, or Perl interpreters, or PHP/Pythn/Tcl/Tk)?



      Blaming the language is a cop-out. It's akin to blaming the failure of legislation on the English language.

    9. Re:open source by Peaker · · Score: 2

      What other languages would you suggest for kernel development?

      Common LISP (Vapour), Java (JavaOS), etc.

      And Java is not immune to these issues. Consider for a moment what languages Java's VM is implemented in. How many bugs are lurking in the Java VM (or the Lisp interpreters, or Perl interpreters, or PHP/Pythn/Tcl/Tk)?

      A lot less. The number of bugs in a N systems written in C, is at least a function of N.
      The number of bugs of N systems written on top of a LISP, Java, or other interpreter is a function of 1 (Constant). This means that eliminating dangerous bugs is constrainted, and is a finite process.

      Blaming the language is a cop-out. It's akin to blaming the failure of legislation on the English language

      Blaming the language for allowing expressability of illegal things is not a cop-out, its legitimate criticism. The best/cleanest/most-powerful way, is often to not allow the mere expression of illegal/unauthorized things. As safe languages don't even let you express illegal (crashing) code, and pure capability systems don't let you even express unauthorized requests.

    10. Re:open source by Peaker · · Score: 2

      C++ is a lot more powerful at writing safe code, granted.
      But most modern C++ code does not do bounds checking, and still uses a lot of char*'s.

      In theory, a C++ library that does bounds checking and a lot of other safety-measures can be written, but it can never garbage collect (in a real way, not conservative), and manage memory automatically, meaning that dangling/illegal pointers will always exist in C++.

      C++ is still unsafe, deal with it.

    11. Re:open source by Anonymous Coward · · Score: 0

      If its _STILL_ not using the string class, you can hardly call your C++ code modern.

      The point remains, your little rant is ridiculously offtarget.

      You conveniently ignored the part of my post where I pointed out that this exploit would have existed if the linux kernel was written in any language. I can only assume that means you have no idea how this exploit works.

  5. This is so typical by Caine · · Score: 3, Funny

    This happens all the time? When will people realize that Linux is inferior and unsecure. Everyone knows that open-source peer-review is a lousy tool for security-audits. No, why doesn't everyone run Microsoft products? They're completly secure and doesn't have any problems at all. Because that's the power of closed source.

    Hope the irony isn't lost on you...

    1. Re:This is so typical by legoboy · · Score: 1
      Hope the irony isn't lost on you...

      As a general rule when using irony and/or satire, explicitly pointing out that it exists ruins the effect. It just ain't worth doing if you don't outrage your less alert readers.

      Imagine _A Modest Proposal_ with an brief introduction that states 'This is satire (w/ definition) you idiots!'

      --
      If a tree falls on an anonymous coward yelling 'first post' in the forest, does anybody hear?
    2. Re:This is so typical by DocSnyder · · Score: 0, Redundant

      If the bug had occured on a closed source system, the vendor would have tried to keep it secret as long as possible. Bugs can and will happen no matter if the software is open source or not, and this one can't be too trivial, otherwise it would have been discovered earlier. With closed source software, it probably wouldn't have been discovered it at all.

    3. Re:This is so typical by ethereal · · Score: 1

      The funny thing is, even after he said he was being ironic (I would have called it sarcasm instead, but either way), some moderator didn't read that part and just blindly "-1, Troll"ed it. I didn't think it was a scintillatingly brilliant comment, but even I can recognize satire when I see it.

      --

      Your right to not believe: Americans United for Separation of Church and

    4. Re:This is so typical by sien · · Score: 2

      I can't believe this has been modded down. This made me laugh. Will the moderators please think just a bit, and then smile.
      I completely agree with this post, and think that no doubt in the next few days Linus will make a posting like MS have and tell everyone how they shouldn't be looking for security weaknesses in Linux and how publishing them is completely naive in the same way that MS so wisely have.
      If only the Open source community could learn from MS - and their wonderful server MS IIS ( Internet Infection Server ), codename Swiss Cheese the world would be a better place.

    5. Re:This is so typical by Caine · · Score: 1

      Actually I'm a rather astout "MS-bitch" as someone put it above. I like Linux, but I like my w2k more. I just want to see a little more even coverage and comments.

    6. Re:This is so typical by Anonymous Coward · · Score: 0

      This happens all the time? When will people realize that Linux is inferior and unsecure. Everyone knows that open-source peer-review is a lousy tool for security-audits. No, why doesn't everyone run Microsoft products? They're completly secure and doesn't have any problems at all. Because that's the power of closed source.

      Hope the irony isn't lost on you...


      Really? Whats up with this:

      63.149.120.35 - - [19/Sep/2001:15:10:14 -0700] "GET /scripts/root.exe?/c+dir HTTP/1.0" 404 282 "-" "-"

      63.149.120.35 - - [19/Sep/2001:15:10:14 -0700] "GET /MSADC/root.exe?/c+dir HTTP/1.0" 404 280 "-" "-"

      63.149.120.35 - - [19/Sep/2001:15:10:14 -0700] "GET /c/winnt/system32/cmd.exe?/c+dir HTTP/1.0" 404 290 "-" "-" "-"

    7. Re:This is so typical by Erasmus+Darwin · · Score: 1
      "some moderator didn't read that part and just blindly "-1, Troll"ed it."

      It's also possible that the moderator decided it was a troll based on the fact that the same joke gets made every single time we've got a Linux exploit/bug. One could easily argue that "MS is secure, Linux isn't" is in the same class of painfully over-used jokes as "Imagine a Beowulf cluster of these."

      It's a shame there's no way for moderators to include a brief comment indicating why they decided to moderate something up or down. If, for example, we had two moderators and one gave it "+1 Funny; Satire", and the other gave it "-1 Troll; 3,748,241st time this joke has been used", I'd be hard-pressed to metamod either moderator down.

  6. 2.2.x where x=19 also vulnerable by geschild · · Score: 3, Informative

    Additionally the 2.2 'superstable' series are also vulnerable. Better get out those patches on multi-user systems and be snappy too. Don't want to look like an M$-admin now do we? :D

    Karma? what's that again?

    --
    Karma? What's that again?
    1. Re:2.2.x where x=19 also vulnerable by geschild · · Score: 1

      And so much for shooting from the hip. The title should've read '2.2.x where x=19 also vulnerable'. My bad.

      But the message stays the same, Go patch. FAST.
      (_If_ you have a multi-user system. Btw, think twice about if you have a 'multi-user' system. A buffer-overflow in a non-root daemon that is reachable from outside your box can now suddenly become a root vulnerability.)

      --
      Karma? What's that again?
    2. Re:2.2.x where x=19 also vulnerable by diamondc · · Score: 1

      reachable from outside your box? maybe im reading what you said wrong.

      the ptracebug and symlink attack only can work if you have a local account. and even then I tried the ptrace exploit out on my debian 2.4.10 box and it didnt work (probably cause the readme said to adjust some vaules in a #define.

      --
      "I keep looking in the want-ads under 'revolutionary' but there don't seem to be any listings.. "
    3. Re:2.2.x where x=19 also vulnerable by Anonymous Coward · · Score: 0

      Ok, I give up. I've bugged my eyes out for the last 5 minutes reading your original title and your "should've read" title. What's the difference?? I'm going crazy here!

    4. Re:2.2.x where x=19 also vulnerable by AstroJetson · · Score: 1

      Thanks....I'm glad it wasn't just me.

      He either duplicated his mistake again in the 'correction' or there was never any mistake to begin with. Color me confused.

      --
      Admit nothing, deny everything and make counter-accusations.
    5. Re:2.2.x where x=19 also vulnerable by geschild · · Score: 1

      I was away for some time hence the slow reaction. It _read_ x=19 where it should've read x=19. Notice the added ''. So all versions up to and including .19 are affected unfortunatly.

      --
      Karma? What's that again?
  7. It's a trap! by Anonymous Coward · · Score: 0

    They just want you to switch to 2.4.12 because it's the secret pagan version! Don't let it spread!

    1. Re:It's a trap! by rmgrotkierii · · Score: 0

      I'll bite. What does a religion haveta to wif a OS kernel ? (=

      --
      Reality is for those who can't face Science Fiction.
    2. Re:It's a trap! by spauldo · · Score: 1

      Secret pagan version?

      Dammit, why didn't anyone tell me about this? Damn, I should join the pagan linux mailing list I guess. Us pagans gotta stick together.

      --
      Those who can't do, teach. Those who can't teach either, do tech support.
  8. How refreshing ! by sh0rtie · · Score: 0, Troll


    I bet the Linux mob still say its Microsofts fault cos they where playing Max Payne on their win2k box while their linux boxes where rooted !

  9. Curious... by Dimensio · · Score: 3, Interesting

    I'm aware that the exploit is within ptrace and not newgrp itself but...

    ...the SecurityFocus notice uses newgrp as an example of a program from where the hole can be exploited and it states that most Linux distributions default with newgrp suid root and world-executable. Call me odd, but I'm not sure I understand why a sysadmin would want newgrp to be world-executable.

    1. Re:Curious... by owain_vaughan · · Score: 1

      NAME
      newgrp - log in to a new group

      SYNOPSIS
      Command
      /usr/bin/newgrp [ -| -l ] [ group ]

      DESCRIPTION
      Command
      The newgrp command logs a user into a new group by changing
      a user's real and effective group ID. The user remains
      logged in and the current directory is unchanged. The execu-
      tion of newgrp always replaces the current shell with a new
      shell, even if the command terminates with an error (unknown
      group).

    2. Re:Curious... by hackerhue · · Score: 1

      man newgrp

      newgrp is used to change the current group ID during a login session. If the optional - flag is given, the user's environment will be reinitialized as though the user had logged in, otherwise the current environment, including current working directory, remains unchanged.


      newgrp changes the current real group ID to the named group, or to the default group listed in /etc/passwd if no group name is given. The user will be prompted for a password if they do not have a password and the group does, or if the user is not listed as a member and the group has a password. The user will be denied access if the group password is empty and the user is not listed as a member. ...

      If you're listed under several groups, you use newgrp to change to a different one.

      --

      To get something done, a committee should consist of no more than three persons, two of them absent.

    3. Re:Curious... by Fluffy+the+Cat · · Score: 3, Informative

      Because you need root privileges to change the real group ID of a running process to an arbitrary group (therefore suid) and arbitrary users may wish to run it (therefore world executable)? You're not confusing it with addgroup, are you?

    4. Re:Curious... by cgray4 · · Score: 1

      Because newgrp is a command that users would want to use. It's a lot like su. I guess it's not essential though, since my OpenBSD box doesn't even have the command.

      From the article it doesn't look like newgrp is the only command that could be used. su $USER would have the same effect if it didn't ask for a password.

    5. Re:Curious... by Anonymous Coward · · Score: 0

      Most users don't need to use su, because they only have one login name. You should probably restrict it to a group of people that need it. I use "chown root:adm /bin/su" and "chmod 4750 /bin/su" on my system. I also have newgrp disabled (it's not setuid), because it's not really necessary (I guess it could be useful on some systems, but I've never even heard of it).

  10. microsoft :P by The_Flames · · Score: 1

    I wonder what response all the MS bashers will give to this, like you cannot get admin rites on a 2k box without knowing an admin??? Right?

    --

    --
    The computer told me to press any key to continue,I pressed the one looking like this (|) !!OH SH*T!!
    1. Re:microsoft :P by SiliconJesus · · Score: 1, Troll

      one link... Here l0phtcrack. Cracking windows passwords for years.

      --
      Clinton made me a Republican. Bush made me a Libertarian. Trump is making me question reality.
  11. Okay, okay.... by tomknight · · Score: 2, Insightful
    Yes, it's open soyrce, where the fact that everyone can review it for themselves ensures that problems like this never occur. Yes, this is a cock-up....

    Strangely, I think that this is a good thing. It will hopefully make Linux users a little less complacent (and smug) than before. Okay, the avaerage user isn't going to trawl through the kernal source (hell, I wouldn't!), but maybe they'll get more involved with the full develoment of Linux - that includes QA, bug-fixing, not just writing of crappy Tetris clones.

    One thing I'm looking forward to is finding out how many lazy people there are out there who don't patch their systems..... much like with NT and the easily fixed holes that lead to Code Red.

    Tom.

    --
    Oh arse
    1. Re:Okay, okay.... by quartz · · Score: 3, Insightful

      It will hopefully make Linux users a little less complacent (and smug) than before.

      In your dreams. As a Linux user, I'm smugger than ever. How can that be? Well, let's see: a huge bug is found in Linux kernel. Did anyone write an exploit that pur millions of Linux computers in jeopardy? No. Did a malicious worm get released and wreaked havoc on the Internet? Um, no. Did this bug cause ANY inconvenience AT ALL thus far? Um, no. And it never will. Why? Because 1) a patch was made instantly available, and 2) generally, Linux people have enough common sense to stay up to date with kernel patches. Sho why the hell shouldn't I be smug?

    2. Re:Okay, okay.... by tomknight · · Score: 2, Insightful
      No inconvenience? Well it's no more inconvenient than having to patch all your NT/W2K boxes (actually very easy with a decent bit of scripting). The average user won't be affected that badly - all they have to do is apply a patch. The pain in the arse is when you have a whole load of machines (which may as it happens be running different flavours of Linux), and you spent a fair while ensuring that they all work ncely. Along comes a patch, and you have to start working out which machines tou can take off-line to test the patch, which machines are most vulnerable (when you have a fair few users with shell accounts...)


      Anything like this, on NT or Linux or whatever OS you use is a pain, and a definite inconvenience.


      Certainly, as it's a local exploit, the danger level is lower, but what if there's a Linux admin who hears about this a day after their users do? Think of the average student faced with the opportunity to become root. I'd have taken that chance!


      The reason you shouldn't be smug is because people who care found this first, and this isn't a remote exploit.


      Tom.


      What the hell is this invalid formkeys crap??

      --
      Oh arse
    3. Re:Okay, okay.... by mandolin · · Score: 2
      Did anyone write an exploit that pur millions of Linux computers in jeopardy? No.

      That's as Far As You Know. Anybody could have acquired this information and used it w/out your knowledge. What was that story a couple of days ago where the german government was considering moving to linux partially because they feared backdoors in MS code?

      (/steps off conspiracy theorist soapbox)

    4. Re:Okay, okay.... by Anonymous Coward · · Score: 0

      Did anyone write an exploit that pur millions of Linux computers in jeopardy? No.

      And that means it wont happen?

      I pity the fool who believes in this guy

    5. Re:Okay, okay.... by ClosedSource · · Score: 1

      "Did a malicious worm get released and wreaked havoc on the Internet?"

      You forget the political context. I suspect there's little interest in exploiting Linux bugs because the people writing worms are probably pro-linux.

    6. Re:Okay, okay.... by Anonymous Coward · · Score: 0

      Its a local exploit. You CAN'T write a worm that spreads using this. You could use this to turn a non-root remote exploit into a root compromise, but why bother? Your worm can use the machine to spread itself even if you can't get root.

  12. Hooray! by Reality+Master+101 · · Score: 2, Offtopic

    This means there is at least a year's moritorium on stupid "Microsoft-is-insecure" jokes. :)

    --
    Sometimes it's best to just let stupid people be stupid.
    1. Re:Hooray! by PowelSilven · · Score: 1

      how about a compromise. we'll have a moritorium for as long as we can't fix this problem. I'll give it till the end of the day. How long do you have to wait in order to patch your precious IIS? - Today I'm the techno remix of Alladin

    2. Re:Hooray! by Anonymous Coward · · Score: 0

      Um, generally you can get patches the same day the exploits are found. The arrogance and the ignorance of the Slashdotter knows no bounds.

      Note by the way that Code Red, etc all had patches available months before the virusus were found.

    3. Re:Hooray! by Anonymous Coward · · Score: 0

      You're not very smart, are you?

    4. Re:Hooray! by Florian+Weimer · · Score: 1

      Why? The Linux kernel had a similar problem with ptrace() which was fixed at the beginning of this year, and Windows didn't become more secure all of a sudden.

      And after all, hardly anyone at the Windows camp is concerned about local security. Quite a lot of hardware and software runs only under an administrative account and needs write access to the system directories (and this software is still called "Windows compiatble"). So, from a practical point of view, you are often forced to run your Windows machine with very liberal security policies, not comparable to the standard UNIX setup. And if you don't you have got a long way to go from the default Microsoft setup, which focuses far too much on compatibility with former Windows versions.

      And, by the way, it is not reasonable to expect that general purpose UNIX-like operating systems can withstand attacks from local users. Obviously, these systems were not designed with this kind of threat in mind.

  13. 2.4.12-ac3 by Defiler · · Score: 4, Informative

    If you're going to run 2.4.12, I suggest adding the latest Alan Cox patch to it, as well as Rik van Riel's "hogstop" and "eatcache" patches.
    First, start with the base 2.4.12 kernel: (Use a patch to save Kernel.org's bandwidth, if you have a recent 2.4 kernel lying around.)
    2.4.12
    Next, patch it up to 2.4.12-ac3:
    2.4.12-ac3
    Finally, apply these two patches to 2.4.12-ac3 to yield 2.4.12-ac3+hogstop+eatcache
    Hogstop+Eatcache

    This is currently the ultimate in Linux VM performance.

    1. Re:2.4.12-ac3 by macinslak · · Score: 2, Interesting

      As long as we're going for broke, how's about a little preemption too?

    2. Re:2.4.12-ac3 by Black+Parrot · · Score: 1


      > As long as we're going for broke, how's about a little preemption [tech9.net] too?

      I also have a patch that makes it print "Hello World" when it boots, so the geek who wants everything should download that, too.

      --
      Sheesh, evil *and* a jerk. -- Jade
    3. Re:2.4.12-ac3 by RedSynapse · · Score: 1

      This is why my grandmother is never going to run linux.

  14. Difference between this and the IIS holes by fractalus · · Score: 1

    While it's true that this is a nasty, bad root exploit... at least it's a LOCAL exploit. You have to already have local access to the machine in order to take advantage of it.

    The IIS holes of late have been REMOTE exploits. Any half-wit script kiddie can take advantage of it.

    --
    People are never as simple as their stereotypes. This applies equally to Christians, Muslims, and Emacs-lovers.
    1. Re:Difference between this and the IIS holes by tonan · · Score: 1

      Does this mean if you have a shell account on the server that this exploit can be used? If this exploit is run, can it be traced back to the user who ran it? Does the ptrace command come installed as default on all distro's? If so, what are the local security settings on this program? Don't laugh, I'm a unix newbie.

    2. Re:Difference between this and the IIS holes by WildBeast · · Score: 1

      local security is even more important if you're in a corporate environment.

      Goes to show that I'm always right :) no OS is perfectly secure and they'll never be perfectly secure either. I said it once and I'll say it again, although patching is good and all; we should also hunt the evil-doers and put an end to their miserable lives.

    3. Re:Difference between this and the IIS holes by Fluffy+the+Cat · · Score: 3, Informative

      Does this mean if you have a shell account on the server that this exploit can be used?

      Yes.

      If this exploit is run, can it be traced back to the user who ran it?

      If process accounting is being used, yes. On the other hand, the user could just "fix" the logs after gaining root.

      Does the ptrace command come installed as default on all distro's?
      It's a system call, not a command, so yes - it's part of the kernel.

    4. Re:Difference between this and the IIS holes by fractalus · · Score: 1

      That depends on how your corporate environment is set up. I expect that plenty of corporations that use Linux on their servers still use Windows on the desktop, and actual logins to the servers is severely restricted. (After all, your typical office worker can barely handle a DOS prompt, let alone a UNIX shell.) So it's not good, but it's still not a remotely-exploitable root hole.

      Of course all corporate networks should be reasonably segmented so that compromise in one doesn't automatically compromise the entire network, but few businesses are willing to set up their network that way, probably because they're not sufficiently paranoid.

      --
      People are never as simple as their stereotypes. This applies equally to Christians, Muslims, and Emacs-lovers.
    5. Re:Difference between this and the IIS holes by Tony-A · · Score: 1

      Hehe.
      We're behind a firewall, so we're safe.
      We have anti-virus software, so we're safe.

      People behind the firewall get email and read web pages.
      Virus writers have access to anti-virus software.
      I'm beginning to suspect that more damage is done to corporate computing by anti-virus software than the viruses they purportedly protect us against.

  15. "Only" a local root exploit by Baki · · Score: 5, Insightful

    Before screaming, please remember that this is only a local root exploit, that is you must already have logged in on the machine as non-root before using this exploit.

    Most Unixes have had dozens of (sometimes known) local root exploits for years, and while most of them have been ironed out, some surely remain. They are much much harder to eradicate as exploits directed to network services (i.e. from the outside) are. Every once in a while one is discovered in most UNIXes (often obscure race conditions etc).

    Till a few years ago the saying was that you should never give a local login to someone who you would not trust to be root, i.e. one could assume that sooner or later those that really try to become root shall succeed. Any mission critical servers should not have any user accounts for untrusted people; therefore, local root exploits have never been considered to be a big deal.

    If you want to compare to Windows: up till Windows XP it wasn't even possible to be logged in as multiple users at the same time, so the equivalent of a local root exploit was not really possible. Still, Windows managed to have multitudes of the way more stupid and serious class of remote exploits. With the advent of Windows XP the concept Windows kind of becomes multi-user for the first time (though in a very crude way, since unlike UNIX/Linux each login session almost starts a new instance of larger parts of the operating system). While this new concept is 30 years old in UNIX, only now Windows (XP) starts having the possibility of local exploits. Surely many of them will exist and it will take decades to kind of iron them out.

    1. Re:"Only" a local root exploit by rmgrotkierii · · Score: 0

      Part of the reason I gave a cracker friend of mine an account on my boxen, to test for local and remote exploits. He'll tell me of the exploit, and I usually patched it within a day of him giving me the news. And if I hadn't trusted him to tell me of the exploits, I wouldn't of given him an account in the first place.

      --
      Reality is for those who can't face Science Fiction.
    2. Re:"Only" a local root exploit by cloudmaster · · Score: 2

      Precisely the point I was goint to make. We've got several linux boxes here, but only one has user accounts on it that could be used for this kind of exploit. The other boxes have several accounts, but the only ones that can be logged into are me (the admin), root (also me), and, on a couple of them, the guy who was the admin a few years ago (who I would trust with root and who still works for the company in a different capacity).

      Guess what, I'm not real worried about this bug. I suppose it's time to upgrade the kernel anyway, though - it's been a few months. Wake me up if someone finds a *remotely* executable bug with any of my customized Linuxen. 'Till then, Windows' are *still* less secure than Linux.

    3. Re:"Only" a local root exploit by Telek · · Score: 4, Informative

      (I have to retype this comment because I got a "form keys error" while trying to submit the first one. I find it so ironic how the /. community continuously bashes MS for their stupid bugs and can't keep /. running for more than a week without some sort of error)

      If you want to compare to Windows: up till Windows XP it wasn't even possible to be logged in as multiple users at the same time, so the equivalent of a local root exploit was not really possible.

      Incorrect on both counts.

      Since at least windows NT server 4.0 you have had something called Terminal Server which gave remote users the ability to log on to your server and run applications (and with recent incarnations it is in a manner much faster than xwindows too). Windows NT 4.0 (regular) also had the ability to run programs as different users (through a bit of a trick), and this trick was turned into a real feature in Windows 2000 with the "run program as a different user" option. Windows XP was just the first one to allow a logged in user to keep all of his programs running while he is "logged out". I had a utility that I used to run on Windows NT 4.0 called "su" (and you can guess what that does) which allowed me to run any program as a different user.

      And besides, being able to have multiple simultaneous logged in users has no relevance to the ability to have root exploits. As long as you have user privilege levels you can have root exploits.

      --

      If God gave us curiosity
    4. Re:"Only" a local root exploit by dillon_rinker · · Score: 2

      This is EXACTLY the same attitude that MS has towards security. An exploit was discovered once upon a time that gave the administrator access to all user's passwords. "What's the big deal?" said MS. "Surely you trust your administrators! They could change the passwords if they wanted to, anyway!" The correct answer would have been "Oh no! An exploit, which combined with others could allow a bad guy to do terrible things!"

      So, your response is "What's the big deal? Surely you trust the people you allow onto your box!" The correct answer is the same as above.

      Never underestimate the creativity of the bad guys. Someone will take this exploit and combine it with others and gain remote root. We will all look back and smack our heads for missing his obvious combination.

    5. Re:"Only" a local root exploit by Nailer · · Score: 1, Redundant

      If you want to compare to Windows: up till Windows XP it wasn't even possible to be logged in as multiple users at the same time, so the equivalent of a local root exploit was not really possible.

      NT has has the ability to run su type programs for a very long time (since the NT4 resource kit).

      There's been multiuser (albeit remote) version of NT since Citrix released their NT 3.51 Terminal Server.

    6. Re:"Only" a local root exploit by Anonymous Coward · · Score: 0

      A local root exploit is obviously a remote
      root exploit if any running network service happens to be insecure.

      If this were not the case then we would not run our network services at the lowest possible privilege level.

      A kernel bug like this is a terrible thing.

      No exploitable utility is guaranteed to be
      installed on any one linux machine but this will be on MOST production machines today.

      In this case there is NO difference between a local and remote hole.

  16. Just another reason by bhhenry · · Score: 2, Offtopic

    not to use Microsoft software ... oh, but wait

    --
    signature not found
  17. What, no bias? by rayd75 · · Score: 1

    That's odd... I've grown used to any Slashdot posting about privilege elevation exploits being condescending and insulting. Where are the accusations of carelessness on the part of the programmers? How about the shots at the intelligence of the administrators? Oh, this is a Linux bug? How convenient....

    I'd continue to rant, but I have a worm to write.

    1. Re:What, no bias? by Anonymous Coward · · Score: 0

      how can you write an effective worm based on either vulnerability, nimcompoop?

    2. Re:What, no bias? by Anonymous Coward · · Score: 0
      I have a worm to write


      Good luck, you idiot, this bug is a local root exploit. If you don't know what that means, you might want to go back to l337 h04>4r school.

    3. Re:What, no bias? by Peaker · · Score: 2

      That's odd... I've grown used to any Slashdot posting about privilege elevation exploits being condescending and insulting.

      Perhaps people complained about dozens of them a month being such, but their existence in ACL systems is recognized as inevitable.

      Where are the accusations of carelessness on the part of the programmers?

      Again, nobody would bash Microsoft programmers for an occasional bug. But that's simply not the case at Microsoft.

      How about the shots at the intelligence of the administrators?

      Now that's utter bull. Shots at the intelligence of admins? How is it relevant here?
      People refer to the stupidity of Windows admins after a second worm using the same exploit successfully spreads itself, even though a patch has existed long before the first one.
      When a successful worm uses this exploit successfully, then it would be relevant to call Linux admins idiots.

      Oh, this is a Linux bug? How convenient....

      How rare, too :)

      I'd continue to rant, but I have a worm to write.

      Yeah, and how will it spread, exactly?
      Anyhow, if you could, it would be a nice test of Admin stupidity, and my guess is that Linux admins would pass the test - thus your worm would Fail.

    4. Re:What, no bias? by rayd75 · · Score: 1

      Oh, I'm sorry... I've obviously violated some sacred Slashdot code by not specifically disclaiming that my tagline had nothing to do with my message... But I am immensely impressed with the way you kicked off your response with name-calling. I guess I'll back off after reading that. Besides, it only proves my point.

    5. Re:What, no bias? by rayd75 · · Score: 1

      Now that's utter bull. Shots at the intelligence of admins? How is it relevant here?

      Wasn't saying it was relevant to the bug in question... just that it is what I am used to on Slashdot.

      Again, nobody would bash Microsoft programmers for an occasional bug. But that's simply not the case at Microsoft.

      Granted, Microsoft software is as buggy as hell... but it's not alone.

      http://www.securityfocus.com/cgi-bin/vulns.pl?ve nd or=RedHat&title=Linux&version=Any&section=vendor&w hich=vendor

      See previous reply on the worm bit... But since it was brought up, it would be very possible to write a worm to exploit a previous remote vulnerability to gain non-privileged access and then exploit this bug to gain root... Certainly beyond my capability but it could be done. Multi-vulnerability worms seem to be all the rage these days.

    6. Re:What, no bias? by Anonymous Coward · · Score: 0

      try this for a start:
      format c:
      Okey-dokey.
      Have a nice day.

    7. Re:What, no bias? by Anonymous Coward · · Score: 0

      So he was a bit vulgar in pointing out how wrong and misinformed you were.

      Don't shoot the messenger, even if he is an ass.

    8. Re:What, no bias? by Anonymous Coward · · Score: 0

      Geez, you must feel so proud, NOBODY has EVER pointed this out on slashdot before. You are the absolute FIRST to mention this!!

      Your pet topic here gets mentioned every fucking time a story like this pops up. It's old, it's not interesting in the least, and we've seen it a million times. It's not profound or enlightening, it's just... yawn.

  18. Not a good reason. by jawtheshark · · Score: 2, Interesting
    Admins "starting out" on linux may not know how to upgrade their kernels

    Well, I only "Admin" of a very small network and when I started out with Linux (nearly 2 years ago) I thought: updating a kernel?!? Oh, no! I'm sure I'll never be able to do that!
    Ehm, well, some nice evening, when I had a lot of spare time, I downloaded the latest kernel and only read the README (or was it INSTALL???) and compiled/installed and was running my own custom compiled kernel.
    No, an Admin worthy of the name should at least be able to read the (provided) docs and type at the command line. The Linux-kernel people really made it easy to compile your kernel IMNSHO. Honestly, even an NT-Admin must be able to read the docs otherwhise he woudn't know that, for example, after Windows asks it's original CD you have to re-apply your service-packs. :-)
    I admit, between Linux and Windows the environment changes, but the ability to read the instructions is needed everywhere as an Admin (and dare I say, as a normal user too!)

    Besides, any sane admin has a production and testing environment....so compiling the kernel on prod machines should only be done after extensive testing.

    --
    Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
    1. Re:Not a good reason. by cloudmaster · · Score: 2
      You don't even have to do *that* on most systems. All you do is
      1. install the kernel-source package from your distrib
      2. copy ".config" from the distrib's kernel-source dir (/usr/src/linux-dist or similar) somewhere (like $HOME)
      3. download the new kernel source and unpack it
      4. copy the .config file back into your new kernel source tree (probably /usr/src/linux/
      5. type "make dep; make bzLilo; make modules modules_install" in the new kernel directory

      Viola. :) New kernel with the same options that your distrib's kernel came with - and if your distrib doesn't suck, lilo will have been set up for you too. That seems pretty darned easy to me. Even if you have to change /etc/lilo.conf around a little bit to pick up the new kernel, that's *still* pretty easy, and something that anyone adminning a box important enough to worry about should already know how to do (or should know how to find out how to do).
    2. Re:Not a good reason. by jawtheshark · · Score: 1
      :-)
      Yes, I know that... I know that now , but I didn't when I started out. I read the stuff I needed in the README files, and I didn't take the default .config file of my distro because I use a mini-distribution (Hey, I don't have DSL/Cable) which comes without it.

      Actually I'm glad I did it the "harder" way, because the machine is quite old and I had some hardware that is not by default compiled in most kernels, but you coudn't know that. And why would I need USB support, if I don't have USB...You know, that kind of stuff. It's very interesting to customize a kernel (and the help in make menuconfig is really good).

      Nowadays (for that machine) I have my customized .config I keep around on backup "just in case", and if I want to recompile the latest kernel I just retrieve it.
      My point was not that there isn't an easier way (other comments refer to the automatic binary installs via rpm), there is, but my point was just that it is even easy if you take the "hard way" and read the documentation. No, I'm not one of those RTFM-guys, I'd help anyone compiling his/her kernel if they ask (and are willing to learn).

      --
      Ahhh...the great dumpster continuum. Many a free computer will be found there. -- sowth (748135)
  19. Tell that to university sys admins by Smack · · Score: 1

    Go figure, all those students have local accounts on those big very important boxen. But that's no big deal, right?

    1. Re:Tell that to university sys admins by Mr.+McGibby · · Score: 2, Informative

      Any good University setup doesn't allow regular users login-level accounts on critical servers. Students should have accounts on lab machines, and servers used for remote access, email, etc. but not on the web server, database servers, etc. While you may think that your ability to logon to the the "server" is a great honor, realize that the only use for that server is so people can login remotely to a common machine, the real servers are (or should be) locked up real nice like.

      --
      Mad Software: Rantings on Developing So
    2. Re:Tell that to university sys admins by Chris+Mattern · · Score: 2, Informative

      As it happens, *I'm* a sysadmin for a university.
      If you think students have login accounts on our
      database servers, you are frickin' insane.
      Students get accounts on the academic systems,
      which are set up solely for them to play on.
      They are not let into the administrative systems
      that actually run the school; we keep tight
      control over who gets to log into those.

      Chris Mattern

    3. Re:Tell that to university sys admins by Anonymous Coward · · Score: 0

      Critical servers eh ?
      retard ..
      so they get access to the shell server only, ya, that's going to make alot of admins happy.

    4. Re:Tell that to university sys admins by Mr.+McGibby · · Score: 1

      What the hell are you talking about AC?

      Yes, they should only get access to a shell server. And that shell server should only be serving shells so that if it gets rooted, not much damage can be done.

      --
      Mad Software: Rantings on Developing So
    5. Re:Tell that to university sys admins by Anonymous Coward · · Score: 0

      So you're going to redo a shell box everytime it gets rooted ?
      give me a break lol
      And someone getting peoples shell password is not at all a security concern ?

      A shell box is still a box .. If it gets rooted someone has to fix it, if you are an isp providing shell access claiming its no big deal that it goes down is not acceptable

    6. Re:Tell that to university sys admins by Mr.+McGibby · · Score: 1

      So you're going to redo a shell box everytime it gets rooted ?

      Yes. How long does it really take to make a vanilla box like that? Especially if all it needs to do is have NFS and a standard suite of tools? And if this is happening a lot, you really should be finding out what users are doing it.

      And someone getting peoples shell password is not at all a security concern ?

      What does this have to do with it? Those with access to critical machines shouldn't be using the same password on vulnerable machines anyway. Please improve your English skills so I can understand you.

      A shell box is still a box .. If it gets rooted someone has to fix it, if you are an isp providing shell access claiming its no big deal that it goes down is not acceptable

      True. But since we're talking about universities and not ISPs... Universities have to give their students some access. It's a fact of life. You can do your best to prevent holes, but sometimes you have to weigh good security practices against system usability. A system that no one can use is very secure.

      --
      Mad Software: Rantings on Developing So
    7. Re:Tell that to university sys admins by Anonymous Coward · · Score: 0

      Anyway, point is it isn't a good thing nor is it something that sysadmins should have to live with.
      It causes a hassle, and even if it takes 1 hour to redo a box, that's still time wasted. My point all along is that this is a major security hassle.

    8. Re:Tell that to university sys admins by Score+Whore · · Score: 1
      Those with access to critical machines shouldn't be using the same password on vulnerable machines anyway.


      Blah. People writing kernels shouldn't be including bugs/security problems/etc. But they do, they're called mistakes and people make them. And so do admins. So there.
    9. Re:Tell that to university sys admins by spinlocked · · Score: 1

      Anyway, point is it isn't a good thing nor is it something that sysadmins should have to live with.
      It causes a hassle, and even if it takes 1 hour to redo a box, that's still time wasted. My point all along is that this is a major security hassle.


      If it's a Sun box, you can just jumpstart it. 10 seconds of a sys-admins time;

      stop-A on the console
      boot net - install

      The box will go to it's config and image server(s), install a fresh OS, apply patches and run custom post-install scripts if required. It takes a couple of hours on older versions, but with recent Solaris 8 updates you can install from a flash archive - a bit like a Norton Ghost image (actually it's a fancy name for a .cpio.Z) - of a known good filesystem image, which takes just minutes.

      And yes, I had root access on one of the shell servers at my university (a real dog of a machine), it was a buffer overflow on getopt() with Solaris 2.5.1 as I recall. Of course not being a malicous soul, all I did was type 'id' once or twice and logged back out, but it was fun at the time and I learnt quite a bit about SPARC assembler.

      --
      # init 5
      Connection closed.


      Oh... ...bugger.
  20. well... Duh... by bflong · · Score: 1, Troll

    The mail reads:

    In order for this flaw to be exploitable, /usr/bin/newgrp must be
    setuid root and world-executable. Additionally, newgrp, when run with no
    arguments, should not prompt for password.

    Well, Duh!
    World Exec + Suid == bad
    This is a distribution bug, not a kernel one. You should not have world exec programs set suid, especialy on a system that you expect to be completely secure.

    --
    Why is it so hot? Where am I going? What am I doing in this handbasket?
    1. Re:well... Duh... by Stonehead · · Score: 2

      This is not a distribution bug, but a kernel one. From the article: "In order to exploit this kernel vulnerability, one needs a setuid root binary which execs an user-defined binary (or a shell). Newgrp is appropriate on most distributions." There are other programs that match this description. It doesn't make sense to make only newgrp non-suid and then think that you're safe.
      By the way, does anyone know in what kernel version (-pre,-ac) *exactly* the bug is fixed? I can't find relevant "ptrace" fixes or Rafal Wojtczuk's name anywhere in the changelogs.. I guess I should run the exploit to find out whether I'm vulnerable.. (another good example that full disclosure is useful..)

    2. Re:well... Duh... by BMazurek · · Score: 5, Insightful
      You should not have world exec programs set suid, especialy on a system that you expect to be completely secure.

      'Cause no local user ever needs to run passwd.

      Or df.

      Or ping.

      Or xterm.

      Or rlogin.

      Or su.

      Or top.

      Or traceroute.

      A completely secure machine is a painful thing to work on. Yes, it may be necessary in some circumstances. Banning world executable setuid programs is a securing technique, but it's not the blessed saviour you're making it out to be.

      Parallels a situation many governments are facing right now: How much security do you implement to protect your population while still maintaining some semblance of freedom?

    3. Re:well... Duh... by Fluffy+the+Cat · · Score: 3, Informative

      You should not have world exec programs set suid

      This is plainly not true. Programs like newgrp (and passwd, chsh, chfn, login, ping, su and others) require root privileges but are there to be run by users. The alternative is to either remove huge swathes of functionality or let arbitrary users switch their UID without any sort of authentication, have /etc/passwd world writeable, let normal users construct their own IP packets and so on. Removing functionality in the name of security is not an acceptable option, especially when the functionality is this basic.

    4. Re:well... Duh... by Anonymous Coward · · Score: 0
      ...or X. The server runs setuid.

      It's embarrasing when clueless newbies try to defend Linux. I wish they wouldn't try.

    5. Re:well... Duh... by cgray4 · · Score: 1

      df does not need to be setuid. Nor does top. xterm can be setgid.

      Your point is of course valid, but you should check your facts before you try to make it.

    6. Re:well... Duh... by Zog · · Score: 1, Interesting

      Mod parent down:

      There is absolutely NO REASON for you to have passwd suid-root. NONE. All that would allow you to do is set root's password from a normal user's account. Or, for that matter, anyone's password.

      Ping??? Ummmm.... NO. It can send and recieve packets fine and dandy as an unpriveleged user. Unless you want to ping-flood, which it will only let root do.

      XTERM???? Goodnight, that's most insecure thing I've ever heard! When an xterm starts, it opens up a shell for whatever user it's running as. Even if that means opening up a root shell.

      rlogin was made to be suid-root.

      su was made to be suid-root.

      Top has no need for suid-root.

      Traceroute is kind of nice to have as suid-root, but I'd rather just su to root than open it up.
      Security is your friend. Especially when you have work on your computer. Because as soon as you get hacked (even by a script kiddie), it's pretty standard to mess stuff up.

    7. Re:well... Duh... by BMazurek · · Score: 1

      My apologies. I was examining my FreeBSD system, as I don't have a Linux system available to me.

      I should've preceded my remarks with that caveat.

    8. Re:well... Duh... by BMazurek · · Score: 2, Insightful
      There is absolutely NO REASON for you to have passwd suid-root. NONE

      How about accessing shadow password files? Since you don't want your /etc/passwd (or your shadow password file) writable by your average user, how does a non-suid passwd program work?

      All that would allow you to do is set root's password from a normal user's account.

      Please refer to documentation that explains the difference between real and effective user ids.

      Ping??? Ummmm.... NO. It can send and recieve packets fine and dandy as an unpriveleged user.

      The message to which I was replying made no indication what OS he/she was speaking in reference to. I was examining my FreeBSD, HP-UX and Solaris machines. My point was not Linux-specific (if that is the OS to which you are referring).

      Unless you want to ping-flood, which it will only let root do.

      XTERM???? Goodnight, that's most insecure thing I've ever heard! When an xterm starts, it opens up a shell for whatever user it's running as. Even if that means opening up a root shell.

      Once again, I believe you're confusing real and effective user ids. Furthermore, this (AFAIK) depends on the restrictions the OS places on the access to system resources.

      Top has no need for suid-root.

      Once again, I think this point depends on the OS and the implementation of top, and the permissions on devices such as /dev/mem and /dev/kmem (depending on your OS).

      Security is your friend.
      Finally, something we can agree on.

      As I indicated in my first post, depending on your circumstances removing world executable setuid binaries may be an option. For example, on my firewall. This doesn't necessarily make for the most user-friendly system.

      I look forward to your response...

    9. Re:well... Duh... by Score+Whore · · Score: 1
      Ping??? Ummmm.... NO. It can send and recieve packets fine and dandy as an unpriveleged user. Unless you want to ping-flood, which it will only let root do.


      Umm... Yes. Ping uses ICMP packets via raw sockets. Normal users can't use raw sockets, you gotta be root.
    10. Re:well... Duh... by Fluffy+the+Cat · · Score: 2

      There is absolutely NO REASON for you to have passwd suid-root.

      You have your /etc/passwd rw-rw-rw-? How do you propose passwd is able
      to change the contents of /etc/passwd and /etc/shadow without running as
      root?

      Ping??? Ummmm.... NO. It can send and recieve packets fine and dandy
      as an unpriveleged user.

      How do you propose a user without root privileges gets the kernel to
      generate ICMP messages and send them to arbitrary hosts? Hint: you
      don't. Root privileges are required.

      XTERM???? Goodnight, that's most insecure thing I've ever heard!
      XTerm used to be SUID to be able to add entries to wtmp and utmp
      (perhaps you'd like those to be world writeable as well?) and change the
      ownership of the device node associated with them. Nowadays it's more
      traditional to make it SGID instead.

      When an xterm starts, it opens up a shell for whatever user it's running as.
      When a SUID xterm starts, it makes entries in utmp and wtmp and alters
      the device node permissions. It then executes the shell as the user.
      Feel free to test this.

  21. Linux 2.4.12 conspiracy by Anonymous Coward · · Score: 2, Offtopic

    Warning !
    This is not true !
    Don't upgrade to Linux 2.4.12.
    Linux 2.4.12 is a satanic linux version which will control your mind and your computer.
    You can easily see this on the version number,
    for 2.4.12 means 2+4 . 2*6 = 6 6 6 - THE NUMBER OF THE BEAST.

    DON'T UPGRADE.

    If you scan the kernel sources you will see other satanic messages like "Inode" an anagram for DEOIN the 32. commander of baalzebubs forces, "semaphore" an anagram for SHAPOMER the 6. servant of azmoziel and "kernel threads" an anagram for "LAD SHENK RETER".

    1. Re:Linux 2.4.12 conspiracy by Anonymous Coward · · Score: 0

      Yeah, just like the answer "42".

      6 * 6 + 6.

    2. Re:Linux 2.4.12 conspiracy by Anonymous Coward · · Score: 0

      You're right. Don't upgrade people. Or at least not to 2.4.12.

      Choose 2.9. Choose OpenBSD 2.9.

  22. So, do we get a 2.2.20 from this? by devphil · · Score: 4, Interesting


    Or do I need to deploy these patches myself? What's the policy for ass-nasty bugs in superstable kernels which have already reached their official end-of-development?

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:So, do we get a 2.2.20 from this? by kisak · · Score: 2, Informative

      I am sure Alan Cox will deliver a 2.2.20 soon, as he is still in charge of maintaining the 2.2.* kernel series. I saw a while ago an 2.2.19-ac*, but Alan has not been in a hurry to reach 2.2.20. But now, he definitely will be.

      --

      --- guns don't kill people, people with guns kill people ---

  23. Why this is(n't) funny by TheMMaster · · Score: 3, Flamebait

    To all the people that feel really good about this because they are sick of microsoft being attacked about this: Good for you, you deserve it, enjoy because it won't happen again this year ;-)

    Now to all the linux zealots here: To make sure that this doesn't become a problem we NEED to patch EVERY machine we can find and tell EVERYONE that has a linux box to patch it, why? because NOW it's funny, there isn't a worm out with a remote exploit of GPM that triggers an error Identd to give away your "Games" password so you can log on and become root ;-)

    but we must make sure that this disappears ASAP or else this sure as hell won't be funny anymore. PLEASE make sure that we won't get staroffice macro virusses, sircam 4 linux etc... THAT we will be the laughing stock of the entire software world... I'll bet that microsoft competetion management (r) is already producing FUD on this....

    --
    Fighting for peace is like fucking for virginity
    1. Re:Why this is(n't) funny by shanek · · Score: 2

      Could you even make a worm to exploit this? My understanding is that the exploit requires you to be connected already as a nonprivileged user.

    2. Re:Why this is(n't) funny by TheMMaster · · Score: 2

      I have no idea, it was just an example. The problem is that we DON'T know what might happen if we leave this unpatched, my point was that it is possible and that we shouldn't wait for something to happen because we can't afford to.
      Code Red was based on an exploit discovered almost six months before it came out... that was the point I was trying to make...
      According to the rating I guess that I wasn't quite clear on this....

      --
      Fighting for peace is like fucking for virginity
    3. Re:Why this is(n't) funny by Anonymous Coward · · Score: 0

      Imagine a worm that connected as that nonpriviliged user, then used the exploit to gain root access. The worms these days tend to be multi-enabled in their attack modes.

  24. More info on the matter. by pheared · · Score: 3, Informative

    In case many of you don't subscribe to bugtraq, there was a follow-up posted to the original advisory. I have replicated it here for your convenience. It raises an important issue, suggesting that kernels up to 2.4.12 may be affected as well. I don't claim to know, just forwarding the facts. Note that, he is using a patched kernel which could introduce any number of flaws, but I'm willing to give him the benefit of the doubt.

    Original Message:

    From: Demitrious Kelly
    To: bugtraq@securityfocus.com
    Subject: RE: Flaws in recent Linux kernels

    The description of the second problem is accurate, but I don't think the
    assessment of the kernels which can or cannot be affected by this exploit
    is... I'm using a newly compiled kernel Linux 2.4.12-grsec-1.8.3.

    ( Linux 2.4.12 with the Grsecurity Patch
    http://www.grsecurity.net/features.htm )

    # /* begin shell session */
    [12:52:11][apokalyptik@home:~]: ./epcs_ptrace_attach_exploit
    bug exploited successfully.
    enjoy!
    sh-2.05$
    # /* end shell session */

    1. Re:More info on the matter. by Rotten · · Score: 2, Informative

      Did not worked on a std 2.4.3 (linus, not ac).

      Maybe I'm kinda stupid but running the exploit did nothing, even changing the sample code to be more 'expresive'....

    2. Re:More info on the matter. by Anonymous Coward · · Score: 1, Interesting

      I've already mailed this person about it and showed them that 2.4.12 with grsecurity is NOT vulnerable. he should have pasted the id output after the "exploit" which shows it did not work. In addition, the exploit that he was using was the old one for 2.2. I've tested the new ptrace exploit on a 2.4.12 and grsecurity machine and it did not work either. Here's the output:
      [spender@new spender]$ ./ptrace
      attached
      exec ./insert_shellcode 5158
      07740: find library=libc.so.6; searching
      07740: search cache=/etc/ld.so.cache
      07740: trying file=/lib/i686/libc.so.6
      07740:
      07740:
      07740: calling init: /lib/i686/libc.so.6
      07740:
      07740:
      07740: initialize program: grep
      07740:
      07740:
      07740: transferring control: grep
      07740:
      07740:
      07740: calling fini: /lib/i686/libc.so.6
      07740:
      [spender@new spender]$ id
      uid=502(spender) gid=502(spender) groups=502(spender)

      Slashdot should remove the false information from the site...

      -Brad

  25. Ha by Anonymous Coward · · Score: 0, Insightful

    Where are all the pompous Linux snobs in this thread as there are in the MS DRM thread? What hypocrites.

  26. Re:sucks to be a guy named Torvalds right now... by mattdm · · Score: 3, Informative

    Huh. Lookit that. The "boys at Red Hat" put out an update before this story even appeared on Slashdot.

    And I think you're seriously underestimating Mr. Torvalds.

  27. Mac OS has never been exploited over a network by Anonymous Coward · · Score: 2, Offtopic

    The MacOS according to bugtraq has never had a single exploit over a network.

    Running Webstar on MAc OS 9.2 or older, any versions, is the safest most secure platform.

    Instead of a backdoor every month or two like competing OS's, it has never had a discoverred exploit, or been hacked.

    It is because the mac has no command line, no paths, no concept of root (all code is root, except micro kernel), no way to exec code from data files based on file name or file suffix, no way to corrupt stack easily (call chain different than intel), no way to creat buffer overruns from strings because most ac people and the ROMS, and OS, use length delimited pascal style strings instead of null terminated.

    There are many more secure things dealing with CGI, alias paths, etc.

    But in summary, the US ARmy uses MAc web servers and most experts agree, that the most secure server, if price is not an issue, is a mac from a local store and Webstar.

    1. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      Great , as long as you can put up with lousy
      throughput and the OS crashing every day.

    2. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      I have uptimes of 6 months to 9 months and only shut down for maintenance! I never heard of a mac crashing running as a server.

      I will admit that system 7.6 and 7.5.5 were the last two stable MAc OS releases, years ago, but I run 9.0 on my servers now and do not suffer from crashes.

      You are trying to spread FUD. Mac OS is a multi million dollar os designed originally be the industries brightest. They tried to actively avoid all the weaknesses of UNIX.

      Its sad that apple wants a unix OS now, but its great irony that no mac devleoper will touch Mac OS X. It has as of now only a tiny handful of shrinkwrapped apps of comemrcial grade for it. Probably less than 120 total. I looked last month.

      That a number far higher than linux, but then again linux does not "shrinkwrap" software often according to the linux catalogs I read.

    3. Re:Mac OS has never been exploited over a network by pheared · · Score: 1

      I fail to see how this is relevant, especially since we aren't speaking of a remote exploit for the Linux kernel. In fact, remote exploits for the kernel itself don't come by that often. It's more for the userland programs that people write and leave open for the world. I don't have any evidence/research on it but I wonder what the track record of userland programs that run under MacOS that listen on ports is.

    4. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      Yeah , a multi million dollar OS that never
      discovered pre-emptive multitasking until OS-X.
      An OS that has no command line so can't have any
      form of remote adminstration unless its via some
      bandwith sucking GUI app. Fantastic.
      An OS that can only run on overpriced hardware.
      And guess what , thats a unix varient. I've used
      MacOS 8 and 9 and they both sucked as far as uptimes went. Maybe you just got lucky. After all
      some people have never had NT crash on them.
      Unix has some weaknesses but MacOS has a damn
      sight more. I'd like to see a dinky little Mac
      running a transaction processing system dealing
      with transactions for literally millions of user accounts a *day* for a major bank and *still* have an uptime of 3 years which is what our
      HP-UX systems manage.

    5. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      - Mac OS has no protected memory
      - Mac OS has cooperative multitasking.

      These are horrible, horrible things if you're using the computer.

      *but* if you're only using the computer to run one app (the web server) none of these things are problems.

      So, basically, if you let a mac be the dedicated web server, it's bulletproof. If you try to sit and use at the computer, you'll go down every two hours.

      Mac OS X, meanwhile, has had a couple remote root exploits discovered to date.

    6. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      Why would someone attack a system that nearly noone else uses? You can argue a LOT over whether apache or IIS has a larger share of the web server market, but there is NO debate about whether Mac OS has ANY share of the server market. It is effectively zero. You might as well claim that Amiga OS has no remotely exploitable bugs and thats why www.pornogods.cx uses it, or some such.

    7. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      That's only because so few people use Mac's. I bet teh same could be said about BeOS or Geos for the same reason. :)

    8. Re:Mac OS has never been exploited over a network by CyberKnet · · Score: 2

      Odd. What's this? Hrmmm. I thought it was an exploit over a network... and I thought it was on bugtraq too. I guess I must be wrong...

      --
      Video meliora proboque deteriora sequor - Ovidius
    9. Re:Mac OS has never been exploited over a network by Peaker · · Score: 2

      The MacOS according to bugtraq has never had a single exploit over a network.

      Yes it has, according to some different posts here. In any case, a server with 0 market share will probably not attract many exploit-writers.

      Running Webstar on MAc OS 9.2 or older, any versions, is the safest most secure platform.

      It may be safe and secure exploit-wise, if there really are no exploits, but is the false sense of security worth moving to a distant OS with few advantages and a large amount of disadvantages? I say false sense of security, because different less-used code is just as exploitable, the only difference is the motive.

      Instead of a backdoor every month or two like competing OS's, it has never had a discoverred exploit, or been hacked.
      Actually, OpenBSD doesn't have a backdoor every month or two.

      It is because the mac has no command line, no paths, no concept of root (all code is root, except micro kernel)

      That's quite a contradiction.
      all code is root is probably the worst security set up one could conceive, and as far from the principle of least privelege as possible.

      no way to exec code from data files based on file name or file suffix

      As if this is the problem with Windows security :P

      no way to corrupt stack easily (call chain different than intel)

      That's a system platform issue, not an OS issue. Linux can run on the same stack.

      no way to creat buffer overruns from strings because most ac people and the ROMS, and OS, use length delimited pascal style strings instead of null terminated.

      That doesn't resolve the problem at all. In fact, probably most buffer-overruns do NOT result from null-terminated string usage.

      There are many more secure things dealing with CGI, alias paths, etc.

      You're confusing different with secure. Different software will have different types of exploits, unless it is truly secure. Last time I checked, Macs were not an orthogonal persistent pure capability system, so they're not really secure.

      But in summary, the US ARmy uses MAc web servers and most experts agree, that the most secure server, if price is not an issue, is a mac from a local store and Webstar.

      Just like a lot of people use Slackware with their own compilations and compilation flags, so their software is different. Its not security, its a difference. It means exploting it takes some specific work, rather than exploits for the masses, that's all.

    10. Re:Mac OS has never been exploited over a network by EvilStein · · Score: 1

      You are wrong, actually.
      That has to do with OS X. The original post was about MacOS 9.2.

    11. Re:Mac OS has never been exploited over a network by Anonymous Coward · · Score: 0

      The MacOS according to bugtraq has never had a single exploit over a network

      BugTraq is incomplete. Some true believers ran a hack-a-mac contest to prove their point, and the machine was hacked due to administrator error.

      But in summary, the US ARmy uses MAc web servers and most experts agree, that the most secure server, if price is not an issue, is a mac from a local store and Webstar

      Untrue, there are MS-DOS based web servers that are just as secure and MS-DOS capable hardware is far less expensive.

    12. Re:Mac OS has never been exploited over a network by CyberKnet · · Score: 2
      Oh, really?
      The MacOS according to bugtraq has never had a single exploit over a network.
      MacOS 9.2 came into the picture after this statement. It was a blanket statement that was wrong.
      Admittedly the bug was found quite recently, but I would expect that if a person adds "according to bugtraq" that they would at least do a little research on bugtraq.

      Read before you post. Preferrably comprehend too...

      --
      Video meliora proboque deteriora sequor - Ovidius
  28. I may be wrong but... by Kailden · · Score: 4, Insightful

    Somewhere deep inside the comments on both sides that start comparing linux to microsoft are missing the fact that most linux users are on average more technically savvy, expecially if they are connected to the big old net. So obviously, when linux announces a security hole a majority of users who are attached to the web get concerned and go out immediately and update thier system.

    But when companies and home users are running a COTS that they prolly didn't even install and don't even no what say IIS is, they don't get real concerned about updating thier systems.

    For an example, look at Code Red Infections that occured after the security hole had been announced.

    --
    I need a TiVo for my car. Pause live traffic now.
  29. will a preemptible kernel solve the dos problem? by flok · · Score: 1

    The subject says it; if the kernel gets preemptible (difficult word), wouldn't that solve the dos-problem more or less? (the one with the enormous symlinks) Since the problem seems to be that the scheduler isn't executed for a while which should be solved when things are preemtible.

    --

    www.vanheusden.com - home of Multitail, HTTPing, CoffeeSaint, EntropyBroker, rsstail, bsod, listener, nagcon, nagi
  30. But that's the best part ! by Anonymous Coward · · Score: 0

    So what ?

    I always felt that the best part about Linux is when you get to become root (esp. by mistake ;-))


    --
    Do not try and read this signature..
    That's impossible.
    Instead, Only try to realize the truth..
    There is no signature.

  31. What is a Good Mailing List for this Info? by ras_b · · Score: 1

    Even though Microsoft has a new security hole every week, they have a security bulletin mailing list which lets subscribers know quickly of security issues (of course recently my inbox has been stuffed with them). Can someone recommend a good mailing list for linux issues? I am using mostly RedHat boxes, but they don't seem to have any free mailing list that I can find (perhaps they have one i don't know about).

    1. Re:What is a Good Mailing List for this Info? by teg · · Score: 5, Insightful

      Can someone recommend a good mailing list for linux issues? I am using mostly RedHat boxes, but they don't seem to have any free mailing list that I can find (perhaps they have one i don't know about).

      Go to our mailing list server, and sign up for redhat-watch-list.

    2. Re:What is a Good Mailing List for this Info? by ras_b · · Score: 1

      great! thank you very much. after you referred me to that page, i was able to find it through your website also, but it was not in an obvious place (at least to me). I first had to look at list archives, then there is the link at the upper right "manage subscriptions". and a search for "mailing list" brought up some "Insight" mailing list as the first result.

      of course, further down the search results was the list archives page. i just didn't look hard enough, but since it seems like an important list i expected it to be in a more conspicuous place (like with the errata pages). Thanks again.

    3. Re:What is a Good Mailing List for this Info? by fractalus · · Score: 1

      Red Hat Watch is a good list for being notified of patches. BugTraq is great if you want to know about the holes as they're discovered, which may be before the patch is announced.

      --
      People are never as simple as their stereotypes. This applies equally to Christians, Muslims, and Emacs-lovers.
  32. Newsflash (in an alternate universe) by Dimensio · · Score: 1, Troll

    Linus Torvalds, creator of the Linux operating system, commented today on the newly discovered root-exploit present in the operating system since version 2.2.0 of the software imploring bug tracker teams not to release such information to the public.

    "Security companies have a responsibility to protect the public", said a visibly upset Linux, "and releasing information such as this practically gives out blueprints for weapons to attack private systems." He went on to say that "System administrators shouldn't have to worry about whether or not their box could be rooted out from an end user's explot script or even a third party exploiting a hole in a remote service." He called the notion of letting people know about potential vulnerabilities, "Wholly irresponsible" and referred to the demonstration of example scripts for exposing and exploiting such vulnerabilities "dangerous and destructive."

    Linus finally called upon security companies to "excercise self-restraint" on issues of security flaws.
    "We're working with Microsoft", he stated, "to help develop an industry-wide standard. We will keep our systems secure, even if we have to classify every insecurity and vulnerability as copyrighted material and prosecute reporters under the DMCA to do it."

    1. Re:Newsflash (in an alternate universe) by jasonzzz · · Score: 1

      Don't get the humour in it (if it was)... The "well known" article paints a story of M$'s stupidity and being so disconnected with their customers...

  33. Someone Read the Bugtraq report please.... by Anonymous Coward · · Score: 1, Informative

    If you read the report, you'd know that someone must be logged into your machine in order to use the exploit. Secondly, you'll notice that
    "In order for this flaw to be exploitable, /usr/bin/newgrp must be setuid root and world-executable. Additionally, newgrp, when run with no arguments, should not prompt for password." Maybe it's time we looked at how newgrp is set up. Secondly, by default in my distros, this is not the case. Go ahead. Try typing newgrp as a normal and see if it works. Now, if that's not the case, a simple chmod of newgrp will fix you right up (very few systems i suspect require newgrp be used from the point of a local user.)

    1. Re:Someone Read the Bugtraq report please.... by Anonymous Coward · · Score: 0

      You can use any command that's suid, not just newgrp. Also if you read the fucking man page, you'll understand when it prompts for a password.

  34. Why not try the following! by Kamel+Jockey · · Score: 1, Informative

    Geez... I suppose if you make the useradd (or adduser) command world executable, make your shadow password list world readable, and then make a guest account on your system open to the public, then you too can have an insecure system!

    The point is, at least for the second exploit mentioned in the mail, that unless a admin has set world-executable permissions on files to which only root should have such access, then this problem shouldn't exist. As others have said, its not like some random person out there can do all this stuff remotely to your box!

    --
    In case of fire, do not use elevator. Use water!
    1. Re:Why not try the following! by Fluffy+the+Cat · · Score: 2

      The above is not informative. newgrp does not add new groups - it allows a user to switch their current group, asking for a password if necessary. It is explicitly designed for users to run, but also requires root privileges. In other words, of course it's SUID and executable by all, you idiots. That's the entire point. People will be calling for passwd to be non-SUID at this rate...

      (Of course, this becomes less of a problem once capabilities are present at the filesystem level and we can explicitly launch applications with certain capabilities rather than launch them as root and then drop any they don't need)

    2. Re:Why not try the following! by Kamel+Jockey · · Score: 1

      The above is not informative. newgrp does not add new groups - it allows a user to switch their current group, asking for a password if necessary. It is explicitly designed for users to run, but also requires root privileges.

      That may be the point of the command, but isn't allowing non-root users to manage anything related to security still playing with fire?

      --
      In case of fire, do not use elevator. Use water!
  35. Complain by Anonymous Coward · · Score: 0

    And we complain the MS Windows has serve problems....

    1. Re:Complain by rmgrotkierii · · Score: 0

      Like it has been said before in this thread, there is a difference between a local exploit (which this is) and a remote exploit. Microsoft Windows are very susceptible to remote exploits. While, on the whole, UN*X aren't, unless you don't patch software. And to be frank, while local exploits are bad, remote exploits are even more so, because they can install a backdoor on your boxen without you knowing. Lets see and wait see how many local exploits Windows XP will have. (=

      --
      Reality is for those who can't face Science Fiction.
  36. Re:sucks to be a guy named Torvalds right now... by teg · · Score: 4, Informative

    Oh well, looks like the boys at RedHat are gonna be putting in some overtime this weekend.

    We released updated kernels yesterday:



  37. Re:sucks to be a guy named Torvalds right now... by Anonymous Coward · · Score: 0

    And does he know the co-ordinates of a certain campus in Redmond?

  38. Thank goodness.. by Anonymous Coward · · Score: 2, Funny

    And here i am trying to remember my password for root..

  39. local DoS is no big deal, is it? by godot73 · · Score: 1
    A little script like
    #!/bin/bash
    ping localhost &
    ping localhost &
    ping localhost &
    ping localhost &
    . $0 &
    . $0 &
    . $0 &
    . $0 &
    will deny service after a few iterations on most machines, no?
    1. Re:local DoS is no big deal, is it? by szo · · Score: 3, Funny

      If you have stupid and malicious users, ulimit is your friend. And process accounting. And a baseball bat.

      Szo

      --
      Red Leader Standing By!
    2. Re:local DoS is no big deal, is it? by ENOENT · · Score: 3, Funny

      And a baseball bat.


      Shh! Not so loud! My boss still thinks that a LART is a sophisticated piece of network analysis hardware. I never told him that the bills we get for replacing broken LARTs come from the Louisville Slugger Company.

      --
      That's "Mr. Soulless Automaton" to you, Bub.
  40. local exploit is still VERY dangerous by LordKronos · · Score: 1

    I have heard people over and over again saying "this is ONLY a local exploit". This sound like they are trying to justify why they can b#@*h and moan about how insecure Windows/IIS is without admiting that Linux has its far share of dangerous vulnerabilities.

    The fact that it is "only" a local exploit does not make it much safer. The fact is, it has been shown time and again that a large percentage of computer misuse/abuse comes from within a corporation (its own employees). Furthermore, the most damaging abuse is almost always an inside job. Clearly, these people would already have local access. And even so, what if one employee with remote access capabilities (dial-in, telnet, etc) happens to have a weak password? Can they not potentially get into the system and then take advantage of this exploit?

    1. Re:local exploit is still VERY dangerous by gmack · · Score: 1

      Yengerous yes .. but not nearly as dangerous as a remote exploit.

      Where I work most of the worry is the almost constant script kiddy scans from outside the network. And everyone with remote access has financial reason for the server to keep working.

      Having said that I have 20 servers to upgrade.

    2. Re:local exploit is still VERY dangerous by Anonymous Coward · · Score: 0

      Bullshit. How many BILLIONS of dollars did the latest IIS remote exploit cost the world? Last I heard it was about 30 billion. Now lets see some numbers on the costs of Linux local exploits.

  41. Which Is Right? by Flagbrew · · Score: 1

    There are two bugs present in Linux kernels 2.2.x, x&#060=19 and 2.4.y, y&#060=9

    The above quote from the email, would suggest that those folks running the 2.4.10 kernel would be immune to the specific bugs. However, the article referenced seems to point to later releases being affected. Does anyone know which to trust? I would think the bugtraq correspondence a little more trustworthy in this situation.

    1. Re:Which Is Right? by Anonymous Coward · · Score: 0

      The exploit didn't work on the four boxen I admin. 2 redhat 6.2 (w/2.2.19 dpt-raid patches), and 3 debian (various kernel) boxen.

      I'd like to know 'how' to get this exploit to work.

      b

  42. NT Terminal server by Otis_INF · · Score: 2
    If you want to compare to Windows: up till Windows XP it wasn't even possible to be logged in as multiple users at the same time, so the equivalent of a local root exploit was not really possible.

    Errr? Terminal server? Telnet? Stuff available since NT4. Which is already phased out. Bashing is fine, as long as it is done by the facts, not by made up poop.

    --
    Never underestimate the relief of true separation of Religion and State.
  43. it still isn't possible by QuantumG · · Score: 2
    From here:

    In the Log On to Windows dialog box, type your user name, password, and domain (if required), and then click OK. The Remote Desktop window will open and you will see the desktop settings, files, and programs that are on your office computer. Your office computer will remain locked. Nobody will be able to work at your office computer without a password, nor will anyone see the work you are doing on your office computer remotely.

    What WinXP are you talking about?

    --
    How we know is more important than what we know.
    1. Re:it still isn't possible by wo1verin3 · · Score: 1

      The previous posted was reffering to he ability in WindowsXP called "multiple user switching". It will allow ADMIN A to login, run MS Word and FTP and start downloading a file, and choose to "switch user"

      This will bring the machine back to the login screen so USER B can login. ADMIN A's processes continue to run, but, but USER B can't see the processes of ADMIN A.

      Only admin users can see/stop processes being run by another user, although yes they could still reboot the machine.

    2. Re:it still isn't possible by Mad+Marlin · · Score: 1
      Only admin users can see/stop processes being run by another user, although yes they could still reboot the machine.

      That is actually one of the things I never liked about UNIX from a security standpoint. Why can I see other people's processes with ps and top? I should not have the permission to do so unless I am root, or if that user allows it, just like with files. Does anybody know an easy option to change for this, or is this something that needs to be worked on?

    3. Re:it still isn't possible by kilrogg · · Score: 1
      Why can I see other people's processes with ps and top?

      In a normal environment (think at work/school), that's a very usefull "feature". If someone has a process go wild and consume lots of cpu resource, I can call/email/yell_at him or her directly and ask them to kill the offending process. Admins are busy people, I don't want to bother them with this kind of trivial stuff. Besides, seeing that someone is running three instances of tcsh, one instance of emacs and netscape is hardly a security risk.

      The question about XP that I'm wondering, is can a user's proccess run while someone else is logged in (think about a non-gui process that's doing something like a simulation or compilation, or what about a gui process like icq) or do they go into some kind of hibernation state? The way i've heard it described, it sounds like the latter.

    4. Re:it still isn't possible by Anonymous Coward · · Score: 0

      Winamp runs successfully in another user's log-on while I work elsewhere ...

  44. Hardly..... by SomeoneGotMyNick · · Score: 2

    I understand that you may have intended your post to be funny. I can't mod it up as so, but I still want to say my piece just in case you were actually serious.

    The ratio of M$ insecurities to Linux insecurities is still quite high. I still stand by the fact that "Microsoft-is-insecure".

    This insecurity appears to have been discovered before it was largely exploited. Unlike M$ insecurities which are exploited and systems compromised before M$ figures out that the exploit even existed.

    Once again, the open source peer review system works as it should.

    1. Re:Hardly..... by Anonymous Coward · · Score: 0

      That is complete BS. First the ratio of insecurites doesn't mean squat. If a system has a hole it has a hole. Does it really matter if it has 2 or more holes? No! Because one is all you need. From there you can create how ever many damn holes you want.

      Secondly your claim that most MS exploits are discovered before MS knows about them and patches them is crap. Just because Code Red and Nimda infected many machines doesn't mean there wasn't a patch before they were released. It just means that people didn't bother to install them.

      If a security company or individual does find a hole in MS software the patch is usually released within days if not hours. Take your linux hugging crap and get out of my face!

    2. Re:Hardly..... by tshak · · Score: 5, Informative

      Name one exploit of late that was compromised (read: actual cases, not NTBUGTRAQ "COULD HAPPEN" reports) before M$ released a patch. Most all exploits occurred on unpatched machines when the PATCHES WHERE AVAILABLE well before the script kiddies got ahold of the exploit.

      Now, don't get me wrong, some of these holes should be an embarassment to the respective development teams. Hopefully with XP and in the future Microsoft will step up on security issues from a software design level. However, from a response level, they are doing an incredible job.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    3. Re:Hardly..... by BJH · · Score: 1

      Um, it should probably be noted that both the vulnerabilities described in the bugtraq posting are *local* holes only... which means no remote root.

    4. Re:Hardly..... by Jace+of+Fuse! · · Score: 2

      Once again, the open source peer review system works as it should.

      Yup. And now that most boxes will probably go unpatched - there will be thousands of systems for which the exploits work exactly as they should as well!

      Oh yeah, SURE, --YOU-- might have already applied the patch, but anybody reading Slashdot is part of a vastly outnumbered minority.

      Luckily this isn't remotely exploitable... (...but then again...)

      Still. I have these little rules...

      Any bug in software is there forever.
      Patches only fix systems that get patched.
      Assume your software is dangerous; I keeps you aware and it's probably true.

      --

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

      Moderation Totals: Wrong=2, Stupid=3, Total=5.
    5. Re:Hardly..... by StarTux · · Score: 1

      MSFT will not admit to any potential problem until they have a fix ready, which is bad as someone will get to know before the admins find out. Also, it makes MSFT look good, "heres a problem, here's a patch". Instead of, "heres a problem, patch within 3 months".

      Script kiddies aren't really to be as feared as much as that guy who knows his protocols and systems so well as to be able to figure out new ways into a system and to own it, then go onto the next machine...

      StarTux

    6. Re:Hardly..... by randomgeek · · Score: 1

      Look at the date on the message on securityfocus, it was reported a month ago, and is JUST NOW being publically announced. It's standard practice, and considered the right thing to do, to wait until vendors have a patch before releasing information.

    7. Re:Hardly..... by SpeelingChekka · · Score: 2

      "Hopefully with XP and in the future Microsoft will step up on security issues from a software design level"

      You know, replace "XP" in that statement with "[latest MS OS]" and you get something people have been saying for close to ten years now (right up there alongside "hopefully the next version of Windows will be stable". Ten years. I remember people saying it when Win95 came out. And when Win98 came out. And when WinMe came out. How patient should consumers be??!? Is it OK to wait ten years for "the basics" like stability and security? There comes a time when people need to stop saying "hopefully the next version...", realise the pattern, and just give up on the company. Microsoft has had a LONG time now to "prove themselves", and they still haven't. The fact that people have been saying that for so long and not given up on the product is evidence of a distinct lack of alternatives.

  45. "Only a local root" by petrov · · Score: 3, Insightful

    I'm seeing a lot of comments like "This is only a local root exploit", or michael's "Important for anyone running a multi-user system."

    That's crap. This is a big deal. Don't try and downplay this. If you leave this unpatched, it turns every remote login hole into a remote root hole. There's plenty of code running remotely: mail, cgi, etc. Good security isn't foolproof. Good security is defense in depth. That means that you are patched against remote holes, and patched against local holes, so that escalation of privileges is difficult.

    --sam

    --
    --sam
    Any technology distinguishable from magic is insufficiently advanced.
    1. Re:"Only a local root" by Peaker · · Score: 2

      No! Good security is fail-closed security: Thus good security is a pure capability system.
      In *nix (and Windows, ofcourse), there are millions of requests one can request, and a bug in any of each will open security holes.
      In pure capability systems, the only requests you can express, are the ones you are authorized to perform.
      This means that security is a lot more fail-closed, because bugs do not escalate your authorization, except for specific capability-handing logic bugs.
      This narrows down the amount of code that can damage security by orders of magnitude, and simplifies the system a lot. No longer will race conditions, ACL test failures, buffer overflows, or other cryptic bugs grant authorization escalation. Now it would have to be high-level capability-granting logic bugs. In a much smaller, well-debugged system, of a fixed-code-size (rather than the ever-larging *nix trusted codebase).

    2. Re:"Only a local root" by Anonymous Coward · · Score: 0

      Linus and Alan want to migrate to EROS or a system like it one day.

  46. It's been an off week for open source. by dave-fu · · Score: 3, Interesting

    Mac OSX also got a remote root exploit of its own.
    I don't know whether it's ironic or not that the introduction of open source software led to the first Mac-based remote exploit that I can remember in a long, long time. I'm leaning against it as code's still made by humans and humans still make mistakes. You'd be well-advised to remember this and temper your flames against Any OS That Isn't Mine next time.

    --
    Easy does it!
    This comment has been submitted already, 276865 hours , 59 minutes ago. No need to try again.
    1. Re:It's been an off week for open source. by Anonymous Coward · · Score: 0

      Actually there is a new exploit for local users to gain root access on Mac OS X with very little effort. It comes from a bug with the Aqua interface.

      1) Log into an OS X box.
      2) Launch Terminal Application
      (notice the current user)
      3) Now Quit
      4) Launch Disk Utililty or NetInfo Manager
      5) Now while in Disk Utility or Netinfo Manager, go to the Recent Applications in the Apple Menu and select Terminal Application.
      6) Take notice the current user when you bring up a new terminal. (It is root)

      The problem lies in that Several applications
      (Usually administrative) are always launch as the root user so that it can modify system settings. Although this would usually not be a bad thing, the recent applications menu seems to retain the user privileges of the frontmost application. So when you launch Terminal Application (or any other) while you are in Netinfo Manager, no matter what user you are, you instantly have root access.

      This is a known bug and Apple is currently working on a fix. This is however not an opensource issue, but rather an issue with Apple's Aqua interface. Though I love my mac, I am disturbed that Apple has let a security flaw this seveare slip through the cracks.

    2. Re:It's been an off week for open source. by Anonymous Coward · · Score: 0

      Mac OS X is not an open source operating system. Darwin is, though.

    3. Re:It's been an off week for open source. by Peaker · · Score: 2

      This is so typical to ACL systems.
      It is explained well in "The Confused Deputy" article.
      Mac/Win/*nix security systems are truly a failure.

  47. Not quite by radish · · Score: 4, Informative


    NT boxes have different types of user. Sure, only one can be logged in at once, but an exploit which allowed a normal user to gain Administrator privilidges is _exactly_ the same as a local root exploit. And yes, these have existed in the past, and probably still do.

    --

    ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    1. Re:Not quite by maunleon · · Score: 1

      I guess noone has used Terminal Services which do allow multiple people to be logged in at the same time.

      With Win2K, it even comes in the CD.

  48. find / -perm -4000 by Anonymous Coward · · Score: 0


    It's not that hard, people :)

  49. Local, Remote....UPDATE! by Quazion · · Score: 1

    First its A Local Exploit which makes it harder to start exploiting right away, so we wont see a worm to make use of this until there is some major Remote Exploit. The Patch is already out there, just recompile your kernel and if you dont then your a retarted system admin ( or whatever they said about it ), Keep your Systems update or dont whine about security.

    I haven't read the story/mails cause i cant seem to reach them from my computer here, but i just had to repond to the its a local and the its local and just as bad as remote...

    Any exploit is bad until you fix it, UPDATE!
    and if you think like i do that the information
    on your computer systems doesnt really matter to you anyways dont whine afterwards when you loose it!

    One more thing, if you dont Update your system regulary then most rootkits will find a way to become root even without the New Kernel Root Exploit, and i think most systems arent updated anyways so this wont change the Linux World in a couple of hours.

    Quazion.

  50. Interim Fix? by BadBlood · · Score: 2

    I am currently running 2.2.18 out of necessity (VPN patch that's not available for 2.2.19). From the article it would seem that until patches are available for your kernel, you can remove the suid (chmod -s) from the newgrp binary. Granted, you won't be able to add any new groups, but I think it would temporarily remove the exploit. Am I correct here?

    --


    Praying for the end of your wide-awake nightmare.
    1. Re:Interim Fix? by sshore · · Score: 2, Informative
      From the article it would seem that until patches are available for your kernel, you can remove the suid (chmod -s) from the newgrp binary.

      It's actually a kernel bug, and I'm told that any suid binary can be a vector. The temporary fix is to chmod -s all suid binaries on the system until it can be properly fixed.

    2. Re:Interim Fix? by Sircus · · Score: 2, Informative

      Only on the assumption that this is your only world-executable suid binary. If you've any others, they're also vulnerable. To check:

      cd /
      find . -perm -4001 -uid 0

      (this isn't quite complete - if you had a file which was suid root, owned by a non-root group and group-executable, that would also be vulnerable)

      --
      PenguiNet: the (shareware) Windows SSH client
    3. Re:Interim Fix? by Hawke · · Score: 1
      Interm fixes
      1. Remove world-exec from the newgrp binary. BTW, newgrp is not for adding new groups, it's for changing the current "default" group.
      2. echo "4294443007" >> /proc/sys/kernel/cap-bound
        (bit 19 is "CAP_SYS_PTRACE", 429444307 = 0xFFFFFFFF - (1<<19) )
      3. Others?

    4. Re:Interim Fix? by Gleep · · Score: 1

      that could cause some serious problems for you if you ever want to log in on the console again...
      i had a rh6.2 box way back when and i did just that and could never login to the console afterwards. instead of trying to rechmod the necessary files, i left it like that until i could upgrade it to 7.1

      --
      get your dirty sig off me, you filthy APE!
    5. Re:Interim Fix? by jooniqzb1tch · · Score: 1

      except other suid files might be exploited, and newgrp doesn't add any groups, it allows you to run stuff under anoter GID.

  51. 2.4.12-aa1, or even better 2.4.12-pre3aa1 by On+Lawn · · Score: 5, Interesting

    Hmmm, according to the LWN that you linked to, aa patches have the best performance.

    For those that don't know aa stands for Andrea Archelangi who one of the very importent kernel hackers. It was a large part of his effort that stabalized the 2.2 VM. Although it is debated on which VM is better, over 90% of the benchmarks I've seen have pointed to AA being the better choice.

    AC even mentioned that the AA-VM was the right way to go, just too wild of a change for a stable kernel series. There is too much conspiracy theory going on that AC is hijacking the kernel for RedHat, or that the RedHat crew has a not-invented-here phobia for not including the better VM.
    Now on to a more editorial comment.

    There seems to be quite a war on this right now, but I think it will settle down in about 6 months or so like the ReiserFS wars have. I also think that we'll see a new order established in the stabalizing of kernels.

    I have no political say, but I expect that Linus will run a kernel that will be considered the "experimental, quicker evolving" kernel where things change violently. AC and others job will may to pull out pieces to salvage a semblance of stability, essentialy forking the stable branches from Linus's more exotic cutting edge kernel.

    This seems to be how things run in any case when there is a developmental kernel, and they run pretty well. The question that may be asked is "Does Linus need to slow down his effort to stabalize at all?" Its arguably true that the answer is "yes", but only to a degree that suits his own needs for order in his life-long persuit of the sexy kernel.

    Linus himself mentioned that AC does a better job of it, maybe its time to give him the whole forking-a-stable-kernel job.

    1. Re:2.4.12-aa1, or even better 2.4.12-pre3aa1 by Defiler · · Score: 1

      From what I've seen on LKML, 2.4.12-ac3+Rik's patches is beating the latest AA stuff.
      I'm not an authority, but it seems like Mr. Archelangi's work is the way to go in the future. Right now, it seems like there are some ugly performance problems in certain situations. When all of that is worked out.. (In 2.5?) I think his code will probably be the future of Linux VM.
      Seems a little too new for me to want to run on my own machines, though.

    2. Re:2.4.12-aa1, or even better 2.4.12-pre3aa1 by On+Lawn · · Score: 2

      Got a reference for some benchmarks on LKML? I don't follow it directly, too much for me to do in a day. My TurboFestiva news group already gives me plenty to handle.

      As an aside, I think that competition and in-fighting is very healthy for Linux. I think OSS is like Winston Churchill. In war it stands out as a very adaptive and competant leader. In peace it meanders about from one faux-pax to another.

    3. Re:2.4.12-aa1, or even better 2.4.12-pre3aa1 by Defiler · · Score: 2, Informative

      There were some benchmarks posted recently, but I seem to recall that the subject lines weren't particularly "on topic." Makes them harder to find.
      In the meantime, here's one post..
      Success report..
      aah.. here's the one I was thinking of:
      VM benchmarks..

    4. Re:2.4.12-aa1, or even better 2.4.12-pre3aa1 by On+Lawn · · Score: 2

      Glad to hear the patches are doing so well!

      I do note that the aa patches weren't included except as Linus's iterations, but I am glad to hear the news.

    5. Re:2.4.12-aa1, or even better 2.4.12-pre3aa1 by Ryandav · · Score: 2

      consider the occasional glance at the Kernel Notes:

      http://kt.zork.net/kernel-traffic/latest.html

      These are well-written summaries of the kenel traffic, posts to the linux kernel developers mailing list. archived, searchable, and fully linked. Quite the handy shortcut to useful content on getting those kernels up to date....

      --
      Check my Go-related blog for beginners: DGD
  52. Re:sucks to be a guy named Torvalds right now... by Anonymous Coward · · Score: 0

    Yes you did. I must point out that they are horribly broken too(for RH7.1 anyway.)
    Xconfig is broken
    Tulip doesn't compile if you set it to be built-in in the config--I got to the point where I just loaded the i686-smp config from Redhat and made that one single change(I'll go back tonight and try to compile just the i686-smp config to see if that works)
    Tulip under i686-smp doesn't seem to work

    I hope this isn't the kernel you guys plan on shipping with 7.2 next week.

  53. I'm just wondering by Daengbo · · Score: 1

    If Microsoft is going to repeat their call for silence from the security orgs on this one.

  54. How it works by shanek · · Score: 1, Flamebait

    So, let's see, when someone points out a flaw in a Microsoft product, Microsoft ignores it, until it gets out to the public, then Microsoft issues a patch (which may or may not fix the actual problem). It gets exploited (usually in the form of viruses and worms than spread like wildfire), and then Microsoft whines about "information anarchy."

    When a flaw in Linux is discovered, they just fix the damn kernel and say, "oops."

    Of the two, I know which one I like better.

    1. Re:How it works by Anonymous Coward · · Score: 0

      how the FUCK is this a troll

  55. Work-around without rebooting (2.2 kernels) by pp · · Score: 4, Informative

    There's a loadable kernel module that
    replaces the ptrace() function call with
    a wrapper that makes it impossible to exploit
    this bug. It can be found from
    http://c.home.cern.ch/c/cons/www/security/.
    Works on 2.2.19, not tried to use it with 2.4.x yet (should be pretty easy).

    1. Re:Work-around without rebooting (2.2 kernels) by Indomitus · · Score: 1

      When I try to compile it I get the following error:

      # make ptracechk-up.o
      gcc -c -o ptracechk-up.o ptracechk.c -Wall -Wstrict-prototypes -O3 -fomit-frame-pointer
      ptracechk.c: In function `new_ptrace':
      ptracechk.c:65: `PF_PTRACED' undeclared (first use in this function)
      ptracechk.c:65: (Each undeclared identifier is reported only once
      ptracechk.c:65: for each function it appears in.)
      make: *** [ptracechk-up.o] Error 1

      Am I missing something?

    2. Re:Work-around without rebooting (2.2 kernels) by MadCamel · · Score: 1

      http://whacked.cosmic-cow.net/ptracekm.tar.gz - I wrote this to quickly "patch" all my systems when the last ptrace() vulneribility was announced.
      Maybe you'll have better luck with it. :)

  56. Linux to hackers: Don't publish code by Mr.+Sketch · · Score: 2, Funny

    In a recent article on CNet:

    This week, Linus Torvalds, manager for Linux's security response center, published an essay on the company's site decrying the information and example code released by some companies and independent security consultants as "information anarchy."

    "It's high time the security community stopped providing the blueprints for building these weapons," Linus wrote in the essay. "And it's high time that computer users insisted that the security community live up to its obligation to protect them."

    "The state of affairs today allows even relative novices to build highly destructive (malicious software)," he wrote in the essay. "It's simply indefensible for the security community to continue arming cyber criminals. We can at least raise the bar."

    "(We) don't purport to have the answer to the problem," he said in a Wednesday interview. "But we believe that these practices are harmful."

    1. Re:Linux to hackers: Don't publish code by jasonzzz · · Score: 1

      Don't get the humour in it (if it was)... The "well known" article paints a story of MickeySoft's stupidity and being so disconnected with their customers...

    2. Re:Linux to hackers: Don't publish code by Mr.+Sketch · · Score: 1

      It was supposed to be humorous, especially after the recent slashdot article about Microsoft telling security companies to stop releasing code for exploits, and here we have a someone releasing code for linux exploits and no one cares or defames them for releasing code for the exploits.

      Oh well, it was funny in my head, I thought someone else might appreciate it too. I certianly didn't intend it to be moderated 'Troll', now I'm at 49 Karma :(.

    3. Re:Linux to hackers: Don't publish code by jasonzzz · · Score: 1

      I sorta had to think and wasn't quite sure it you were being humourous or not... anyways perhaps you could tag it next time... as in

      Linus Torvald was heard decrying how ready the linux community turns on him when a little known root exploit was published by unscrupulous shackers...

    4. Re:Linux to hackers: Don't publish code by jasonzzz · · Score: 1

      Oops, was suppose to have tags for the comment...

      [sarcasm]
      Linus Torvald was heard decrying how ready the linux community turns on him when a little known root exploit was published by unscrupulous shackers...
      [/sarcasm]

    5. Re:Linux to hackers: Don't publish code by Laplace · · Score: 1, Flamebait
      Dear Jasonzzzzz,

      I would use sarcasm to ridicule your suggestion, but I fear that the point would be lost on you.

      One of the joys of humor can be subtlety. Pull your whiny head out of your ass and read some more. You might learn to laugh without being prompted by a laugh track.

      --
      The middle mind speaks!
    6. Re:Linux to hackers: Don't publish code by jasonzzz · · Score: 1

      Maybe you yourself can read the posts and make constructive remarks *about* the topic instead of just randomly flaming.

      Humor (or whatever else you 'intend' to deliver) is only good when you publish it to a known and fairly controlled set of audience. Here we have an extremely diverse set of folks reading, not all on the same topic or even similarly motivated, not all with even close to the same type of technical background let along level of experience. This is not a literary review, the authors are all still alive. It certainly isn't a contest to how best to pose your prose and see how many smarties will get it or how many different ways you can have it interpreted. He had a message to deliver in a specific way and he needed to be understood. And since he had a specific intend which he likely had not wanted it to be subjected to interpretation. If that is exactly how he wanted it to be interpreted, I would advocate that not only he, but all others when delivering such 'subtle' message, should have marked it as such. If not to carry across better understanding and *avoid* misunderstanding, then simply to keep his 'karma' standing.

      You will note that some other moderator marked the post down. You will also note that he himself wasn't quite sure why the subtlety was lost to so many other folks. You will further note that I had note that it could be funny, *if* that's what he intended.

      Next time, perhaps you should read thru all of the posts and make only constructive remarks. Maybe you will get a clue before making an ass out of yourself. Then again, maybe you won't get the clue even when someone boinks you on the head with it. Either way, it wouldn't bother me the least bit that you keep making yourself look like an ass...

      Your need to simply ridicule others grow tiresome, begone. I banish you to the place where whiny heads go and where sometimes subtleties are lost when viewed thru other people's eyes

      [to moderator]
      post #2453353 should be marked as flamebait

  57. Re:sucks to be a guy named Torvalds right now... by teg · · Score: 2

    If you find bugs, please put them in bugzilla.
    - make sure to add details on your hardware, as it's not a generic Tulip problem (I've just tested mine - no problems).

  58. Windows NT has always been multi-user by Earlybird · · Score: 2
    • If you want to compare to Windows: up till Windows XP it wasn't even possible to be logged in as multiple users at the same time
    This is incorrect.

    Windows NT, of which Windows 2000 and XP are but new iterations, has been multi-user from the start, even though it has lacked the shell counterparts to easily exploit it without resorting to C or C++. For example, the Windows NT Resource Kit comes with a "su" program.

    The NT user API design is heavily based on ACLs, which means, for example, that you can create threads, pipes, files, synchronization objects, etc. and restrict access to users with certain permissions. I'm no Windows fan, but they got this part right.

  59. Re:Okay, okay.... (who modded parent up?) by Anonymous Coward · · Score: 0
    Whoever it was, you've taken my karma up to 50!

    Hurrah!

    (Okay, now it drops back down to 48, but I'll cope - and, yes, I have read the FAQ on what karma isn't doesn't do)

    Tom.

  60. local exploit is enough by bockman · · Score: 2
    • to turn a buffer overflow of a non-privileged nework daemon into a remote root exploit;
    • to allow unprivileged users to sniff the LAN;
    • to allow 'viruses' (.i.e. executables from an unknown source which a luser run without checking) to have full access to your machine
    This is a serious bug (though not a new kind of bug: as you said, local exploit have been with us for years), because it undermines the basics of Linux security model (every user stays in its box).
    --
    Ciao

    ----

    FB

  61. I have something to do finally!!! by Anonymous Coward · · Score: 0

    Yes, I have something to do here at work! Finally, after watching the NT admin's patching all their boxes every day because of all the M$ Software holes, I finally have something to patch.

    Let's see.. M$ Patches for the last year... 500++ Linux patches for the last year... 1...

    Of course, I'm only talking about security patches, not 'feature' patches...

  62. Re:Okay, okay.... (who modded parent up?) by Anonymous Coward · · Score: 0
    At least, it would have dropped to 48 if I'd checked "No Score +1 Bonus" instead of "Post Anonymously". Ah well, I guess it stays at 50 for a bit longer.....

    Tom.

  63. Disturbing Disparity in tone of News Posts by Multiple+Sanchez · · Score: 2, Interesting

    I find the tone of this post to be part of a disturbing, if subtle, trend.

    I know this isn't new ground to tread in these forums, but the respective tones of posts about Microsoft bugs and Linux bugs are worthy of change.

    When there's an MS bug, the posts generally read something like... "User writes, "Here's a big surprise. There's a bug in IIS that lets any six year old root the box. Excuse me while I gasp in surprise. Exploits are here and here. Cnet has the whole story." It's amazing that people still rely on IIS... I wonder when people will stop making their software choices entirely based on FUD."

    When there's a bug that eluded many major kernel revisions, the post reads: 'Apparently there's been a bug in the kernel for months that yields unauthorized remote access to root. Huh. Users of multi-user systems might want to patch this when they get a chance.' -- and it's on to the next story.

    Disparities such as these, subtle as they are, affect Linux communities' credibility. It makes us look immature because we appear to apply a double standard. It's a chink in our armor we should patch ASAP.

    1. Re:Disturbing Disparity in tone of News Posts by Matt+-+Duke+'05 · · Score: 1

      Can someone _please_ mod this up? This was the most level-headed and accurate post that I've read so far on this thread. So sad, but so true.

      --
      -Matt
      Duke '05
    2. Re:Disturbing Disparity in tone of News Posts by jasonzzz · · Score: 1

      Sure there is a disparity in the tone of the reporting, but I doubt it that it was consciously intentional. There are several underlying issues that you have not thought through yet:

      1. You will note that while there is a report, there is already a fix for the linux 'bug'.

      2. There are about 8 thousand (note artitrary figure) times more exploits on the Windoze platform. The normal reaction from M$ is to first disclaim and deny its existence, then proclaim that either it is not a bug at all or that it has no known security risks associated with it. Exploits by script kiddies go on for about 8 months before a patch might be out. By then it's too late.

      3. Note that outside of NT (and 2k server), there exist no privileged role to protect system resources. So you don't even have to go thru the trouble of a 'root' exploit to kill the computer. You can just do it thru an email. ;-)

      I can perfectly understand the underlying distain for the company simply because of the way they 'handle' the security issues with their product. I have exactly the same distain for AOL simply because they mail out these free monthly passports (the free 180min AOL trial CDs) that let's any idiot with a stolen/exploited credit# to logon and spam me. No Thanks! Until these people take some responsibility in the products that they push out, I will continue to look upon them with disgust and distain. I think that this only shows what the responsible programmers do in the Linux community - by quickly and judiciously dispatching known bugs and security issues as soon as they are identified and discussing them openly.

    3. Re:Disturbing Disparity in tone of News Posts by SuiteSisterMary · · Score: 2
      Sure there is a disparity in the tone of the reporting, but I doubt it that it was consciously intentional.
      That's what makes it all the worse.
      1. You will note that while there is a report, there is already a fix for the linux 'bug'.
      Well, as a counter example, code red's patch was out a month before code red. And why do you put the word 'bug' in quotes? Are you intimating that it's not actually a bug?
      There are about 8 thousand (note artitrary figure) times more exploits on the Windoze platform. The normal reaction from M$ is to first disclaim and deny its existence, then proclaim that either it is not a bug at all or that it has no known security risks associated with it. Exploits by script kiddies go on for about 8 months before a patch might be out. By then it's too late.
      Yeah, ok. Goes to character of the witness, your honor. Makes up figures and expects them to stick.
      3. Note that outside of NT (and 2k server), there exist no privileged role to protect system resources. So you don't even have to go thru the trouble of a 'root' exploit to kill the computer. You can just do it thru an email. ;-)
      What? What does this have to do with how Linux bugs are reported versus Windows 2000/XP/NT bugs? Try to at least compare fruit to fruit, as opposed to comparing fruit to animals. Apples to oranges is a luxury, however.
      --
      Vintage computer games and RPG books available. Email me if you're interested.
    4. Re:Disturbing Disparity in tone of News Posts by Tony-A · · Score: 1

      There is a disparity in the tone of the reporting.
      Well yes. /. is rather more a Linux than a Microsoft Windows site. Who cares if the disparity is intentional or not.

      I thought the tone was more like: "Finally, after all the Microsoft worm stuff, here is a Linux exploit. Kernel yet. Have fun."

      , code red's patch was out a month before code red.
      And still not being applied. To Microsoft's own servers, yet.

      There is a disturbing disparity alright. It is in the response of the parties responsible for the software.

    5. Re:Disturbing Disparity in tone of News Posts by jarran · · Score: 1
      However, this bug is far less serious than the IIS bug. In order to exploit the Linux bug, an attacker would need a local account, or find an additional exploit in Linux or another application in order to obtain one.

      The IIS bug makes any computer running unpatched running IIS vulnerable. The Linux bug leaves most computers running unpacthed kernels still safe.

  64. newgrp bug by dwilcox · · Score: 1

    It looks like to me this is the Anthrax scare for Linux users.
    I have no doubt that newgrp can be exploited, but I can't use newgrp unless I su running RH 7.1.
    Am I missing something here?

    --
    Those who think in the box have a small view.
  65. Ahem by 4of12 · · Score: 2

    My name is Scottissue Pulp and I'm the Manager of the Linux Security Response Center and I'd like to take this opportunity to decry this

    "practice of deliberately publishing explicit, step-by-step instructions for exploiting security vulnerabilities, without regard for how the information may be used."
    --
    "Provided by the management for your protection."
  66. I wish I could update by budcub · · Score: 1

    I've been trying to download, and its taking forever. I'm using RedHat and their ftp servers are slow even under more ideal conditions, but now its terrible. Wish me luck.

  67. Oh shit... by ryanvm · · Score: 2

    Oh shit! Now Gartner is going to recommend that I switch all my servers back over to NT.

  68. Make $10K using this exploit! by Drestin · · Score: 0, Offtopic

    Hey, why doesn't someone use this exploit to insert a virus on that guy who was offering a $10K reward to anyone who could do this to his Linux box. A recent /. story but I don't have it handy. Come on, we know who that was...

  69. Uh oh by Anonymous Coward · · Score: 0

    Oh boy, there goes the uptime.

  70. Re:I am not surprised. by Anonymous Coward · · Score: 0

    It may be flamebait, but it's 100% true. The FUD you guys have been surgar-coating Linux with is pretty thick, but when it comes down to it, Linux is a house of cards.

  71. Why are people modding this idiot up? by Xylantiel · · Score: 1

    1. This is a local exploit and thus CANNOT in ANY WAY be compared to Code Red or Nimda. Anyone who does so is simply ignorant about exploits and is just trying to downplay how bad the Windows worms demonstrated MS box security generally is right now.

    2. Yes anything like this is an inconvenience. You mention all the steps that you need to take to bring a patch into service (testing etc). You compare to Windows where apparently you believe this process isn't necessary. You basically just demonstrated that windows sucks because it's not expected to be as stable as linux, and (according to my impression) the patches are not provided with enough info to bring them into service intelligently.

    3. Any admin who keeps his systems up to date regularly would know exactly how to go about deploying this fix. Patches come out almost weekly, you'd probably just have to move your schedule up a bit.

    4. You'd have taken this chance to root the machines provided for you and skrew your admin? Let me put this bluntly: you suck.

  72. Linux is dying. by Anonymous Coward · · Score: 0

    Thank god I use FreeBSD!

  73. Syntax by srichman · · Score: 1
    I'll be able to type 'apt-get update' on all my Debian systems, and 'pftp ftp.domain.com; get new-kernel.rpm; rpm -uv new-kernel.rpm' on my RH/YDL systems.
    I think you mean rpm -Uv. (Sorry to be so anal, but you did take the time to type out every command in detail.)
    1. Re:Syntax by Anonymous Coward · · Score: 0

      Anyone who uses RPM deserves to get rooted.

    2. Re:Syntax by dark_panda · · Score: 1

      I'd recommend using -iv to install rather than upgrade. That way, you'd still be able to boot the old kernel just in case something does wonky with the new kernel. (Assuming you didn't make boot floppies with the old kernel, but at least this way, if you lose or misplace the floppy, you still have the kernel itself on your hdd.)

      J

    3. Re:Syntax by ichimunki · · Score: 1

      Haha. Yeah. That too.

      --
      I do not have a signature
    4. Re:Syntax by Tony-A · · Score: 1

      Don't forget to edit /etc/lilo.conf and run /sbin/lilo.
      mkinitrd is also required (I think) if you have SCSI drives. Check if there is an initrd-something in /boot.

  74. better to have a mix by archen · · Score: 1

    If anything I think this shows that it's not a good thing for everyone to be on one OS. Having a mix of *BSD, Linux, and some OSes you pay for can certainly minimize the damage for any OS specific exploit; and every OS has one somewhere...

  75. Decades?? it already has that by nocomment · · Score: 0

    I seriously doubt it will take decades to iron out. Come on this is MICROSOFT people!!! They will have the bugs fixed with the next release of stolen *nix code. :-)

    --
    /* oops I accidentally made a comment, sorry */
    /* http://allyourbasearebelongto.us */
  76. Any Mandrake 7.2 (2.2.19) kernel patches? by Anonymous Coward · · Score: 0

    There doesn't seem to be any mention of this kernel bug on their security updates section.

  77. What am I missing? by skajohan · · Score: 2, Interesting
    Maybe it's because I'm not a 31337 h4X0r, but I can't get this exploit to work.

    $ uname -a
    Linux limbo 2.4.0 #8 sat jul 21 14:24:48 CEST 2001 i686 unknown
    $ id
    uid=1001(johan) gid=1001(johan) groups=1001(johan)
    $ gcc insert_shellcode.c -o insert_shellcode
    $ gcc ptrace-exp.c -o ptrace-exp
    $ ./ptrace-exp
    attached
    exec ./insert_shellcode 24982
    $ id
    uid=1001(johan) gid=1001(johan) groups=1001(johan)

    So what's up?

    1. Re:What am I missing? by Anonymous Coward · · Score: 0

      You'd get an error message instead of the 'attached' if the kernel wasn't vulnerable.

      For the record: Stock 2.4 12 still _is_ vulnerabe.

      Michael

  78. Never mind by Indomitus · · Score: 1

    Weird kernel-source and kernel-headers problem. All fixed now though.

  79. Before you ask... by skajohan · · Score: 1
    Before you ask, yes, /usr/bin/newgrp is suid root.

  80. Re:will a preemptible kernel solve the dos problem by spitzak · · Score: 2
    This is a good question, I was wondering about this with with the previous discussion about pre-emptiable kernels.

    It would seem that preemptible kernels would allow kernel functions to be written to take arbitrarily long times, and only the calling process is hurt by this. This would avoid the DoS attack, but more importantly I would think it would make a lot of kernel stuff much easier to write and the code much easier to read and debug.

    So do any experts in kernel design think this, or am I totally wrong?

  81. Hmmm, first security patch in, ummm, how long? by CaptPungent · · Score: 0

    How does this even compare to the patching required to stop the Nimda worm? This is the first patch I have *EVER* had to apply, the others were not security fixes. I have NEVER had to patch the kernel to stop a potentially weak exploit (yes, I call a local exploit weak, cuz its possible to get root locally on any OS easily anyway, just a little social engineering...). Please don't take this as having a angery tone, but seriously, this is much different than admin'ing 2k boxes. Yes, updating an enterprise network is a pain, I'd imagine (I admit, I don't do it). But how can that compare to the regular patches required to keep 2k secure? This is a once in a few years patch, for a weak exploit. Not the ___ patches required ( I'm not sure how many, insert the # please) to just stop Nimda from saturating your network.

    --
    C Pungent
  82. chaning #define ADDR by Anonymous Coward · · Score: 0

    How do you know what to change ADDR to? I'm assuming it's the address space of newgrp, but how do you find out what that is?

  83. Exactly... by CaptPungent · · Score: 0

    Now, if that's not the case, a simple chmod of newgrp will fix you right up
    Thats what I did, since this is a desktop (well, laptop) system, I never need the newgrp command, and I suspect that the ftp sites are bogged right now (plus I'm still on 2.4.9, so I'd need several patches to get to the right version). Simple chmod go-x /usr/bin/newgrp and yr set. I'll get the patch later.

    --
    C Pungent
  84. exploit instructions vague by Anonymous Coward · · Score: 0

    The instructions from the mentioned link are pretty vague. Do you just run ptrace-exp, and it gives you a shell? What do you modify the #define in insert_code.c to? And what about slackware? How do you modify it to use sh instead?

  85. They're not bugs, they're features! by WillSeattle · · Score: 1

    Remember, we can make money off the bug fix ... um, upgrade to the next "version".

    Oh, wait, we're not Microsoft.

    Never mind ...

    --
    --- Will in Seattle - What are you doing to fight the War?
  86. This is why I still use Linux 2.0 by Mike_L · · Score: 1

    The Linux kernel has grown dramatically since 2.0. There are certainly more bad bugs lurking in 2.2. I refuse to even try 2.4 until 2.5 is well on its way.

    -Mike_L

  87. Old news by Morth · · Score: 1

    I read this story and was very confused.
    Reason? I heard of this root exploit months ago, by a friend who said he'd known it for quite a while. I even wrote a little kernel module that disables ptrace() to all users but root back then.

    I can't believe it hasn't shown up on bugtraq until now. 2.2.0 is over a year old, isn't it? I thought there were quite a few people actively looking for kernel bugs and reporting them there.

  88. Re:test by Anonymous Coward · · Score: 0

    test sucks
    wonk

  89. What a piece of shit! by Wonko42 · · Score: 2, Funny
    What a shitty OS this is! They release an OS full of holes and then patch them all up afterward, and they expect us to see this as secure? Ha! Just goes to show why nobody in their right mind would ever use a shitty OS like Windo...er, Linux...

    (sarcasm, you fool)

  90. Terminal server is something different by Baki · · Score: 2

    Terminal server can't be compared to a multi-user system like UNIX. It may look the same at first sight, but in fact it is more like VMWare, in the sense that a large part of the operating system is instantiated for every user that "logs in", that is each user has almost a private copy of the operating system (which explains the huge amount of resources required per user). This is a gross hack, and WinXP multi-user logon is based on the same technology. It can't be compared to a true multi-user operating system such as UNIX.

    Indeed (as someone also remarked in another response) one could compare getting admin-right on a flie as equivalent to a local root exploit. Still, it is not the same. It only applies to file-access rights, not to executing processes with other permissions.

    1. Re:Terminal server is something different by Telek · · Score: 2

      It may look the same at first sight, but in fact it is more like VMWare, in the sense that a large part of the operating system is instantiated for every user that "logs in",

      You obviously have no idea what you're talking about. Terminal server is no such thing. The entire kernel of the O/S is loaded once, and once only. For example on Windows XP The only program that is loaded per user is explorer.exe (I just checked). On terminal server the only things that are loaded per user is rundll32.exe, display.dll and explorer.exe. Where did you get the idea that it's reloading the entire OS?

      (which explains the huge amount of resources required per user).

      It's best to use things before giving wild accusations. Having another logged in user on Windows XP here just took a whopping 6MB of more resources...

      Indeed (as someone also remarked in another response) one could compare getting admin-right on a flie as equivalent to a local root exploit. Still, it is not the same. It only applies to file-access rights, not to executing processes with other permissions.

      Have you ever used any Windows NT system? What do you think Administrator rights are for? Have you ever run policy manager? group policy manager? There are more than a hundreds rights that you can configure in the system. That's far more than I can recall every seeing in any *nix based system, but I don't make wild accusations about things that I don't know about...

      --

      If God gave us curiosity
    2. Re:Terminal server is something different by Tony-A · · Score: 1

      >>There are more than a hundreds rights that you can configure in the system.
      What are they?
      What do they do?
      What do they really do?
      What are the default settings?
      What and where are the rest of the settings?

      Exactly what settings do you have on your systems?
      And why?

      Here come the mainframes.

    3. Re:Terminal server is something different by kputnam · · Score: 1

      I think he meant that they are instantiated as new threads in existing processes. Just because you don't see more than one process running doesn't mean it didn't recreate a user specific part of the kernel. And perhaps those 100+ rights in Windows NT are the cause of all the insecurities -- administrators are overwhelmed. And when nearly all Microsoft products ship with the LEAST secure settings, what's an MSCE to do?

    4. Re:Terminal server is something different by Telek · · Score: 2

      What are they?
      (etc)

      When I talk about rights I should rephrase, I'm talking about security settings.

      There are many, many things.

      Check out gpedit.msc (just type it in like that to run it), secpol.msc (overlaps with gpedit.msc), rsop.msc (has/creates a redundant backup of the master policies). You can check out secedit (just run "secedit") that'll explain about security policies and how to give an easy way to tighten down your system. There are also under the registry just about everywhere, and also every single object in the system has an ACL (access control list) attached to it (including every registry key). So you could, for example, say that you are the only user allowed to use the second IDE channel or the first USB port, or even the CMOS timer. IT's pretty cool. Go to sysinternals and checkout the winobj program that shows you all objects in the system and you can change policies on them and do more stuff (be careful, you can royally fsck up your system!)

      These are in all Windows NT/2K/XP systems and some are even in the 95/98/ME series as well (but not many).

      --

      If God gave us curiosity
    5. Re:Terminal server is something different by Telek · · Score: 2

      I think he meant that they are instantiated as new threads in existing processes. Just because you don't see more than one process running doesn't mean it didn't recreate a user specific part of the kernel.

      You are correct, I just did another check. However the act of just logging in a second time causes a commit increase (this measures everything) of just 4.5MB, running your shell causes an increase of about 8MB in top of that. Point is that the majority of the system is not recreated for every login, and it is nowhere near a gross hack.

      And perhaps those 100+ rights in Windows NT are the cause of all the insecurities

      (soap box mode on)

      I don't doubt that the fact that NT is far more complicated then linux (and perhaps more complicated than it needs to be) is part of the reason for the bugs, but as was just proven Windows is not the only OS that has bugs. They all do, to varying levels of severity. Without being able to see exactly what the cause of everything is I cannot comment furthur, however having a more complicated system is not much of an excuse for bugs, IMHO, you should just have more complicated testing measures.

      And the majority of those rights/security settings are set secure from the start and have absolutely no need to be looked at, much less modified.

      Don't forget that Windows was designed from a pleasing-the-user point of view. Things were setup lax because if they were setup more tightly users would have compained that they couldn't do things without changing settings. You're never going to please everyone. People said that they wanted to be able to install, run this, click 3 buttons and host a website, so that is what was created. I'm not absolving them of responsibility, I'm just saying that a lot of it is unwarranted. You don't get to be the biggest software company, one of the biggest companies, and the richest person in the world by unfair business practices alone. And lest you all forget, everyone's friend and linux's last-best-hope for survival 30 years ago was in almost exactly the same position that MS is in now. And why do you think they are doing it? Do you think they are doing it because they love linux or hate Microsoft? No. They're doing it because it makes buisiness sense. They believe that they can make money off it it, that they can sell more expensive hardware, and that it will strategically help their position. And you better believe that if they don't, their support will be gone like that (snap).

      We are in a capitalist society ladies and gentlemen. Everything is in name of the almighty buck. Thinking that you can/do become a great company by just good business practices and being nice to everyone alone is naive and will get you belly up very shortly. Giving away software and selling support will also get you belly up, sooner or later.

      what's an MSCE to do?

      (the MSCE is to) Get a clue. Any MSCE worth the training they went through should easily be able to maintain a server properly. It's not brain science. You cannot blame Microsoft (entirely) for people who, with 2 months notice, were unable to take 5 minutes to run a patch on their system. If *nix users took that long they would have a huge problem as well. My W2K server has been online now, as of this moment, for just over 200 days straight. No reboots, no service pack 2, and no patches. And guess what? Because I had the scruples to tighten down the security from day 1. Code red and Nidma and everything had no impact.

      I have a serious question for Microsoft dislikers out there. Put aside your hostility for a second and please give me some constructive ideas on exactly what you would like Microsoft to do? (other than things like drop dead, stop making crappy software, etc, etc)

      --

      If God gave us curiosity
    6. Re:Terminal server is something different by kputnam · · Score: 1

      I'll give credit to Microsoft for trying to please everyone... but I take it back again because they are trying to please everyone (or at least their PR dept would like us to think so).

      I think Microsoft would be better off if they weren't such an anticompetitive company, and didn't have products ranging from "enterprise level" operating systems to video game consoles to hand held personal operating systems.

      Maybe what Microsoft should do is to stop trying to monopolize every market and just specialize in one. And of course that will never happen, but they should be shipping products with highest or near highest security settings in either case.

      I feel very strongly that Microsoft should be focused in on making quality products for a single market (two or three would be okay, too) instead of trying to be the All In Once Slice and Dice For Every Thinkable IT Situation Possible (tm). And lastly, be it redundant or not, Microsoft does need to drop dead, or at least stop making crappy software :)

  91. Re:sucks to be a guy named Torvalds right now... by mughi · · Score: 1
    We released updated kernels yesterday:

    • A 2.4 kernel [redhat.com], for Red Hat Linux 7.1
    • A 2.2 kernel [redhat.com], for Red Hat Linux 6.2 and 7



    It would have been nice if you also updated the list of 6.2 Security Advisories. At the moment (1:15 PM Pacific) the latest updated on there is the Netscape one back from April 10. It would have saved me (and probably many others) time poking around this morning trying to guess if it was updated for this exploit or not.

  92. Most security exploits are local exploits! by budgenator · · Score: 2
    discounting windows® 9X, which have no security, most exploits are local.
    1. wardial to find the number, peirce firewall ect
    2. bruteforce a user login/password, (OK sometimes thing exploit a localy running server, but most isn't that sexy)
    3. escalate perms to root or admin using the exploit
    4. leave a backdoor for later and cover=tracks on the way out

    Maybe this is a little over simplifed, but still its a local exploit, either a login or a server running localy. whats the difference between telnet/ssh over a machine loop, a serial cable/modem dialup, a ethernet, or from the internet, it's still a executing the shell localy.
    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
  93. Wasn't this debunked on linux-kernel a 2 weeks ago by mmclure · · Score: 1

    See http://www.geocrawler.com/lists/3/Linux/35/2250/67 89857/ and related - according to the thread ptrace refuses to honor the setuid bit and even though the exploit program thinks it has succeeded, it just provides a non-priviledged shell.

  94. (OT) Invalid Form Key by Anonymous Coward · · Score: 0

    "What the hell is this invalid formkeys crap??"

    Thank God somebody else is running into this. It appears to be repeatable if you're running cookies disabled and lose connection (and probably i.p. address) between accessing the "Post Comment" page and Submitting the post. I tried to report this on Sourceforge as requested, but to report a bug you have to log on which sorts of defeats the purpose of anonymous posting anyway... :P

    Update: This time it did it without dropping the connection... got this:
    Invalid form key: fVaGAAQl20 !
    Will copy to clipboard, and try again (sigh!).
    And got:
    Invalid form key: EL8bMdHoSu !
    Once more...

  95. Wasn't this debunked on linux-kernel a 2 weeks ago by mmclure · · Score: 1

    See http://www.geocrawler.com/lists/3/Linux/35/2250/67 89857/ and related emails in the thread - the "exploit" just gives you a non-priviledged shell because ptrace() does not honor the setuid bit.

  96. Re:Wasn't this debunked on linux-kernel a 2 weeks by Anonymous Coward · · Score: 0

    that's regarding a different exploit. It's already known that the old exploit doesn't work on 2.4 kernels. The new one works on all 2.4.12.

    -Brad

  97. Typical /. kneejerk by thejake316 · · Score: 1

    There are plenty of local user DoS's for linux, this one is ugly, but nothing to get bent out of shape about.

    --
    AC's cheerfully ignored
  98. Re:Wasn't this debunked on linux-kernel a 2 weeks by mmclure · · Score: 1

    Are you sure? On neither 2.2.19 nor 2.4.12 do I get a priviledged shell running the exploit.

  99. Re:Wasn't this debunked on linux-kernel a 2 weeks by Anonymous Coward · · Score: 0

    sorry, i tried to say that it affects all 2.4 less than 2.4.10...but i kept getting "key" errors...grrr

    Brad

  100. Only? by cosmol · · Score: 1
    "Only" 6 megs per user?

    It "Only" loads explorer.exe, rundll32.dll and display.dll, not a major part of the operating system at all huh?

    I think you have just confirmed what the above poster was saying.

  101. Firewalls are good for you by hearingaid · · Score: 2
    The pain in the arse is when you have a whole load of machines (which may as it happens be running different flavours of Linux), and you spent a fair while ensuring that they all work ncely. [sic] Along comes a patch, and you have to start working out which machines tou [sic] can take off-line to test the patch, which machines are most vulnerable (when you have a fair few users with shell accounts...)

    You have to figure out which machines have untrusted users. Fortunately, this particular case is a local-only exploit; so if you're a sysadmin of a large system, then it's time to take it down.

    However, this is also where having a good firewall can save you much heartache. The firewall itself is by definition a system with untrusted users (unless you can guarantee you've never been broken into), so needs to be patched. If you have unprotected systems, all of them need to be patched.

    Keep all your systems behind a well-designed firewall, and these decisions become much, much easier.

    --

    my old sig used to be funny, but then slashcode ate it and now it's not funny anymore

  102. Not the only local exploit by GregoryS · · Score: 2, Informative

    This article appeared on stepwise.com, a site devoted to Mac OS X (so yes, Macs *are* vulnerable!") http://www.stepwise.com/Articles/Admin/2001-10-15. 01.html [posted 18-Oct-01] >> Mac OS X 10.1 Local Security Exploit A serious security exploit has been found in Mac OS X 10.1 (in fact, as it turns out, it has been present in 10.0.x versions as well). Using this exploit any user at the Desktop can gain root access to the machine. The problem is caused by applications that are set-uid root (that is, regardless of the user that runs them, they have root permissions). Normally these programs have a limited scope of functionality so that damage is minimized. However, it appears that any items launched from the Apple->Recent Items menu inherit the root user privileges. Additionally, any other apps in the Apple menu (i.e. System Preferences) can be launched as root using this hole. This can be demonstrated using the following technique: [See URL above for more details] So obviously, Linux isn't the only one that has these kinds of problems. And to that thread commenting about Mac OS not having problems like this -- yes, that might be true for Classic Mac OS, but its obviously not true for the current OS Every OS that I've used in the past couple of decades has had some kind of "local security exploit". That's just the way it is. Later, --Gregory

  103. NVidia broken also. by mughi · · Score: 1

    Just for the record...

    The kernel update broke both Nvidia's proprietary 3D driver and the open-source 2D driver. (PIII 500 with a RIVA TNT)

  104. MOD PARENT UP by Anonymous Coward · · Score: 0

    this is informative, just a little more info: the box in the hack-a-mac contest was cracked due to a combination of CGIs. On an OS with no concept of privileges whatsoever, any exploit is a root exploit.