Slashdot Mirror


Local Root Hole in Linux Kernels

xepsilon writes "A local Linux security hole using ptrace has been discovered that allows a potential attacker to gain root privileges. Linux 2.2.25 has been released to correct this security hole, along with a patch for 2.4.20-pre kernels. 2.4.21 ought to contain this fix, once it is released. 2.5 is not believed to be vulnerable to this security hole. See this email from Alan Cox for details, and a patch."

287 of 495 comments (clear)

  1. How is Microsoft responsible? by jmulvey · · Score: 5, Funny

    With all the brainpower on /. I'm sure we can discover a way.

    1. Re:How is Microsoft responsible? by lavalyn · · Score: 5, Funny

      Microsoft would have a monopoly on privilege escalation exploits if not for Linux.

      --
      Doing the Right Thing should not be preempted by making a buck.
    2. Re:How is Microsoft responsible? by kfg · · Score: 5, Funny

      I think the late George Mallory put it rather succinctly:

      "Because they're there."

      On the other hand, in the words of Voltaire:

      "If Microsoft didn't exist it would be necessary to invent them."

      However, regarding the current kernel situation I think my deeply missed old granny put it best:

      "Oh fuck."

      KFG

    3. Re:How is Microsoft responsible? by Sloppy · · Score: 1

      If Microsoft had not stolen all that free publicity, then Linux wouldn't have had to steal it back.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    4. Re:How is Microsoft responsible? by kasperd · · Score: 4, Funny

      Microsoft would have a monopoly on privilege escalation exploits

      No, Microsoft has a bulletproof way to prevent privilege escalations. They simply make sure the attacker gets all privileges at once, then there is nothing to escalate.

      --

      Do you care about the security of your wireless mouse?
    5. Re:How is Microsoft responsible? by CoffeeCrusader · · Score: 3, Informative

      Voltaire wasn't an actor. He's one of the more important French philosophers of the 18th century. He basically developed a philosophy of logic, that bans poverty. But he would certainly be most annoyed about flaws in anything, but especially the Linux Kernel, since he was a promoter of free and open work, and flawlessness.

    6. Re:How is Microsoft responsible? by aggieben · · Score: 2, Interesting

      uhh.....I don't think so. SunOS has had it's share....
      but that's besides the point. The OS has little to do with privelage escalation, anyway; it has everything to do with the programmers who write programs that will be suid.

      --
      Don't become a regular here, you will become retarded. -- Yoda the Retard
    7. Re:How is Microsoft responsible? by palfreman · · Score: 2, Interesting
      "If Microsoft didn't exist it would be necessary to invent them."
      So you are equating Microsoft to God. Interesting...

      Although Voltair may have said "If God didn't exist it would be necessary to invent him" it is another matter as to whether Microsoft resembles Him. I would have said that Microsoft was just anouther popular-for-now company with nothing to fall back on. Nothing special in the long run.

      However,if you want to be really picky, they have the advantage of existing and actually being pointable-to, unlike God.

    8. Re:How is Microsoft responsible? by kfg · · Score: 1

      No, I was not equating Microsoft to God.

      I was equating Microsoft to an imaginary friend. :)

      KFG

    9. Re:How is Microsoft responsible? by rark · · Score: 1

      well, if you define $GOD as 'an entity on which all things can be blamed, when one needs such a thing' then it does rather fit....

    10. Re:How is Microsoft responsible? by gd23ka · · Score: 1

      Doesn't a privilege escalation feature in the Linux kernel somehow violate Microsoft intellectual property rights?

  2. Got Root? by FAngel · · Score: 5, Funny

    Got Root?

    1. Re:Got Root? by Anonymous+Cow+herd · · Score: 5, Funny

      I do now >:)

      --
      Ita erat quando hic adveni.
    2. Re:Got Root? by cyb97 · · Score: 3, Funny

      Just give me a minute ;-)

    3. Re:Got Root? by 42forty-two42 · · Score: 1

      Root has all the priviliges and suid-bits you need for a healthy rootkit.

    4. Re:Got Root? by Gortbusters.org · · Score: 1

      Got User Account?

      --
      --------
      Free your mind.
    5. Re:Got Root? by pebs · · Score: 1

      # whoami
      root

      --
      #!/
    6. Re:Got Root? by wirelessbuzzers · · Score: 5, Funny

      I do now >:)

      I believe you mean "#:)"

      --
      I hereby place the above post in the public domain.
  3. Eek! by Jouster · · Score: 1, Interesting

    And please, allow me to be the first to say:

    Holy shit, this could be a problem.

    Excuse me while I go patch my servers, which all of my developers have user-level access to, albeit very limited access.

    New marketing ploy for TMF: get your security news before the 13-year-old 5<R1p7 <1|)|)135, since they don't have credit cards with which to subscribe.

    Jouster

    1. Re:Eek! by dreamchaser · · Score: 3, Insightful

      New marketing ploy for TMF: get your security news before the 13-year-old 5

      Not so fast! What if they steal some CC numbers first?

    2. Re:Eek! by gnixdep · · Score: 1

      ...since they don't have credit cards with which to subscribe.


      Sure they do

      it's just your credit card.
  4. It's Tuesday by Anonymous Coward · · Score: 5, Funny

    Journal Entries:

    (looks at watch) its monday again... time to go patch my IIS

    (looks at watch) its tuesday again... time to go patch linux.

    1. Re:It's Tuesday by charon_on_acheron · · Score: 3, Funny

      Four day week, huh? Must be nice. :^P

    2. Re:It's Tuesday by Edgewize · · Score: 1


      I don't know about you but I certainly don't check my watch to find out the day of the week.

    3. Re:It's Tuesday by Moloch666 · · Score: 1

      What kind of geek are you?

      --
      Understanding is a three-edged sword. -- Kosh Naranek
    4. Re:It's Tuesday by Col.+Panic · · Score: 1

      Oh, you use a PDA, huh?

    5. Re:It's Tuesday by carboncopy79 · · Score: 1

      Oh I do. But my watch died recently. Being depending on my mobile phone since. Damn, need to get a "REAL" job. Anyway, I don't get stability problem with 2.5.* kernels. Which is really great.

    6. Re:It's Tuesday by statichead · · Score: 1

      I wish with my watch included the year.

  5. Could someone post the email up? by 00_NOP · · Score: 2

    It's been /.ed and I'd really like/need to read it asap. Hence I am posting at +2. Karma burning away...

    1. Re:Could someone post the email up? by cyb97 · · Score: 4, Informative
      linux-kernel-list

      Different mirror

      I guess these are the same.. haven't read the origial ./ed site, but this is from lklm and guess they're the same...

    2. Re:Could someone post the email up? by uncleFester · · Score: 2, Informative
      The article-linked message also had a patch attached but the lameness filter is pissed about including it so you'll have to snag it somewhere else.. the patch did not specify what kernel version it applied to, though.

      Vulnerability: CAN-2003-0127

      The Linux 2.2 and Linux 2.4 kernels have a flaw in ptrace. This hole allows
      local users to obtain full privileges. Remote exploitation of this hole is
      not possible. Linux 2.5 is not believed to be vulnerable.

      Linux 2.2.25 has been released to correct Linux 2.2. It contains no other
      changes. The bug fixes that would have been in 2.2.5pre1 will now appear in
      2.2.26pre1. The patch will apply directly to most older 2.2 releases.

      A patch for Linux 2.4.20/Linux 2.4.21pre is attached. The patch also
      subtly changes the PR_SET_DUMPABLE prctl. We believe this is neccessary and
      that it will not affect any software. The functionality change is specific
      to unusual debugging situations.

      We would like to thank Andrzej Szombierski who found the problem, and
      wrote an initial patch. Seth Arnold cleaned up the 2.2 change. Arjan van
      de Ven and Ben LaHaise identified additional problems with the original
      fix.

      Alan
      --
      -'fester
    3. Re:Could someone post the email up? by Malcolm+Scott · · Score: 1

      "the patch did not specify what kernel version it applied to"
      ...
      "A patch for Linux 2.4.20/Linux 2.4.21pre is attached."

  6. patched it already by Lxy · · Score: 5, Interesting

    Got an e-mail this morning from Redhat Network that a new kernel was available to solve this vulnerability. up2date got my machine patched hours before the /. post.

    If you're running Redhat, RHN is a valuable tool that no admin should be without.

    --

    There is no reasonable defense against an idiot with an agenda
    :wq
    1. Re:patched it already by (startx) · · Score: 1

      It's also been fixed in slackware-current, which became 9.0 just a few hours ago :-)

    2. Re:patched it already by sporty · · Score: 4, Insightful

      The only reason not to update, is if you haven't QA'd (burn in test) your new kernel. Put int through 100% load tests for 24-48 hours to make sure nothing goes haywire. Last thing you'd want is a strange memory leak causing processes to go bezerk.

      Not to say that you haven't done that, but buyer beware. It makes no diff if it were linux, mac os x , windows, commodore 64. Don't randomly update things. Heck, sometimes us programmers create bugs in programs that are fixed by other bugs existing. Closing one may expose a new one.

      --

      -
      ping -f 255.255.255.255 # if only

    3. Re:patched it already by slashtom.org · · Score: 1
      So far with the 2.4 kernels there have been 2 that were quickly superceeded after some nasty bugs were found as a result of the patch being applied.

      I now wait at least a few days before applying a kernel patch. I'm not going to let something like my filesystem get trashed when all it takes is to wait a couple of days.

    4. Re:patched it already by ignipotentis · · Score: 2, Insightful

      And the difference between this and setting Windows Update to download automaticlly then inform you before proceeding with an install is? Basically all that has been proved is a good admin will stay on top of updates. And eveyone here gets confused when something isn't Microsofts fault.

      --
      Don't waste time... procrastinate now!
    5. Re:patched it already by dAzED1 · · Score: 1
      absofreakenlutely.

      did a kernel update a couple months ago that then bombed mysql. Could not for the life of me figure out what was wrong with mysql. Just wouldn't work. I then tried rebooting to the older kernel that had been in use the previous day...what the hell do ya know, mysql worked again. A whole freakin day wasted.

      Recompiling mysql fixed the problem, oddly enough. Never quite got what was going on, either - was too busy to try to figure it out.

    6. Re:patched it already by SilverSun · · Score: 1

      1. you can have the same and more with apt
      (works wonderfull with RH)

      2. No sysadmin in his right mind will allow
      RHN to reboot his mashines

      --

      KdenLive/PIAVE - non-linear video editing

    7. Re:patched it already by sporty · · Score: 1

      Point is, even if 100million people test, the kernel can affect your system in a particular way, resolving a bug which could really be a strut holding your entire infrastructure in place. Pulling it out would cause everything to crash.

      Remeber, burn in those new kernels with your new system. Screw waiting. Heck, you might be the one person a particular kernel works well for.

      --

      -
      ping -f 255.255.255.255 # if only

    8. Re:patched it already by Lxy · · Score: 2, Informative

      There is one difference: who do you trust?

      I trust Redhat not to slip spyware and weird license agreements into the kernel I'm downloading. I trust that it's an honest to God GPL'd kernel. Why? Because I'm a trusting person, and I haven't had any freakish incidents with Redhat.

      I don't trust Microsoft. I don't want code with God knows what hacked in with a license agreement that takes away my first born while installing.

      While I'm on the subject, I received an e-mail from Microsoft before I recieved the e-mail from RHN. I then had the option of doing a Windows Update or installing it manually. I chose manual, because MS doesn't know about my machine and I want to keep it that way.

      --

      There is no reasonable defense against an idiot with an agenda
      :wq
    9. Re:patched it already by lkturner · · Score: 1

      Copied directly from Redhat's website... "Red Hat Network Basic service level: $60/year per system subscription" If MS tried to do charge for Windowsupdate, Bill would be crucified.

    10. Re:patched it already by Lxy · · Score: 1

      1. you can have the same and more with apt
      (works wonderfull with RH)


      yes, but if there's an e-mail list for exploits with apt, I'm unaware of it. RHN seems to work better in Redhat than apt, no comparison on Debian based distros that apt hauls ass.

      No sysadmin in his right mind will allow
      RHN to reboot his mashines


      It doesn't reboot your machine unless you tell it to.

      --

      There is no reasonable defense against an idiot with an agenda
      :wq
    11. Re:patched it already by kasperd · · Score: 1

      The only reason not to update, is if you haven't QA'd (burn in test) your new kernel.

      There is no reason not to update. But of course some QA first would make sense for a production system. Review the patch, and test it on a nonproduction system. But don't wait many days before upgrading. The ptrace feature is not very important to production systems, so you wouldn't expect much to break. The flaw OTOH can potentially be a major problem. My uptime when I read this on /. was more than 22 hours - with an updated kernel.

      --

      Do you care about the security of your wireless mouse?
    12. Re:patched it already by DrXym · · Score: 2, Interesting
      It would be even more invaluable if Red Hat et al made RPM and their updates incremental. It is rather silly to expect people on 56k modems (of which there are still many) to download 30-50mb of patches to fix what probably amounts to 1mb at most of code changes. Kernel changes are particularly horrible - a one line patch means 35Mb download! How many users will bother with that? Now perhaps that's their own fault when they're rooted, but it's bad for everyone else too - a rooted box is a springboard for further attacks, not to mention dragging the reputation of Linux through the mud.


      Why isn't it possible to produce incremental binary patches containing just the diffs? Not only would it vastly increase the chances of people downloading them (which is good for everyone), it is good for Red Hat too since their bandwidth for up2date is slashed.


      Now obviously there are times when incremental diffs are not useful, but with the proper safeguards (e.g. checksums and backing up originals etc.) I don't see what the problem is. If anyone from Red Hat or RPM land is listening, please consider implementing this feature. Pretty please with a cherry on top.

    13. Re:patched it already by rwsorden · · Score: 1

      It's about time someone mentioned this. Also, RHN knows a whole heck of a lot about the machines you've registered.

    14. Re:patched it already by Narcissus · · Score: 1

      The reason he'd be crucified is because we'd still have to wait how long until the patch came through?

      Pay the $60 to Red Hat, check the time between flaw discovery and fix, and then compare to what MS have to offer.

    15. Re:patched it already by weave · · Score: 1
      Very wise advice. I've had some bad luck with rh 7.3 kernels of late. A few Redhat kernel updates ago, after an update, our main servers kept hanging, no panic, just hang. A later kernel update said it fixed a hanging condition in tg3 (gigabit ethernet driver). We installed it, hangs stopped. Then next kernel update, we installed it, hangs started again. Downgraded kernel, hangs stopped. Then yet another kernel update again listed tg3 hang fix. We installed that and ran it, no hangs.

      Now there is this latest kernel update. We immediately updated the box with user accounts that have shell access due to the risks, but the other systems we're not updating for now.

    16. Re:patched it already by caluml · · Score: 4, Insightful

      I would disagree.

      I much prefer it the way it is. Take Apache/ IIS as examples.
      If you're running 1.3.26, you're safe, and you know it.
      With IIS, if you're running IIS5, but with patch X, and patch y, and patch z applied before patch q, unless you have the MSSql patch r installed in which case you need patch f for IIS, and patch k for MSSql...

      They should do it the other way. Make it simple.
      If you're running IIS 5.0.185 then you're OK. Anything else, and you've got problems.

      Patches and stuff were OK during floppy disk days, and 28.8k modems. I'd much rather not have to worry about incrememental patches.

    17. Re:patched it already by DrXym · · Score: 2, Interesting
      I didn't mean that way. I mean if up2date says there is a new version e.g. 1.2.1 and you have 1.2.0, and there is an incremental diff available (i.e. 1.2.0-1.2.1) then it should fetch and apply that rather than fetching the whole 1.2.1 package which could be massive. After patching you now have 1.2.1 as if you had done rpm -Uvh on it.


      There is no 'hotfixing' or piece patching here. The result of the incremental diff is the same as installing the whole new version, just considerably easier to download. As I mentioned, a kernel update is 35mb of patches. I would be surprised if an equivalent incremental patch were more than a megabyte.

    18. Re:patched it already by drfreak · · Score: 1

      RHN is free for one machine. If you have more than one, you have to round-robin "entitle" each box to update them. Windows Update is really just appealing to the user's perception that they are buying new versions of windows for new features, not for bug fixes. They would probably get lynched if they charged for bug fixes because everybody knows how flawed Windows is.

      What is good about OSS is most of the software is already written so distribution companies can focus on adding value to Linux. Microsoft not only has to burn money on R&D, they also have to burn money on their OS.

    19. Re:patched it already by betis70 · · Score: 1

      >>Heck, sometimes us programmers create bugs in programs that are fixed by other bugs existing. Closing one may expose a new one.

      Preach on Brother Sporty!

      Just fixed a bug today that didn't exist in Sunday's build, but was found by QA. My former fix to Thrusday's bug (Friday's build) caused this one.

      Dammit, I hate it when I do that.

      --
      I forget...are we at war with Eurasia or East Asia?
    20. Re:patched it already by WNight · · Score: 1

      It's a local root hole. Do you give out accounts (at any privellege) to anyone else? If not, you should be safe waiting a day or two to see how other, more daring people fare. But, you are that person... Post back in a day or two and let us know how it works.

      It could be the purpose of your life is to serve as a warning to others.

    21. Re:patched it already by agurkan · · Score: 1

      himm, but this is a kernel patch, not only do you need to install it, you also need to reboot for the changes to take effect. RHN might be valuable but in this case it is not that useful.

      --
      ato
    22. Re:patched it already by ianezz · · Score: 1
      Why isn't it possible to produce incremental binary patches containing just the diffs?

      Better said: why not provide also rsync access to packages?

      After all, it is possibile that foo-x.y.z-N+1.arch.rpm is mostly the same as foo-x.y.z-N.arch.rpm (same for .deb packages).

      Or it could be as well that this is far from being true.

      Assuming (for the sake of the argument) it is true, unfortunately, rsync is NOT the right tool, since diffs are done on the fly and this would put huge workloads on the server side.

      But a tool specially crafted for this that makes a local copy of the package to update, retrieves via http all the needed patchsets (precomputed static files on the server-side), applies them in the proper order and does a bit of MD5summing to check if the result is right would be something nice to have.

      Probably there is something out there that already implements most of the needed functionalities (unfortunately I don't know where), since the idea is so simple.

    23. Re:patched it already by sporty · · Score: 1

      There is no reason not to update.


      Of course there is. If the patch breaks your system somehow. All you need is that one stupid piece of software that works in some strange, yet correct way, that brings in a lot of revenue, to break, because some admin didn't burn in a new system.
      --

      -
      ping -f 255.255.255.255 # if only

    24. Re:patched it already by rifter · · Score: 1

      1) Slackware 9.0 has not been released yet. Slackware 9.0rc1 was released and does not have the patch for this.

      2) I found no reference to this patch in the changelog
      for slackware-current.

    25. Re:patched it already by (startx) · · Score: 1

      you sir, are looking at the wrong Changelog.

      Slackware 9.0rc2, rc3, and final have all been released since the last time sourceforge updated. Get with the times.

    26. Re:patched it already by rifter · · Score: 1

      Well, heck, it was the rc3 changelog I was looking at, and the slackware one was unaccessable ... still, all I can say is Hooray! I have been waiting for the final release to come out before upgrading...

    27. Re:patched it already by Syberghost · · Score: 1

      If you're running Redhat, RHN is a valuable tool that no admin should be without.

      And which will shortly be a pay-only tool. It already requires filling out privacy-challenged surveys every 60 days to continue to use for free.

      Even Microsoft takes security seriously enough to make security fixes available conveniently and free, so that people will actually apply them. How many RedHat systems are going to go unpatched, thereby screwing things up for the rest of us, because of this lame-ass decision?

      Come on, RedHat, set up an apt-rpm server for security fixes!

  7. Here's the text of Alans post (minus the .diff) by Mish · · Score: 4, Informative

    Ptrace hole / Linux 2.2.25

    To: linux-kernel@vger.kernel.org
    Subject: Ptrace hole / Linux 2.2.25
    From: Alan Cox
    Date: Mon, 17 Mar 2003 11:04:35 -0500 (EST)
    Sender: linux-kernel-owner@vger.kernel.org

    -----------------------

    Vulnerability: CAN-2003-0127

    The Linux 2.2 and Linux 2.4 kernels have a flaw in ptrace. This hole allows
    local users to obtain full privileges. Remote exploitation of this hole is
    not possible. Linux 2.5 is not believed to be vulnerable.

    Linux 2.2.25 has been released to correct Linux 2.2. It contains no other
    changes. The bug fixes that would have been in 2.2.5pre1 will now appear in
    2.2.26pre1. The patch will apply directly to most older 2.2 releases.

    A patch for Linux 2.4.20/Linux 2.4.21pre is attached. The patch also
    subtly changes the PR_SET_DUMPABLE prctl. We believe this is neccessary and
    that it will not affect any software. The functionality change is specific
    to unusual debugging situations.

    We would like to thank Andrzej Szombierski who found the problem, and
    wrote an initial patch. Seth Arnold cleaned up the 2.2 change. Arjan van
    de Ven and Ben LaHaise identified additional problems with the original
    fix.

    Alan

  8. dead already? by zozzi · · Score: 3, Informative
    Slashdotted already? Try here: here

    --
    ---
    1. Re:dead already? by jhunsake · · Score: 1

      I'm not the anonymous coward above, but what you are pointing out is irrelevent. It would be easy to have a page with a redirect, or better yet, have the http server send a redirect header.

    2. Re:dead already? by gid · · Score: 1

      I tried the patch in this email and got a LOT of failed hunks, I copied and pasted into a file, and also tried save as in mozilla. I just looked at the source on that page and it looks like they added their own br's and other crap to the patch, which basically makes it unuseable. *sigh*

  9. In other news... by AnriL · · Score: 5, Informative

    And for the hax0rs without a local shell, there's a recent samba instant-remote-r00t vulnerability. Get your patches while they're hot!

    1. Re:In other news... by jedidiah · · Score: 1

      If you don't replicate the bugs in something like Samba you run the risk of your clone being incompatible with the original.

      Sad but true.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    2. Re:In other news... by molarmass192 · · Score: 1

      You beat me to it. There was an interview with Jeremy Allison in Linux Format sometime back where he said exactly that. The same problem exists with WINE whereby they're forced to replicate MS bugs in order to be compatible.

      --

      Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
    3. Re:In other news... by kasperd · · Score: 1

      If you don't replicate the bugs in something like Samba you run the risk of your clone being incompatible with the original.

      Of course that is true as long as the bugs are in the protocol. But it does not apply to exploits. Just because there are exploits in the original, you don't need to replicate those for compatibility.

      --

      Do you care about the security of your wireless mouse?
    4. Re:In other news... by Hentai · · Score: 1

      You do when the Windows OS uses those exploits to perform its routine file-sharing tasks.

      --
      -Hentai [in vita non pacem est]
    5. Re:In other news... by walt-sjc · · Score: 1

      Considering that MS has not released FULL documentation for SMB (they had a partial release of info that lacked certain details) the only way to implement it is to reverse engineer behavior you see in various Windows products - which means bugs and all.

  10. Love the headline by L.+VeGas · · Score: 3, Funny

    Lo-Cal Root Hole in Linux Kernels

    I think I saw this in an advertisement for granola.

    mmmm... breakfasty

    1. Re:Love the headline by TheDarkener · · Score: 2

      This just made me realise, if some cereal company were to make "Linux Kernels" cereal, the publicity would be tremendous!! Just think of the commercials!

      "Look Ma, there's no holes in my kernels!"
      "I know dear, that's why they are so good!"
      "Ma, I love Linux Kernels!"
      "And I love you, Billy!"

      "Linux Kernels. Get yours!"

      There could even be Tux on the front of the box!! People would dig it!!

      --
      It is pitch black. You are likely to be eaten by a grue.
  11. FYI, Red Hat Network Advisory by Znonymous+Coward · · Score: 2, Informative

    Red Hat Security Advisory

    Synopsis: Updated 2.4 kernel fixes vulnerability
    Advisory ID: RHSA-2003:098-00
    Issue date: 2003-03-17
    Updated on: 2003-03-17
    Product: Red Hat Linux
    Keywords: ptrace
    Cross references:
    Obsoletes: RHSA-2003:025-20 RHBA-2003:069-12
    CVE Names: CAN-2003-0127

    1. Topic:

    Updated kernel packages for Red Hat Linux 7.1, 7.2, 7.3, and 8.0 are now
    available. These packages fix a ptrace-related vulnerability that can
    lead to elevated (root) privileges.

    2. Relevant releases/architectures:

    Red Hat Linux 7.1 - athlon, i386, i586, i686
    Red Hat Linux 7.2 - athlon, i386, i586, i686
    Red Hat Linux 7.3 - athlon, i386, i586, i686
    Red Hat Linux 8.0 - athlon, i386, i586, i686

    3. Problem description:

    The Linux kernel handles the basic functions of the operating system.
    A vulnerability has been found in version 2.4.18 of the kernel. This
    vulnerability makes it possible for local users to gain elevated (root)
    privileges without authorization. This advisory deals with updates to
    Red Hat Linux 7.1, 7.2, 7.3, and 8.0.

    All users of Red Hat Linux 7.1, 7.2, 7.3, and 8.0 should upgrade to
    these errata packages, which contain patches to fix the vulnerability.

    4. Solution:

    Before applying this update, make sure all previously released errata
    relevant to your system have been applied, especially the additional
    packages from RHSA-2002:205 and RHSA-2002:206.

    The procedure for upgrading the kernel manually is documented at:

    http://www.redhat.com/support/docs/howto/kernel- up grade/

    Please read the directions for your architecture carefully before
    proceeding with the kernel upgrade.

    Please note that this update is also available via Red Hat Network. Many
    people find this to be an easier way to apply updates. To use Red Hat
    Network, launch the Red Hat Update Agent with the following command:

    up2date

    This will start an interactive process that will result in the appropriate
    RPMs being upgraded on your system. Note that you need to select the kernel
    explicitly on default configurations of up2date.

    --

    Karma: The shiznight, mostly because I am the Drizzle.

  12. Hole Found in Linux Server by ch-chuck · · Score: 5, Funny

    (Server Room, DP) A hole was found in 'cypress', one of the principle Linux file, email and web servers of Brapco Corp early today. "We were dusting out around the back", said Mike Koyro, IT manager of Brapco, "and there it was, right by the power supply." The hole was quickly verified by other members of the IT dept as "really there". Speculation that it may be a screw hole was quickly dispelled when Frank, chief scripting officer, pointed out it didn't have any threads, and no screws were found loose anywhere nearby. "If someone got in here and drilled it during the night, they sure did a clean job - there's no shavings on the floor and the hole has no burrs" observed Mike. "It was either a professional job, with a sharp bit and machining oil, or a manufacturing defect". Calls to Linux Security were unanswered as of press time.

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
  13. IT'S IN ENGLISH!!! by strredwolf · · Score: 4, Funny

    Haleulia and pass the green beer. It's not in Welsh.

    BTW: If you haven't read, or tried to read, Alan's blog you won't get the joke.

    --

    --
    # Canmephians for a better Linux Kernel
    $Stalag99{"URL"}="http://stalag99.net";
    1. Re:IT'S IN ENGLISH!!! by cyb97 · · Score: 1

      Speaking of green...
      It was saint paddy's day yesterday, so I wonder how in the hell Mr. Cox could nail a bug today...
      I know I couldn't do something like that the day after...

    2. Re:IT'S IN ENGLISH!!! by Varitek · · Score: 1

      I'm a fluent Welsh speaking geek who reads Alan's diary. That probably just makes the two of us, and Alan isn't even that fluent yet.

    3. Re:IT'S IN ENGLISH!!! by chrisseaton · · Score: 1

      "saint paddy's day" is for the Irish you moron. Cox is Welsh.

    4. Re:IT'S IN ENGLISH!!! by cyb97 · · Score: 2, Funny

      Like the welsh doesn't use any excuse to get drunk?
      Come one grow up! Anybody that knows about st. paddy uses it as an excuse to get smashed on a monday!

    5. Re:IT'S IN ENGLISH!!! by Jouster · · Score: 1

      And I'll sell you Welsh if you need to brush up.

      Latin, Welsh, Swahili--all languages that are very hard to find in computer-based language-learning products--and, of course, they don't have the Rosetta Stone method, which kicks some serious ass.

      Jouster

    6. Re:IT'S IN ENGLISH!!! by Kourino · · Score: 1

      It's only in English because BitKeeper isn't involved -_^

    7. Re:IT'S IN ENGLISH!!! by TheRaven64 · · Score: 4, Interesting
      Welsh has the most glaring deficit of vowels and proper spelling.

      Actually, Welsh has more vowels than English, and is spelt almost entirely phonetically. It's hard for English speakers to read since it uses the same characters to represent different sounds (Yes, I have had to listen to Alan rave about how wonderful Welsh is...). The most confusing thing I find about welsh is the way words 'mutate', that is to say their pronunciation changes depending on the syllable preceding or following them to make the sentence flow more easily.

      It is sometimes useful to know a language that no-one else in the room speaks, and I think that this is one of Alan's reasons for learning, but I prefer Latin for this purpose. The structure is more logical.

      --
      I am TheRaven on Soylent News
    8. Re:IT'S IN ENGLISH!!! by juan2074 · · Score: 1

      Less than one-quarter of the population in Wales can even speak Welsh. Apparently, at least one person can even read and write it.

    9. Re:IT'S IN ENGLISH!!! by TKinias · · Score: 1

      scripsit TheRaven64:

      It is sometimes useful to know a language that no-one else in the room speaks, and I think that this is one of Alan's reasons for learning, but I prefer Latin for this purpose. The structure is more logical.

      Beware on two fronts. First, it is dangerous to assume that people don't speak the language you're using. I have had friends burned this way with several languages, not expecting (for example) that people in Arizona speak Hebrew, or that people in Germany speak Greek. Or that cute blonde English girls speak both modern colloquial and classical Arabic.

      Also, with Latin in particular, most European languages have enough Latin vocabulary that people may pick up what you're saying... If you shoot me a look and say to your buddy ``asinus est ille Americanus,'' I don't need a whole lot of Latin to know you just insulted me.

      --
      In principio creauit Linus Linucem.
  14. Time to patch my IIS^H^H^HKernel by Richard_at_work · · Score: 3, Interesting

    Soooo, i wonder how many posts will appear here along the lines of those in the WebDav exploit story earlier. Not many im willing to bet.

    Those people willing to shout and hollor at every serious issue, screaming bloody murder because someone got it wrong, really pisses me off. Yes people get it wrong, they write insecure code from time to time. This issue and a number of those before it show that Linux has as many opportunities for exploitation as any other OS.

    1. Re:Time to patch my IIS^H^H^HKernel by suicidal · · Score: 2, Insightful

      lol
      Too bad this was only exploitable locally. Any secure server would not have local access available to users. I have to agree, but not as a zealot. Bugs will happen but Linux development seems to have them patched instantly, whereas Microsoft's ploy is play dumb until the patch is released, and then act like they did it overnight.

    2. Re:Time to patch my IIS^H^H^HKernel by skrowl · · Score: 1, Offtopic

      The default configuration of URLScan prevents the WebDAV vulnerability from being exploited. URLScan is a part of the IIS Lockdown tool. For more information about URLScan, visit the following Microsoft Web site: http://www.microsoft.com/technet/security/URLScan. asp

      --

      Prevent linux based DDOS's!
      http://linux.denialofservice.org/
    3. Re:Time to patch my IIS^H^H^HKernel by Albanach · · Score: 1
      Surely there's a world of difference between a hole that's remotely exploitable and one that can only be exploited by a local user. Web servers, mail servers (properly configured as 'black boxes'), firewalls, routers etc are all unlikely to be affected if the only user account is actually root).

      Then we have timescale - the BBC are reporting here that the US Army were caught out by the Microsoft hole as much as 2 weeks ago, yet a patch didn't turn up until now. Here we have a patch before any known exploits are running in the wild. That's the big difference.

      Every operating system has its vulnerabilities. Nonetheless, if the vendor refuses to acknowledge them and your OS is closed source there's nothing you can do. If it's open source at least you know that when a problem comes along you'll be able to get it fixed.

    4. Re:Time to patch my IIS^H^H^HKernel by FroMan · · Score: 1

      remote local

      Two different things. Not that this isn't an issue, but they are two different problems.

      But, but then trolls will be trolls.

      Patch'm up folks.

      --
      Norris/Palin 2012
      Fact: We deserve leaders who can kick your ass and field dress your carcass.
    5. Re:Time to patch my IIS^H^H^HKernel by dAzED1 · · Score: 1
      "This issue and a number of those before it show that Linux has as many opportunities for exploitation as any other OS."

      That's some pretty interesting logic you have goin there. Might I suggest though that for there to be "as many opportunities for exploitation as any other OS" that there would have to be, in fact, the same #? I believe windows was at more than just a few major issues at last count, and even quite a few that are still unresolved. The fact that once something is discovered its fixed within hours also plays really heavy on the "opportunities" side, versus the fact that fixes take eons from some vendors after they are known...

      And I won't even go in to your "any other OS" part...*any*? yeahhh....

      Keep in mind that samba is NOT "linux," its just a tool that people run on it. I'm willing to include in the umbrella tools that are needed to make the OS usable (a shell, for instance), but really...the OS team can't be expected to secure every freaking tool that anyone puts out, even if its as useful as the samba suite.

    6. Re:Time to patch my IIS^H^H^HKernel by Jouster · · Score: 1
      Any secure server would not have local access available to users.
      The advantage of *NIX is that this is not the case. My secure servers are where the source code for my company's projects are housed, and where nightly builds live. Not everyone with access to builds should have the capability to grab all the source, or exploit trust relationships between that box and backup boxen, etc....

      Jouster
    7. Re:Time to patch my IIS^H^H^HKernel by 1010011010 · · Score: 1


      Let it piss you off. There's a difference, though -- MSFT software is usually broken by design, problems are common, and they don't fix it or even admit to it until forced to; whereas Linux problems are bugs, more rare, fixed more quickly, and admitted up front.

      --
      Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
    8. Re:Time to patch my IIS^H^H^HKernel by Grax · · Score: 1

      Why in the world is URLScan not installed by default?

      Why in the world is WebDAV installed by default?

    9. Re:Time to patch my IIS^H^H^HKernel by juan2074 · · Score: 1
      Linux has as many opportunities for exploitation as any other OS.

      That is not necessarily true. I would say that the way OS developers do their work can help prevent many security holes in the first place.

      Open source allows everyone to look at the code. Anyone can find problems, and anyone can fix problems.

      OpenBSD developers take it to the extreme with code audits and work extra hard to prevent buffer overflows.

      This ptrace flaw was discovered and patched by Andrzej Szombierski.

      In theory, every person putting together an OS should do code audits and be on the lookout for buffer overflows, but that does not always happen in reality.

    10. Re:Time to patch my IIS^H^H^HKernel by jdrugo · · Score: 1

      You have IIS?

      Holy shit, your fucked!

    11. Re:Time to patch my IIS^H^H^HKernel by timeOday · · Score: 1

      What irritates me is people who insist that Arizona and Washington state have different climates. The fact is, they both have sunny days and rainy days.

    12. Re:Time to patch my IIS^H^H^HKernel by SurfsUp · · Score: 1

      This issue and a number of those before it show that Linux has as many opportunities for exploitation as any other OS.

      You're talking out of your ass. This is a local root exploit, the black hat has to get a shell first.

      --
      Life's a bitch but somebody's gotta do it.
  15. Hrm by B3ryllium · · Score: 3, Funny

    I guess they were just trying to out-do the IIS hole.

    Ah well ... there's always "linux single" ... :)

  16. Re:Kernel Patches by NetJunkie · · Score: 2, Informative

    When does it take a week? The WebDav exploit? That's because blackhats found it... They usually don't disclose.

  17. Known exploits? by rf0 · · Score: 1

    Are there any know exploits for this yet? Has anyone scene this in practice?

    Rus

    1. Re:Known exploits? by Soko · · Score: 2, Funny

      The Linux 2.2 and Linux 2.4 kernels have a flaw in ptrace. This hole allows
      local users to obtain full privileges. Remote exploitation of this hole is
      not possible
      . Linux 2.5 is not believed to be vulnerable.


      It isn't a remote exploit. Anyone who is foolish enough to attempt to h4X0r your b0X0rz with this vulnerability is within the normal attack range of a LART.

      Please, do patch any affected machines you have as soon as possible, but don't *ahem* panic.

      Soko

      --
      "Depression is merely anger without enthusiasm." - Anonymous
    2. Re:Known exploits? by datastew · · Score: 1

      Actually, if I am understanding these informative slashdot posts correctly, the attacking person does not have to be within range of a cluebat to exploit this flaw.

      The remote/local designation refers to whether the attacker already has a valid username/password on your vulnerable system. It does not refer to the physical location of the attacker.

  18. ptrace() again? by misof · · Score: 5, Informative

    This is already at least the second problem somehow connected with ptrace() in the kernel. Kernels prior to 2.2.19 were vulnerable to a race-condition attack, that enabled local users to gain root privilegies. This was one of the most "famous" problems in last years and it's known as the execve/ptrace exploit.

    More details:

    This vulnerability exploits a race condition in the 2.2.x Linux kernel within the execve() system call. By predicting the child-process sleep() within execve(), an attacker can use ptrace() or similar mechanisms to subvert control of the child process. If the child process is setuid, the attacker can cause the child process to execute arbitrary code at an elevated privilege. There are also other known lesser security issues with Linux kernels prior to 2.2.19 which have been noted as fixed.
    1. Re:ptrace() again? by Ben+Hutchings · · Score: 1

      It seems to me that it ought to be possible to disable ptrace(2) on a system-wide basis, as it is likely to be a source of vulnerabilities and will rarely be used on a production box (AFAICS).

  19. Re:This has to be erroneus. by Anonymous Coward · · Score: 1, Insightful

    Perhaps a better question to ask would be "Would this bug have been discovered had the source not been open to the public?"

  20. Re:Linux disclosure procedures? by N3WBI3 · · Score: 2, Interesting

    1) umm, I got a mail from redhat about this same as I get something from MS.
    2) I think you worry about crackers knowing not hackers, hackers fix problems like this. Also as anyone in a production environment knows just because MS does not publish it does not mean that people dont know before they have a fix. Also the time to deploy a MS patch in production is much longer due to shutdowns and testing.
    3) As opposed to almost *ALL* MS updates which requres a restart of every server in your company Woo Hoo!
    4) ??? 5) Profit

    --
  21. Re:Linux disclosure procedures? by ichimunki · · Score: 5, Informative

    I don't know. Let's ask the U.S. Army what they think of Microsoft after the latest server hacking.

    --
    I do not have a signature
  22. Re:Linux disclosure procedures? by Anonymous Coward · · Score: 2, Interesting

    However, quoting some guy further down the page:

    A Windows vulnerability is discovered and it takes a week or more to get it taken care of.

    The Linux kernel has a vulnerability and the patch is available immediately.

  23. Don't forget us 2.0.x users. by Anonymous Coward · · Score: 1, Insightful

    It may be old, but it's still useful.

    1. Re:Don't forget us 2.0.x users. by Lxy · · Score: 1

      I don't doubt that you have reasons for using a 2.0.x kernel. I know old software has its value. I just want to know, why? What makes 2.0.x better for you than a 2.2 or 2.4 kernel?

      --

      There is no reasonable defense against an idiot with an agenda
      :wq
    2. Re:Don't forget us 2.0.x users. by schon · · Score: 2, Informative

      What makes 2.0.x better for you than a 2.2 or 2.4 kernel?

      Depends on the box. A better question is "what makes 2.2 or 2.4 better for me than 2.0?"

      I have a few 2.0.x boxes kicking around that "just work".. they've never been down, there are no known exploits for them, and users would be pissed if I took them down to upgrade them.. so it just makes sense to leave them as is.

      If I upgrade them, it's more work, not to mention the inevitable downtime.

      If I leave them be, it's less work, with no gain (there's nothing that 2.2 or 2.4 will do that I need for these boxes.)

      Pretty simple decision.

      If/when they break, I'll replace them with something newer.. but until then, I'll just leave them be.

    3. Re:Don't forget us 2.0.x users. by eeek · · Score: 1

      I know of a VOIP gateway product that uses a 2.0 kernel. There is no good reason to change to a newer kernel and doing so would require updating several device drivers.

  24. Re:Huh by ageOfWWIV · · Score: 4, Funny

    We're not patching, we're in denial.

    --

    ____
    ATS11=0 the secret to beating everyone else to a 1 line board.
  25. Noone ever said Linux/BSD is perfect by nurb432 · · Score: 3, Insightful

    But at least they admit it when there are problems. As does the BSD crowd too.

    And *nix is still a hell of a lot closer to perfect..

    --
    ---- Booth was a patriot ----
  26. Re:This has to be erroneus.(aehm erroneous) by Anonymous Coward · · Score: 1, Funny

    English is my second language, but I`m pretty sure
    it should be erroneous.
    Or was that on purpose? That`d be funny.

  27. To all the windows bashers... by EZmagz · · Score: 5, Interesting
    Nobody's safe.

    I hate to say it, but this is kind of refreshing. This ins't a troll, so don't get me wrong...I'm a linux user myself. But after seeing the masses rip into MS yesterday when the thread about the IIS 5.0 hole was posted, I got a tad frustrated. Granted, I hate Microsoft as much as the next guy, but this just goes to show you that it's NOT just Microsoft that falls prey to holes and exploits. If it runs an OS, there's a chance it'll be cracked. Simple as that.

    Hell, the linux kernel is without a doubt one of the most audited open source projects out there, and this bug STILL didn't surface until 2.4.20. Of course, I applaud the speed and availibility of patches and workarounds to the bug. Just remember, it happens to everyone.

    --

    "Hell hath no fury like a woman scorned for SEGA. ..."

    1. Re:To all the windows bashers... by negacao · · Score: 1
      Yes, it happens to everyone.

      But this is a local-root exploit. WebDav thing/nimda/code red/etc were all windows exploits that allowed remote-root..

      Big difference there; I'm not even going to patch my machines, because I'm the only user.

      :)

    2. Re:To all the windows bashers... by nathanh · · Score: 1
      ... but this just goes to show you that it's NOT just Microsoft that falls prey to holes and exploits. If it runs an OS, there's a chance it'll be cracked. Simple as that.

      Well, duh. You make it sound like you only realised this last week. Welcome to the 1960s, kid.

    3. Re:To all the windows bashers... by Grax · · Score: 1

      Sure these are valid points. Feeling smug will get you nowhere.

      But the IIS 5.0 hole falls squarely into the realm of "we could have lessened the impact of this bug had we not made the default options that insecure"

      Why isn't URLScan installed by default? Why is WebDAV enabled by default?

    4. Re:To all the windows bashers... by Dalcius · · Score: 1

      Anyone who is admining a server and can't understand anything more complex than "start->windowsUpdate->download->reboot" shouldn't be admining a server.

      The rebooting issue pulls up another point: very few Linux holes reported involve the kernel. Rebooting mission critical servers to fix a hole in a sub-program is inane. It's just bad programming to restart the entire system when one minor level needs a change.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    5. Re:To all the windows bashers... by Dalcius · · Score: 1

      I should add, I am not implying that Linux is often much more difficult to fix than using Windows Update. I've never had problems with up2date, and speaking as how other package management systems are much better IMO (portage, apt-get, etc.), that's saying quite a bit about Linux.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    6. Re:To all the windows bashers... by jelle · · Score: 3, Insightful

      Sure, both are security bugs, but of a totally different order of magnitude.

      The IIS hole was a remote exploit including privilege escalation open to abuse by anybody on the Internet, and the kernel one was a local privilege escalation open to abuse by system users with shell access or other capability to run&abuse ptrace(). If you have untrusted local users, you should run them in a UML or vservers/ctx anyway so thay if they escalate privileges, they still can't harm the system.

      Plus, the IIS bug was found after US ARMY web sites were getting hacked, and the kernel bug was found by a developer that was auditing/working on part of the code and patch available before any bad guy got to it.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    7. Re:To all the windows bashers... by SN74S181 · · Score: 1

      the kernel bug was found by a developer that was auditing/working on part of the code and patch available before any bad guy got to it.

      The kernel bug was publicized by the first white-hat developer who found it. 'Bad guys' who found it will now be pissed.

    8. Re:To all the windows bashers... by jelle · · Score: 1

      You're just speculating. Where was it used then?

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    9. Re:To all the windows bashers... by horza · · Score: 1

      I hate to say it, but this is kind of refreshing. This ins't a troll, so don't get me wrong...I'm a linux user myself. But after seeing the masses rip into MS yesterday when the thread about the IIS 5.0 hole was posted, I got a tad frustrated. Granted, I hate Microsoft as much as the next guy, but this just goes to show you that it's NOT just Microsoft that falls prey to holes and exploits. If it runs an OS, there's a chance it'll be cracked. Simple as that.

      The feeling you felt of frustration arose from a mixture of anger and helplessness. This is the same feeling a Sys Admin gets when there is a bug in IIS and MS refuses to acknowledge it or they are slow in getting a patch out. With Open Source you don't get that same helplessness, which manifests itself on forums like Slashdot in the form of less bashing.

      Just remember, it happens to everyone.

      That's not good enough. What happens *after* is also crucial.

      Phillip.

    10. Re:To all the windows bashers... by SN74S181 · · Score: 1

      The grandparent comment was speculating in much the same way. I was just pointing out the contradiction.

  28. Stupid question... by Eneff · · Score: 1

    "Remote exploitation of this hole is
    not possible."

    Does that mean you have to be at the keyboard, or does that mean you have to have access to the box itself? (a shutdown/restart exploit?)

    1. Re:Stupid question... by Xerithane · · Score: 4, Informative

      Does that mean you have to be at the keyboard, or does that mean you have to have access to the box itself? (a shutdown/restart exploit?)

      This means that you have to already have an existing user account on the system, running in user space. You cannot exploit the box without having (control of) a user account.

      If you are at the keyboard, you can usually get root instantly on Linux. "lilo: linux single"

      --
      Dacels Jewelers can't be trusted.
    2. Re:Stupid question... by ygbsm · · Score: 1

      means they have to have an account on the machine . . . usually (always??)local exploits can still be executed via some sort of remote shell (ssh, telnet, rsh, etc)

    3. Re:Stupid question... by DarkMan · · Score: 3, Informative

      A remote exploitation means that if your are connected to the internet, (And, in the case of a server deamon, running the affected daemon), then a remote attacker (== only using net acesses) can obtain root privs.

      A local exploit menas that the attacker must be first logged in as a local user (i.e. have a valid account, or have exploited a server daemon to obtain local, unprivildiged access).

      Attacks that require you to have physical acess to the box are generally not classified, as these will always exist (through boot disks, etc), and as thus not audited for.

      It is a common practice to use an insecure deamon to first get local acess, then to use a local root hole, such as this one.

      Hope that helps - the jargon is dense, but useful.

    4. Re:Stupid question... by CableModemSniper · · Score: 1

      To expand on this question, is being a "local" user logged in thru ssh "local" enough to exploit this?

      --
      Why not fork?
    5. Re:Stupid question... by dissy · · Score: 1

      It just means you need to be able to run code on the machine somehow.

      Remote exploits allow you to run code on a machine with no access.
      Local exploits dont, so you have to already have that ability.

      If you are a regular old user on a machine, you can get root this way.

      If you can exploit a jailed app (IE bind or apache in a chroot jail) this bug will raise you from user nobody to root.

    6. Re:Stupid question... by James_Duncan8181 · · Score: 1
      In this case please take out your adimin and shoot him as he is too stupid to live.

      Our machines here (high-sec enviroment) boot from network and my extremely locked down server checksums the bootblock (checksum and boot block are on non writable, non-removable media). Yes, we're paranoid.

      --
      "To any truly impartial person, it would be obvious that I am right."
    7. Re:Stupid question... by Xerithane · · Score: 1

      In this case please take out your adimin and shoot him as he is too stupid to live.

      I'm just saying, in general. For my home machines, I don't bother with this. If someone breaks into my home, I doubt they care about any software based security, as they can just take the hardware. Depending upon the security necessary in your environment, it changes what you do.

      Our machines here (high-sec enviroment) boot from network and my extremely locked down server checksums the bootblock (checksum and boot block are on non writable, non-removable media). Yes, we're paranoid.

      What about someone bringing in a laptop and connecting it to the network? I've seen fairly high security environments that never took that into account.

      --
      Dacels Jewelers can't be trusted.
    8. Re:Stupid question... by James_Duncan8181 · · Score: 1
      Your laptop would have to have the correct bootblock. If you did install this bootblock it would turn over nearly all control of your machine over to our server at which time you would not have access to any hardware on your machines save network card, video card keyboard and mouse. You would then reach a prompt demanding a username and password within 30sec. If you failed to insert a valid combo then security would be paged. If you did insert a correct combo then your machine would become a dumb client on the server.

      This is all slightly moot as the fact that your network card did not have a recognised MAC address for that network cable would have alerted security about .2 seconds after your machine passed POST.

      I could go on but I might have to shoot you. ;)

      --
      "To any truly impartial person, it would be obvious that I am right."
    9. Re:Stupid question... by Xerithane · · Score: 1

      This is all slightly moot as the fact that your network card did not have a recognised MAC address for that network cable would have alerted security about .2 seconds after your machine passed POST.

      This is actually what I was looking for as an answer :-)

      I could go on but I might have to shoot you. ;)
      Oh damn, not again...

      --
      Dacels Jewelers can't be trusted.
    10. Re:Stupid question... by James_Duncan8181 · · Score: 1
      We did once have someone who spoofed a MAC addy for us as a proof-of-concept (IBM sec team) which is why I mentioned the other sec stuff.

      Got any cool and unusual stuff on your site?

      --
      "To any truly impartial person, it would be obvious that I am right."
    11. Re:Stupid question... by Xerithane · · Score: 1

      Got any cool and unusual stuff on your site?

      Where I am working now, security from an internal point of view is non-existent. The only place that I've worked that has good security, I'm not really allowed to talk about because of all those pesky NDA type things. *shrug*

      --
      Dacels Jewelers can't be trusted.
  29. Re:Kernel Patches by kfg · · Score: 2, Funny

    Who's a sysadmin to trust?

    Ummmmm, Ghostbusters?

    KFG

  30. I'm not going to patch. by gosand · · Score: 2, Insightful
    Soooo, i wonder how many posts will appear here along the lines of those in the WebDav exploit story earlier. Not many im willing to bet. Those people willing to shout and hollor at every serious issue, screaming bloody murder because someone got it wrong, really pisses me off. Yes people get it wrong, they write insecure code from time to time. This issue and a number of those before it show that Linux has as many opportunities for exploitation as any other OS.

    I hate when I choose to reply instead of mod, but this needs to be said - they aren't the same!

    I am not going to patch my Linux systems. Why? Because it isn't possible to exploit this vulnerability remotely. The only local user on my machine knows the root password (me). So it isn't quite the same severity as a bug in a widely distributed webserver. Yes, they are both serious, but compare apples to apples. (not that your comments aren't correct, just that you need to make them at the right time.)

    --

    My beliefs do not require that you agree with them.

    1. Re:I'm not going to patch. by siteTHREE · · Score: 5, Insightful

      Have you considered the possibility of someone exploiting a non-root remote hole on your box and now having the ability to escalate themselves to root?

    2. Re:I'm not going to patch. by duplicate-nickname · · Score: 1

      It's Linux. That's unpossible.

      --

      ÕÕ

    3. Re:I'm not going to patch. by bytor4232 · · Score: 1

      Only if your unfiltered ports to the dirty network are not patched. General rule: Anything that touches a dirty network gets updated immediatly. Everything else can wait. IP Tables works wonders for putting together a secure box. And no, not all accounts on a system should have a shell. Any E-Mail account should definatly not have a shell.

      --
      -- 4 8 15 16 23 42
    4. Re:I'm not going to patch. by gosand · · Score: 3, Funny
      Have you considered the possibility of someone exploiting a non-root remote hole on your box and now having the ability to escalate themselves to root?

      Well, I, ahhh....

      Shut up!

      Would someone please mod my previous post down as "fingers faster than brain"?
      Thank you.

      --

      My beliefs do not require that you agree with them.

    5. Re:I'm not going to patch. by Havokmon · · Score: 2, Insightful
      Have you considered the possibility of someone exploiting a non-root remote hole on your box and now having the ability to escalate themselves to root?

      EVERYBODY plays the odds:

      FIRST: a user has to exploit *A* remote exploit. Which one? Could be anything. Most exploits are either popular services, or shots in the dark. Patch the popular services, and you've defeated 90% of the scans. Remember, there's safety in numbers, and the vast amount of hosts on the internet just makes it less likely you'll even been scanned in the first place - and even less likely that your exploitable remote hole is discovered... (But, yes, definately patch outside services)

      SECOND: As a cracker, once you've got that local exploit, what root exploit do you try and take over? Granted, you may have an unlimited amount of time to scour the system for vulnerabilities, but unless that system is actually WORTH something to you, you'll just move onto something easier.

      Ease of use, it's the American way. Sure, you may say it's security by obscurity, but deadbolts are EXACTLY the same thing. Any idiot can break down the door or pick the lock.. it's just easier to get into a home with a door that's already open.

      --
      "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
    6. Re:I'm not going to patch. by smcavoy · · Score: 1

      Well officer I locked the front door, didn't occur to me that I should lock the windows AND the back door. :)

    7. Re:I'm not going to patch. by saskwach · · Score: 1

      If someone knows how to get remote access to my box through some exploit, then escalate themselves to root, this patch won't affect that. That's why they call it a local exploit.

    8. Re:I'm not going to patch. by humphrm · · Score: 2, Interesting

      How about "Security-By-Not-Having-Anything-Of-Any-Real-Inter est-To-Crack" on my system?

      --
      -- "In order to have power, I must be taken seriously." -Mojo Jojo
    9. Re:I'm not going to patch. by einhverfr · · Score: 1

      How about "Security-By-Not-Having-Anything-Of-Any-Real-Inter est-To-Crack" on my system?

      Doesn't cut it....

      Someone could *put* something of interest on your system-- kiddie porn, warez, etc. So free hard disk space is something of interest to a cracker. I have seen cases where this sort of thing has happened.

      Also your interenet could be of interest as well-- one can use it to leapfrog to other systems and implicate you.... Or they could install a DDOS client... Or many other things....

      Security-- it is not just for businesses.

      --

      LedgerSMB: Open source Accounting/ERP
    10. Re:I'm not going to patch. by Craig+Davison · · Score: 1
      If someone knows how to get remote access to my box through some exploit, then escalate themselves to root, this patch won't affect that.
      You misunderstand. This vulnerability is what would escalate them to root.

      That's why they call it a local exploit.
      'Local exploit' means the attacker needs at least the ability to execute code as an unpriviliged user. As others here have said, 'local exploits' are step 2 after you've exploited apache, or ftpd, or sshd or whatever.

    11. Re:I'm not going to patch. by BlackHawk-666 · · Score: 1
      Yeh, that'll work - just hoping that because there's so many machines out there no-one will want to attack yours. Unfortunately, as the number of machines increases, so too does the number of crackers. Here's an extract from my portsentry logs for the last week:

      1047482497 - 03/12/2003 15:21:37 Host: 211.22.92.214/211.22.92.214 Port: 1433 TCP Blocked
      1047525721 - 03/13/2003 03:22:01 Host: CPE00045a92c3ba-CM014280100907.cpe.net.cable.roger s.com/24.42.75.140 Port: 1433 TCP Blocked
      1047532272 - 03/13/2003 05:11:12 Host: 206.muka.htfd.washdctt.dsl.att.net/12.101.58.206 Port: 1433 TCP Blocked
      1047632475 - 03/14/2003 09:01:15 Host: pD9512AC9.dip.t-dialin.net/217.81.42.201 Port: 1433 TCP Blocked
      1047637241 - 03/14/2003 10:20:41 Host: p5083F99D.dip.t-dialin.net/80.131.249.157 Port: 1433 TCP Blocked
      1047761332 - 03/15/2003 20:48:52 Host: 217.166.59.67/217.166.59.67 Port: 1433 TCP Blocked
      1047779059 - 03/16/2003 01:44:19 Host: 61-221-147-250.HINET-IP.hinet.net/61.221.147.250 Port: 6667 TCP Blocked
      1047779552 - 03/16/2003 01:52:32 Host: a213-22-7-237.netcabo.pt/213.22.7.237 Port: 1433 TCP Blocked
      1047782754 - 03/16/2003 02:45:54 Host: 1Cust39.tnt1.ladue.mo.da.uu.net/65.239.144.39 Port: 1080 TCP Blocked
      1047893734 - 03/17/2003 09:35:34 Host: 195.243.243.19/195.243.243.19 Port: 1433 TCP Blocked
      1047995484 - 03/18/2003 13:51:24 Host: 63.211.23.16/63.211.23.16 Port: 1080 TCP Blocked
      1048017581 - 03/18/2003 19:59:41 Host: 211.217.75.89/211.217.75.89 Port: 1433 TCP Blocked
      1048052387 - 03/19/2003 05:39:47 Host: 196.3.64.50/196.3.64.50 Port: 1433 TCP Blocked
      1048061209 - 03/19/2003 08:06:49 Host: 208.186.1.175/208.186.1.175 Port: 3389 TCP Blocked

      I used to get about 50 scans/day six months ago but apparently firewalling the little creeps out on first port scan is working a treat.

      --
      All those moments will be lost in time, like tears in rain.
    12. Re:I'm not going to patch. by Havokmon · · Score: 1
      Also your interenet could be of interest as well-- one can use it to leapfrog to other systems and implicate you.... Or they could install a DDOS client... Or many other things....

      Do you have a bomb shelter built yet? It doesn't matter WHERE you live, you could always be in the path of a missle. Are you telling me you spend more time on the 'virtual' possibilites, than on saving the lives of you and your family?

      Why? You must have weighed the odds and figured it was unlikely it would happen.

      Sounds like my computer security 'thought processes' are the same as your life security :P

      --
      "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
    13. Re:I'm not going to patch. by Havokmon · · Score: 1
      I used to get about 50 scans/day six months ago but apparently firewalling the little creeps out on first port scan is working a treat.

      Apparently? I doubt it. You really think they're coming from the same IP's over and over? If you're getting scanned by the same IP, it's just an infected system with an automated script on it (looking for existing vulns). Half of what you've posted is dynamic.

      All you're doing (if you don't go clear your blocks) is slowly blocking the whole of the internet one IP at a time.

      A cracker using the same IP? That would be breaking pre-internet Rule #1: Thou Shalt not phreak from thine own phone lines.

      --
      "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
    14. Re:I'm not going to patch. by einhverfr · · Score: 1

      Do you have a bomb shelter built yet?

      This is an interesting question-- but I do make sure I have good stores of dry foods, etc. in the event of an earthquake, etc.

      I am not going to be patching this partivular vulnerability until it has been out for a little while to make sure that it works with all the software (noticing that it changes a few other things as well) and that other bugs are not introduced which might cause other problems, Since I am the only interactive user, I am not worried as much about this so much as I am worried about my services themselves. This is where i focus 90% of my energy because it is the most important security boundary that is there.

      --

      LedgerSMB: Open source Accounting/ERP
    15. Re:I'm not going to patch. by BlackHawk-666 · · Score: 1
      I clear them down every few weeks so I don't "slowly block the whole internet" as you say. I think you give the cracker kids too much credence. Most of these hits are just dumbfucks with a scanning tool or script kiddies. They're firewalled within a second of starting their scan (all the interesting ports on my machine except for the very few that have legitimate services are firewalled and port sentried). A serious cracker would compromise another host first and then use that to get mine - regardless, the effect is the same. The box that is attacking/probing mine is locked out and can't come back again until next time I reset my firewall. Since I don't give a crap about serving up content to any but a few friends (and friends don't let friends portscan other friends machines) it's no loss to me to be restricting access to compromised machines.

      I do see attacks coming from familiar netblocks in the logs - many from the segment I am on as they portscan the whole x.x.x.x/16 range. These rogue nodes get shutdown until they get assigned another address from their DHCP server - which might be several days or longer. Mine only changes every few weeks.

      I could conduct an experiment to see if allowing them to continue their work uninterupted would result in more hits against portsentry, but I like knowing that they're locked out before they get too much intel.

      --
      All those moments will be lost in time, like tears in rain.
    16. Re:I'm not going to patch. by Negatyfus · · Score: 1

      You only need to be able to run abritrary code as that user. Then you can spawn your own shell. Also, last time I checked IPTables didn't close all buffer overrun flaws in servers run on ports that NEED to be open to the "dirty network."

    17. Re:I'm not going to patch. by bytor4232 · · Score: 1

      But if you keep the open ports updated, you dont have to worry about buffer overruns or arbitrary code. For example, on one of my servers I only have OpenSSH and Apache. Both are up to date, with no known security problems.

      --
      -- 4 8 15 16 23 42
    18. Re:I'm not going to patch. by Negatyfus · · Score: 1

      Which doesn't mean there aren't any. Sure, the chance that anyone will be able to exploit an as-of-yet undiscovered hole before the good guys discover it is perhaps pretty small, but nonetheless existant. And then, of course, you have the threat of poorly written PHP or CGI applications, if you do that sort of thing with your Apache.

  31. Root Kit by Jason1729 · · Score: 1

    Once the patch is installed, is there any way I can be sure my system hasn't been rootkitted without doing a clean install?

    Jason
    ProfQuotes

    1. Re:Root Kit by Tom7 · · Score: 5, Informative

      No, but a good bet is to reinstall MD5-verified binaries of netstat and ps, and then look for suspicious processes or network servers. All of the rootkits I've seen work by running a hidden background process, or by modifying the kernel -- and you're replacing the kernel, so that should be ok.

    2. Re:Root Kit by zCyl · · Score: 1

      is there any way I can be sure my system hasn't been rootkitted without doing a clean install?

      No. Absolutely not.

      You could check for specific rootkits which leave traces behind, but there is no way to find arbitrary rootkits.

    3. Re:Root Kit by 42forty-two42 · · Score: 1

      If there is one, it'd have to be installed by one of your users. You can't be sure, but you can't do a clean install each time a patch is released :)

    4. Re:Root Kit by GT_Alias · · Score: 2, Informative
      ChkRootKit will check for the known ones and some of the obvious signs for one.

      Doesn't help much though if the user has developed something of their own that flies below the radar. Chkrootkit doesn't hurt for a bit of peace of mind.

  32. Help a newbie by eyeye · · Score: 1

    As a linux newbie is there an easy way to find if my kernel is vulnerable to exploits?

    I run debian woody and can do apt-get update,upgrade but that wont update the kernel will it?

    Thanks for any help.

    --
    Bush and Blair ate my sig!
    1. Re:Help a newbie by CausticWindow · · Score: 1

      If you want to check what kernel version you are running, type

      uname -r
      in a console.

      Unless you let people you don't trust login to your box, you needn't worry though.

      --
      How small a thought it takes to fill a whole life
    2. Re:Help a newbie by swv3752 · · Score: 1

      I would append to that a big "yet". There are no known exploits for this and if you are properly patched, you are probably ok. If you are just running a desktop box, then you are probably ok as well, particularly if you have a firewall active.

      --
      Just a Tuna in the Sea of Life
    3. Re:Help a newbie by KjetilK · · Score: 1
      Newbie here too. Anyway, there has been a post on the debian-security list that indicates that the Debian maintainers have made a package with the patch, and there was a response to that post asking WTH are this packages, and that has not been answered yet. Frankly, I have no clue, but I have the package kernel-source-2.4.18 installed, and my hope is that this apt-get upgrade will download a new one when it is available... :-)

      That's all I have for the moment...

      --
      Employee of Inrupt, Project Release Manager and Community Manager for Solid
  33. Not *believed* to be vulnerable?? by psoriac · · Score: 1

    2.5 is not believed to be vulnerable to this security hole.

    Is this along the same lines as "we don't think this will kill you"?

    --
    I browse Slashdot at +3, Funny
    1. Re:Not *believed* to be vulnerable?? by David+McBride · · Score: 1

      Hey, if you're running a development 2.5 kernel then you should be prepared for (nay, expect) bad things to happen.

    2. Re:Not *believed* to be vulnerable?? by Osiris+Ani · · Score: 1
      Well, I don't think any C programmer can look you in the eye and say "No, really, this software has no bugs. No buffer overflow exploits, no memory leaks, no overrunning pointers. Well, maybe just one. Or two."
      "And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports on it, you know they are just evil lies." - Linus Torvalds

      Heh.

  34. Dangit, Slashdot, mirror things like this by Kiwi · · Score: 4, Insightful
    Dangit, Slashdot, mirror things this important; don't just link to some poor low-traffic Linux kernel archive which can not handle Slashdot-level traffic. I normally don't mind sites being Slashdotted, but a critical security fix being slashdotted is not a good thing.

    Anyway, another copy of the patch.

    - Sam

    --

    The secret to enjoying Slashdot is to realize that it should not be taken too seriously.

    1. Re:Dangit, Slashdot, mirror things like this by 42forty-two42 · · Score: 1

      If you don't want to be locked out, subscribe to the list :)

  35. GRSecurity by Ex+Machina · · Score: 1

    Are GRSecurity patched kernels vulernable?

  36. Simple workaround by volkerdi · · Score: 5, Informative

    If you can't patch this right away, you can easily work around the hole. In order to be vulnerable, you need to have kmod enabled in the kernel, and /proc/sys/kernel/modprobe must contain the name of ANY VALID EXECUTABLE. It doesn't have to be /sbin/modprobe. Even /bin/false is vulnerable on this one.

    To prevent the exploit, give the kernel a bogus filename to use as modprobe, like this:

    cat /this/file/aint/there > /proc/sys/kernel/modprobe

    If you only use kmod to load modules at boot time, you might consider having this run after all your other init scripts, say in rc.local.

    Pat

    1. Re:Simple workaround by volkerdi · · Score: 3, Informative

      cat /this/file/aint/there > /proc/sys/kernel/modprobe

      Oops... While the above also happens to work, what I meant was more like this:

      echo "/this/file/aint/there" > /proc/sys/kernel/modprobe

      Pat

    2. Re:Simple workaround by volkerdi · · Score: 1

      Er, example number one (with 'cat') does not work after all (thought it would, but it doesn't). The second example does work. Just check your /proc/sys/kernel/modprobe afterwards and make sure it's been changed.

    3. Re:Simple workaround by schon · · Score: 1

      If you can't patch this right away, you can easily work around the hole.

      Thanks for the info Pat.. turns out that all my Slackware boxes are safe on this one, as I turn off kmod when I compile a kernel.

      Thanks for a great distro!

    4. Re:Simple workaround by tunah · · Score: 1
      cat /this/file/aint/there > /proc/sys/kernel/modprobe

      If the file ain't there, good luck catting it ;-) You meant echo right?

      --
      Free Java games for your phone: Tontie, Sokoban
    5. Re:Simple workaround by Ex+Machina · · Score: 1

      There's *NO* way to exploit this on a non modular kernel? Really? Ptrace doesn't seem to be really connected to modules....

    6. Re:Simple workaround by wrong · · Score: 1

      Let me get this straight. Would this workaround mean that kmod wouldn't be able to insert modules? Remove them?

    7. Re:Simple workaround by volkerdi · · Score: 1

      That's right. It disables kmod.

    8. Re:Simple workaround by tunah · · Score: 1

      Are you root?

      --
      Free Java games for your phone: Tontie, Sokoban
  37. Re:Linux disclosure procedures? by truenoir · · Score: 1

    Hmm...seems to me that either way, time would be needed to fix it. *Someone* knows about it earlier than the patch (unless somehow Linux is magic and codes up a patch as soon as some lonely hacker recognizes an exploit). Perhaps it's a matter of "hey, there's a bug here" vs. "hey, there WAS a bug here, but I fixed it" type news. Either way, there are unpatched systems worldwide that may never get patched, and whole lot of patching to be done for those that will be.

    Those wanting to exploit such a problem are obviously going to stay quiet about it.

  38. Re:Linux disclosure procedures? by mmol_6453 · · Score: 1

    The difference in this case is it's a kernel exploit. Unless the problem lies in a module, you'll still have to reboot. :/

    --
    What's this Submit thingy do?
  39. Question for those who may know... by dacarr · · Score: 1

    Will Ximian's red-carpet patch this?

    --
    This sig no verb.
  40. Another copy of the patch online by Kiwi · · Score: 1
    here

    This one seems to make a cleaner text patch than the last one I linked to.

    - Sam (compiling the kernel as we speak)

    --

    The secret to enjoying Slashdot is to realize that it should not be taken too seriously.

  41. Re:Linux disclosure procedures? by molarmass192 · · Score: 1

    Linux kernel patches are very rarely that bad, not to say that I like them either. So long as your kernel minor version number doesn't change and you're using loadable modules, there's no need to recompile any existing drivers. However, you DO still have to recompile the kernel, drop it into /boot, AND reboot which DOES mean you will lose any uptime bragging rights you were saving for your performance review.

    --

    Good people do not need laws to tell them to act responsibly, while bad people will find a way around the laws-Plato
  42. Re:Linux disclosure procedures? by N3WBI3 · · Score: 1

    And of all updates for a Linux server what % of them are Kernel and require a reboot? as compared to Windows which almost all updates require a reboot.

    --
  43. In the meantime... by TheSHAD0W · · Score: 4, Funny

    Until the patch has been tested and distributed, you can prevent the bug from being exploited by locking the door to your office.

    1. Re:In the meantime... by greenrd · · Score: 1
      Don't forget to also unplug your network cable!

    2. Re:In the meantime... by TheSHAD0W · · Score: 1

      Naw, it's a LOCAL exploit.

  44. I don't think so by niom · · Score: 1

    If you are at the keyboard, you can usually get root instantly on Linux. "lilo: linux single"

    At least in Debian, even with "linux single" you have to type the root password to get root. And any installation with the least pretense of security has always disabled user parameters for LILO, of course. Just like it had to disable e.g. booting from a disk.

    --
    -- Repeat with me: "There is no right to profits".
    1. Re:I don't think so by Xerithane · · Score: 1

      At least in Debian, even with "linux single" you have to type the root password to get root. And any installation with the least pretense of security has always disabled user parameters for LILO, of course. Just like it had to disable e.g. booting from a disk.

      I know the Red Hat series it still works... I haven't tried it for years. The distribution installation can't change the BIOS boot order though. If a CD/Floppy drive is accessible, it's up to the user to change the BIOS boot order, not the distribution.

      Yay for knoppix CDs!

      --
      Dacels Jewelers can't be trusted.
    2. Re:I don't think so by mmontour · · Score: 3, Interesting

      At least in Debian, even with "linux single" you have to type the root password to get root.

      How about with "linux init=/bin/sh"?

    3. Re:I don't think so by niom · · Score: 1

      Or "linux root=/dev/fd0". That's the reason of the "least pretense of security" part of my comment :-).

      --
      -- Repeat with me: "There is no right to profits".
    4. Re:I don't think so by niom · · Score: 1

      Well, by installation I meant the setup done by the admin when installing the distribution. The point was that to get a secure setup you can't just install a distribution and leave it at that, you still have to configure things like the boot loader, the BIOS, probably the network services, etc.

      --
      -- Repeat with me: "There is no right to profits".
    5. Re:I don't think so by quelrods · · Score: 1

      hey i forget how to guard against that, what's the fix?

      --
      :(){ :|:&};:
  45. What about ptrace? by 42forty-two42 · · Score: 1

    What, exactly, is this bug? I remember one a while back where you could ptrace an app that had a saved uid of 0 and keep the trace once it ran seteuid(), is this the same?

  46. Common misconception by burgburgburg · · Score: 2, Insightful

    With so very many vulnerabilities (and ever expanding), it's easy to see why you'd assume that Windows was the only buggy vulnerable bloated operating system. This isn't true. It just seems that way. It feels that way. And, considering how wide rangingly destructive Windows vulnerabilities tend to be, for all intensive purposes, it is that way. But, deep down, we all acknowledge that it isn't technically true.

  47. Exploitable? by Rain · · Score: 5, Interesting

    Geez, only took /. 27-odd hours. Anyway.

    I tried writing an exploit for this flaw, but I couldn't get far enough to inject any code. I managed to ptrace(PTRACE_ATTACH, ...) a uid 0 modprobe (easy enough way to call kernel_thread()), but for some reason, the traced process isn't properly reparented, so all subsequent ptrace() calls fail. (Whenever you PTRACE_ATTACH to a process, it's supposed to become the child process of the tracer, and ptrace_check_attach (linux/kernel/ptrace.c) will return -ESRCH if this condition isn't met.)

    I'm not positive this is actually exploitable, but I'm not positive I took the correct approach, either. In any case, the most I've been able to do is spawn a slew of suspended root-owned processes. Not good, but not the end of the world, either. If someone has actually managed to exploit this flaw, I'd love to see some code so that I could see what I did wrong. Conversely, I'm willing to share the code I have upon request. I've only written code up to the current impasse, but once past this problem, the rest should be pretty trivial.

    1. Re:Exploitable? by GammaTau · · Score: 4, Informative

      An anonymous writer at kerneltrap.org provided this link for a working exploit:
      http://isec.pl/cliph/isec-ptrace-kmod-exploit.c

    2. Re:Exploitable? by moz25 · · Score: 1

      I tried this on two systems of mine... on one system it worked, on the other I got "[-] Unable to attach: Operation not permitted" -- I have modules disabled on that system.

      Is it a valid workaround to have modules disabled in the kernel??

    3. Re:Exploitable? by GammaTau · · Score: 1

      I tried this on two systems of mine... on one system it worked, on the other I got "[-] Unable to attach: Operation not permitted" -- I have modules disabled on that system.

      I did the same and got the same results. On a system running 2.4.18 with module support it worked (i.e. I got root) while on a system running 2.4.18 without module support it didn't work. But I'm not a kernel hacker so I don't know if that's the essential difference.

    4. Re:Exploitable? by moz25 · · Score: 1

      Well, I certainly hope it's a good workaround, because the non-modules box is a co-located one... and I'm not a big fan of doing remote reboots ;-) After previous security problems on that machine (being rootkitted), I decided to turn off modules altogether.. this seems to have been a good choice.

    5. Re:Exploitable? by Ex+Machina · · Score: 1

      xm@jolt:~$ gcc -o hack -O2 isec-ptrace-kmod-exploit.c
      xm@jolt:~$ ./hack
      [-] Fatal error: Unknown error 125
      Killed
      xm@jolt:~$ ./hack
      [+] Attached to 25459
      [+] Waiting for signal
      [+] Signal caught
      [+] Shellcode placed at 0x47a55a22
      [+] Now wait for suid shell...
      xm@jolt:~$ whoami
      xm
      xm@jolt:~$ uname -a
      Linux jolt 2.4.18-grsec-1.9.4 #2 Sat Apr 20 03:20:23 EDT 2002 i586 unknown

      (non modular)

    6. Re:Exploitable? by Make · · Score: 1

      works great on all my Debian woody systems:

      max@squirrel:~$ uname -a
      Linux squirrel 2.4.20-ac2 #1 SMP Thu Jan 23 23:15:33 CET 2003 i686 unknown
      max@squirrel:~$ id
      uid=500(max) gid=100(users) groups=100(users),4(adm),24(cdrom),25(floppy),29(a udio),40(src),104(lpadmin),205(sfc),106(uox),108(t s)
      max@squirrel:~$ ./isec-ptrace-kmod-exploit
      [+] Attached to 25393
      [+] Signal caught
      [+] Shellcode placed at 0x4000da2d
      [+] Now wait for suid shell...
      sh-2.05a# id
      uid=0(root) gid=0(root) groups=0(root)
      sh-2.05a#

  48. Huh? by FireballFreddy · · Score: 2, Funny

    St. Patrick's Day, a perfectly valid and socially acceptable excuse to get rip-roaring pissed, and you say it's *only* for the Irish? I'm sorry, please hand in your geek membership card. You aren't allowed to post here anymore.

    --
    SQUEAK, the Death of Rats explained.
  49. workaround without reboot by disabling ptrace() by Brian+Ristuccia · · Score: 2, Informative

    After the last ptrace() fiasco, there was a temporary workarounds in the form of loadable modules which stub out or wrap the ptrace function. For servers where downtime and reboots must always be scheduled in advance, such a fix was well received.

    You can create such your own module containing a do-nothing fake_ptrace function. In init_module(), set sys_call_table[__NR_ptrace]=fake_ptrace so the fake ptrace gets run instead of the real one. Search google for "no ptrace module" to find a few readymade ptrace wrapper/stub modules.

  50. Clean patch against 2.4.20 found within by gid · · Score: 1

    You can see the message here or download the patch linked from this email here

    Personally I think I'm going to wait for a proper version of the kernel to come out, (and hope it does).

    1. Re:Clean patch against 2.4.20 found within by Cro+Magnon · · Score: 1

      I figure 2.4.21 will be ready this May. Or maybe June! Well, surely by July!!

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
  51. How do we find the next one? by daves · · Score: 1

    I wonder how well smatch/stanford checker could check for similar conditions.

    --
    People who disagree with you are not automatically evil, greedy, or stupid.
  52. Re:Huh? by vsprintf · · Score: 2, Funny

    Linux has security problems? I've been reading this site for so long, I thought that was only in Microsoft's domain.

    We do want to make Windows users feel at home as they migrate to a Linux desktop. We don't expect 'em to go cold turkey right away.

  53. Patch won't apply to linux-2.4.20 by sanermind · · Score: 4, Informative

    It fails on include/linux/sched.h with default patch options. Which kind of sucks. You can get it to 'work' by giving patch a fuzz-factor of 3, but then the build fails. Not a very usefull patch.
    cd /usr/src
    mv linux-2.4.20 linux-2.4.20_OLD
    bzcat /otherhome/stor/src/linux/linux-2.4.20.tar.bz2 | tar xv
    cd linux-2.4.20
    patch -p1

    fails at include/linux/sched.h

    If you do 'patch -p1 -F 3' instead, it won't fail, but the fuzz factor obviously leads to a patch error, as the compilation breaks [as soon as include/linux/sched.h is included, BTW]

    I mean, I appreciate knowing that my system is horribly vulnerable, but a WORKING FIX would sure be nice.

    --

    ---
    the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
    1. Re:Patch won't apply to linux-2.4.20 by crimsun · · Score: 1

      Apply the offending line in include/linux/sched.h manually then.

      $EDITOR include/linux/sched.h

      insert the offending line above #define __wait_event(wq, condition) \

      (which is line 809 with my $TERM setting)

      You should end up with something that looks like:

      ...
      extern void FASTCALL(add_wait_queue_exclusive(wait_queue_head_ t *q, wait_queue_t * wait));
      extern void FASTCALL(remove_wait_queue(wait_queue_head_t *q, wait_queue_t * wait));
      extern long kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);

      #define __wait_event(wq, condition) \
      ...

      (beware of line-break butchery due to /.)

      You'll also have a harmless non-existing arch/um/kernel/process_kern.c, which is because Alan generated the diff against his tree (-ac), which includes UML, whereas vanilla doesn't.

  54. Re:Linux disclosure procedures? by 0x1337 · · Score: 1

    Yeah - no shit.

    No security through obscurity.

    The bgs are found FAST and are PATCHED FAST. If your lazy 200-lbs fritto-lay-eating "sys admin" thinks its above his ego to patch his systems up, that his problem.

  55. Re:Uptimes by shiflett · · Score: 1

    If you have 955 days of uptime, your kernel does not have this vulnerability. Of course, it might have others. :-)

  56. Re:Well, you have to choose ... by jedidiah · · Score: 1

    That's true in general. It's always much easier to hack a box the closer you are to it. So you should generally seek to prevent vandals from "getting close".

    You should always assume that there's a root exploit available when attempting to securing Unixen.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  57. Where's Debian?? by drwho · · Score: 2, Interesting

    Where the hell are the debian people with a patched kernel? The patch alan cox provided doesn't apply cleanly to the debina modified kernel, so I am trying to hack it up now. But shouldn't someone in charge of security patches at debian have done this and had an update out?

    COME ON WAKE UP!

    1. Re:Where's Debian?? by some1somewhere · · Score: 1

      just checked apt-get update again... it still isn't there yet........ Strange... Debian is *USUALLY* pretty fast about issuing security fixes... is there something else going on?

      --
      **FREE** Track and view your phone's via CellID and/or WIFI and/or GPS :- http://tinyurl.com/la6fhd
    2. Re:Where's Debian?? by crimsun · · Score: 1

      It _really_ helps if you _read the debian-security list_.

      *thwap*

      http://lists.debian.org/debian-security/2003/deb ia n-security-200303/msg00300.html

    3. Re:Where's Debian?? by KjetilK · · Score: 1
      I saw it there too, but a response to the follow-up post to that message is still to be seen...

      So, where are the packages? Me, I grabbed the most recent kernel-source-2.4.18 I could find, but that doesn't seem patched.

      But then, there shouldn't be many remote normal-user exploits on my box either, so I'm not really that worried.

      --
      Employee of Inrupt, Project Release Manager and Community Manager for Solid
  58. Re:This has to be erroneus. by zebs · · Score: 2, Funny
    After all, Linux is perfect, right? Linux has NO vulnerabilities. It's that OS from Bill that is buggy, right?

    Its bugs from code Billy-boy wrote under a pseudonym

  59. Re:In Soviet Russia... by physman · · Score: 1

    Ah, but theoretically, if you were still to use the 2.3 kernel series, you would not face this hole, so what's retarded in that!?

    --
    Murphy's Law of Research: Enough research will tend to support your theory.
  60. Troll: Arrest Alan Cox! by Anonymous Coward · · Score: 1, Insightful


    Obviously the kernel provides access control to a copyrighted work (the Linux kernel, and all apps on the system). Therefore by providing this info, he is disseminating a mechanism to bypass said access control. Therefore he is in violation of the DMCA!

    Go ahead an call me a troll, but he did say that's why he wasn't ever setting foot in the US again!

  61. Tux is Welsh!!! by schon · · Score: 4, Funny

    I know "Cymru" means "Welsh" but that's about it.

    Tux, the beloved Linux mascot is Welsh!

    It's true! Tux is a penguin..

    Penguin is derived from two Welsh words: Pen (head) and Gwynn (white)...

    So (besides Alan) there is another link between Wales and Linux.

    (That, and I've tripled your knowledge of the Welsh language :o)

    1. Re:Tux is Welsh!!! by Large+Green+Mallard · · Score: 2, Funny

      So Alan's significant other Telsa Gwynne is half penguin?

      Kinky :)

    2. Re:Tux is Welsh!!! by einhverfr · · Score: 1


      Penguin is derived from two Welsh words: Pen (head) and Gwynn (white)...


      Just looked it up in the Oxford English Dictionary. This had been an accepted etymology for a long time but is disputed because there are a number of problems. The first birds to be called "penguins" were great awks from Newfoundland (Extinct since 1844, but there is a print on the cover of the O'Reilly book ;-))

      The problem is that the Great Swk had a black head, and this is a problem for the pen-gwynn etymology, so officially, the origin is listed as obscure.

      --

      LedgerSMB: Open source Accounting/ERP
  62. What about 2.0.x? by FattMattP · · Score: 1

    What about 2.0.x? Are they okay?

    --
    Prevent email address forgery. Publish SPF records for y
    1. Re:What about 2.0.x? by FattMattP · · Score: 1

      Hey, if it ain't broke, no need to break it.

      --
      Prevent email address forgery. Publish SPF records for y
  63. Linux auditing by Kourino · · Score: 3, Insightful

    I think our friend Al Viro would have something to say about the auditing level of the Linux kernel. And if we're talking about drivers/ in particular, it would probably involve the words "obfuscated", "brain dead", "steaming pile of shit", "warped beyond all belief" ... :)

    Linux code gets a fair amount of review. But once it's there, there really isn't any auditing at all.

    1. Re:Linux auditing by frehe · · Score: 1

      Maybe the Linux developers could learn something from the OpenBSD project and its continuous source, documentation and license auditing. The process not only catches security holes, but also results in cleaner code, better documentation and a more stable system in general.

    2. Re:Linux auditing by jelle · · Score: 1

      OpenSSH and OpenSSL are developed as part of the OpenBSD project, and didn't we have a couple of security problem discoveries of fielded versions in the last year? So it still doesn't catch all problems before fielding.

      If it's found and patched before exploited, that's already an order of magnitude better than after exploitation is rampant (IIS). Sure, a strict auditing process may help security, but still has no guarantees and may slow development speed.

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    3. Re:Linux auditing by Anonymous Coward · · Score: 1, Informative

      To: BugTraq
      Subject: Locally exploitable races in OpenBSD VFS
      Date: Jun 2 2001 7:00PM
      Author: Alexander Viro
      Message-ID:

      Frankly. my respect to Theo went way down. This code had never been read
      through, let alone audited. And that's the core kernel. Moreover, the
      same bugs had been fixed in FreeBSD half a year ago. In other words, just
      keeping an eye on other *BSD trees would be enough to catch them. Same
      for lurking on freebsd-hackers. Same for watching the Linux tree, where
      an audit of relevant areas had been done nearly two years ago. Done and
      discussed on linux-kernel. Sad...

      http://www.securityfocus.com/archive/1/188474

    4. Re:Linux auditing by quelrods · · Score: 1

      i would certainly agree. I was a linux user but have switched purely to bsd because of complaints in the way they handle firewalling, nat, etc. That said openbsd is the only os i know of that has code audits. (officially) Linux seems more concerned with new features, new devel, etc. Either way vmware still isn't support by openbsd sadly :-)

      --
      :(){ :|:&};:
    5. Re:Linux auditing by frehe · · Score: 1

      OpenSSL is not part of the OpenBSD project in the same sense that OpenSSH is.

      I have never said that OpenBSD's auditing will catch all bugs before code goes into production (the auditing is after all done by humans with limited amounts of time at their hands) but it certainly helps a lot.

      I find that an auditing process may in fact speed up development in bigger projects, since it catches a lot of non-security related bugs and also improves both code and documentation in general.

  64. Re:In Soviet Russia... by Repugnant_Shit · · Score: 2, Informative

    I'm new to Linux, so I might be wrong, but: If the minor version 2.x is odd, its a development/beta/alpha/whatever kernel. So 2.3 became 2.4, and no one should be using 2.3 on a production box. 2.5 is the current development branch, and when it is final it will be renumbered to 2.6. At that point no one should be running 2.5 on any box that matters.

  65. Re:Linux disclosure procedures? by mentin · · Score: 2, Informative
    the time to deploy a MS patch in production is much longer due to shutdowns and testing.

    You will deploy Linux patches on production machines without testing?

    --
    MSDOS: 20+ years without remote hole in the default install
  66. monolythic? by digitalsushi · · Score: 1

    does this affect monolythic kernels? as in a kernel you cannot load modules into.

    --
    slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
    1. Re:monolythic? by kobaz · · Score: 1

      Monolythic is the type of kernel that linux is. Monolithic means all commincation is done by funtion calls. You can load modules because its designed for it. Removing module support does not make linux non-monolithic.

      --

      The goal of computer science is to build something that will last at least until we've finished building it.
    2. Re:monolythic? by phaze3000 · · Score: 1

      The vulnerability uses kmod, so it shouldn't work on a system without module support (which made me breath a sigh of release, out of the fifty or so servers I admin there is only one with a modular kernel).

      Note that with or without module support, the Linux kernel is still technically monolithic, as I believe someone else has already pointed out.
      --
      Blaming GW Bush for the Iraq war is like blaming Ronald McDonald for the poor quality of food.
  67. This isn't the same thing. by pathological+liar · · Score: 1

    This isn't a race condition with ptrace and execve, this is the kernel not handling threads properly with ptrace.

    That being said, there are mitigating factors ... packetstormsecurity.nl has a kernel module that disables ptrace for all users other than root (aptly named "ptracekm") ... and users of grsecurity with randomized pids turned on should be safe as well, since the exploit assumes child = mypid+1

  68. Re:In other news... - except: by Havokmon · · Score: 1
    And for the hax0rs without a local shell, there's a recent samba instant-remote-r00t vulnerability [samba.org]. Get your patches while they're hot!

    True, except here it basically says if you expose samba/CIFS in general, you're fuxored.

    "The SMB/CIFS protocol implemented by Samba is vulnerable to many attacks, even without specific security holes. The TCP ports 139 and the new port 445 (used by Win2k and the Samba 3.0 alpha code in particular) should never be exposed to untrusted networks."

    So all they've done is release a patch for what can be fixed WITHOUT breaking Windows integration.

    --
    "I can't give you a brain, so I'll give you a diploma" - The Great Oz (blatently stolen sig)
  69. this could be a big problem by Trepidity · · Score: 4, Insightful

    Everyone's taking comfort in the fact that no remote exploitation is possible, but remember all those universities that you've convinced over the past few years to switch from proprietary UNIX to Linux for their cs department and mail servers? The ones with thousands of local accounts given out to all the students and faculty? Yeah, they might not be happy about this.

    1. Re:this could be a big problem by sparkz · · Score: 1

      Looks like sf.net are safe!

      --
      Author, Shell Scripting : Expert Re
  70. shell accounts suck anyway by timmarhy · · Score: 1

    only myself and the IT manager are able to log into our system ( everyone else has /bin/false ) so as long as no one kicks in my office door or guesses our root or admin password i feel safe. and no, i will NEVER be giving shell logins to our users ( shiver )

    --
    If you mod me down, I will become more powerful than you can imagine....
  71. The Smaller Folks by DarwinDan · · Score: 5, Insightful

    I second that opinion. However, many sysadmins have a responsibility for public servers (lots of ports open even with a firewall). As such these same sysadmins are smart and have a redundant box to do things like patch a system.

    In addition, some small businesses don't have the luxury of a secondary box or even an IT specialist that can put a machine through a high-load test for more than a few hours at a time -- let alone having to patch it at all!

    Ideally we would all have a RAID 10 array connected to four boxes each running a different OS. While some companies (!) may have the time and money for this, the small folks like mom-and-pop stores can't afford the expense of time or money.

    --
    $DEITY bless $NATION
    1. Re:The Smaller Folks by sporty · · Score: 1

      The mom and pop shops also don't have much room for error. They don't always have many sources of revenue, or savings or smart people to say, "hrm.. this doesn't look right" until it is too late.

      --

      -
      ping -f 255.255.255.255 # if only

  72. UNIX to Linux switch by aksansai · · Score: 3, Insightful

    Never forget that proprietary, commercial UNIX solutions are also vulnerable to kernel-level bugs and exploits. I used to work for a university that deployed Linux and Solaris solutions - the patch sets for Solaris (kernel and userland utilities) were just as necessary as the Linux server installations.

    The beauty of the Linux and open-source worlds is that the code is available right before your very eyes and is subject to scrutiny, day-in and day-out. Commercial offerings are not available to the general public, potentially leaving behind bugs that wouldn't be caught by the few who _could_ see the code. Code that is viewed by literally thousands of all programming backgrounds, versus code that is viewed by a select few which only specialize in that code, is more likely to be exploit-free.

    This particular Linux kernel exploit was encountered by developers that recognized the flaw. And, luckily for us, the developers were talented enough (or knew someone in the core development group) that could quickly produce a patch so that administrators could secure their servers from being taken advantage from.

    If the exploit was encountered in the commercial arena, the person who found the flaw would have to contact the company who supports the operating system. An assessment team would have to see the cause/effect/consequences of the exploit. Then, the development group would have to produce a patch. The company would then contact their support group to contact their enterprise customers first (more than likely) to deploy the patch. Finally, with the company's core customer interests intact, the company would publish their findings and solution for the remainder of the world. Many Microsoft patches are first released to their core enterprise companies - and then released via Windows Update (or through their web site).

    For universities that have made the switch, there should be more peace of mind knowing that the quantity of security breaches on the kernel level are much less than the overwhelming number of Windows flaws (which generally require a reboot) and at a much cheaper price than a commercial UNIX offering.

    --
    Ayup
  73. Re:This has to be erroneus. by rusty+spoon · · Score: 2, Funny

    Yeah, that William H. Torvalds III has done a lot of damage with his weasly little kernel hacks, dammit.

  74. erm by c0ol · · Score: 1

    redhat is free for download, windows isnt. they have to make money somwhere along the line.

  75. Re:Linux disclosure procedures? by N3WBI3 · · Score: 2, Insightful

    Of course I will test, but the testing almost always takes less time because it does not break other services. When we had to patch windows to avoid all the SQL server crap a while back it broke the damn server, so in testing there is going to be more tweaking involved than one might have with a typical Linux patch..

    --
  76. ptrace - setuid? by caluml · · Score: 1

    If you don't have the ptrace prog on your systems, or you make it not setuid (if it is anyway) does that make a temporary fix?

    1. Re:ptrace - setuid? by PinkX · · Score: 1

      ptrace is a function, not a program.

  77. *yawn* ptrace exploits *yawn* by Lethyos · · Score: 1

    These come up so often, I thought this story was a /. dupe at first glance.

    --
    Why bother.
  78. get over it--your local system isn't secure anyway by g4dget · · Score: 4, Insightful
    Realistically, most regular Linux systems are not secure against local exploits: making a system secure that way is possible, but it's quite a bit of work. You certainly won't get such a system by just doing a [insert your favorite distribution] install. This isn't exactly news either--it's been like that for a long time.

    Of course, it is good that these kinds of bugs get fixed. Some people do run multiuser systems, and it provides an additional barrier against intrusions. But don't lose any sleep over it.

    Incidentally, these kinds of exploits are probably rampant on Windows systems; there, people don't even bother looking for them because there are very few multiuser machines and most people have local Administrator privileges anyway. Also note that Microsoft didn't even try to get Windows certified secure for multiuser use.

  79. Parent isn't troll. Patch really won't apply by sanermind · · Score: 2, Informative

    to linux-2.4.20

    --

    ---
    the pen is mightier than the sword, the sword is mightier than the court, the court is mightier than the pen.
    1. Re:Parent isn't troll. Patch really won't apply by Anonymous Coward · · Score: 1, Informative
      patch for 2.4.20

      patch for 2.4.21-pre5

      Got these from a LKML archive that handles attachments nicely.

  80. Re:Linux disclosure procedures? by mmol_6453 · · Score: 1

    I agree with you, though I don't think those statistics are readily available.

    Heck...under Windows, even video game installations tend to demand a reboot. (Though you can usually get away with saying No and running the game anyway.)

    This is because most software applications include DLLs that get added to system directories, and, technically, you're supposed to reboot in order for those DLLs to be recognized and harbored by the OS.

    Under UNIX (NOT just Linux), You only have to type ld as root, and you should be just fine. Special integration with things like Mozilla or Emacs may require you to restart the program, though.

    I suspect UNIX's resiliency is partially the result of IEEE's efforts in developing POSIX, etc.

    --
    What's this Submit thingy do?
  81. This and IIS exploit by OoSync · · Score: 3, Interesting

    While its not really kosher to bash an OS because of a single flaw, there is a fundamental difference in the case of this flaw and the previously announced IIS exploit: this one's not yet exploited. One thing that hurts FS/OSS on bug lists is that all *potential* exploits in open code will be listed as bugs, while many proprietary producst only disclose known, possibly exploited, bugs. Case in point, the IIS problem was exploited almost a week ago. The kernel problem was noticed, fixed, and no exploit exists. In fact, a previous poster on this board has posted his inability to trigger the *potential* exploit and asked for help.

    --

    I always get the shakes before a drop.
  82. How to check? by Malcolm+Scott · · Score: 1

    Anyone know how to check whether my server has this problem? Or alternatively, does anyone know whether the Grsecurity patches for 2.4.20 (as included in Gentoo's kernel) fix this hole?

  83. And the obligatory.. by mivok · · Score: 2, Funny

    OpenBSD isnt vulnerable :P

  84. Re:Huh by bahamat · · Score: 1

    I just assume if someone gets a user account on my machine my entire network is fucked anyways.

    Come on, it's not that hard to set a root password.

  85. Rule of Thumb by Anonymous Coward · · Score: 2, Interesting

    When setting up security, I always assume any local user can get root priviledges and make sure I don't care that much. It makes life much easier and less worrisome.

  86. Clean patch against 2.4.20 by bahamat · · Score: 3, Informative

    This is probably way too late in the discussion to get seen, but Alan's patch won't apply cleanly to 2.4.20.



    A clean patch can be found here:

    http://www.hardrock.org/kernel/2.4.20/linux-2.4.20 -ptrace.patch



    Sorry if you get /.ed.

  87. I am not going to patch my home systems yet either by einhverfr · · Score: 1

    Have you considered the possibility of someone exploiting a non-root remote hole on your box and now having the ability to escalate themselves to root?

    Yes I have. The thing is that this assumes several things that may or may not be true. There are risks involved in this approach, but I am running my email server, etc. and can't afford the downtime if something goes wrong. Also my kernel is highly customized, so moving to a new version of the kernel is difficult, time consuming, and I don't have a testing system, so if something goes wrong, I may not see it until it is too late.

    Instead I am focusing on the security perimeter-- making sure the web server, ssh, and email server are secure, etc.

    Basically I see this as a contributing issue not a primary one. And at this time, I thing it is too soon to patch for me.

    --

    LedgerSMB: Open source Accounting/ERP
  88. Re:Mod Parent Down by crimsun · · Score: 2, Informative

    Um, no, I'm afraid the guy (Rain) _does_ know what he's talking about (since I know him), and I've done a fair amount of kernel hacking in my day.

    If you'd actually like to read something on-topic, see Ben Pfaff's response to Alan's post. The short of it, "we're [i.e. you're free to do it!] working on a correct fix for all cases, this is just the quick sledgehammer."

    http://www.uwsg.iu.edu/hypermail/linux/kernel/03 03 .2/0271.html

  89. Re:Who said anything about needing shell access? by einhverfr · · Score: 1

    A webserver that allows users to run their own cgi-scripts could very well be in trouble, and so could a mail-server letting users at their .forward and .procmailrc files.

    OK-- in these cases, the users probably have some sort of shell access. Or maybe they run FTP.... In which case how secure is that? Can one get it to execute a shell if there is any exploit there?

    And regarding the .rc files, this is a problem, but not one without workarounds.... Usually people don't see it worth it and just give shell access....

    --

    LedgerSMB: Open source Accounting/ERP
  90. Impact analysis in which we get a tech clue by fw3 · · Score: 1
    1. Local root exploit. The experts(sic) posting here have been saying this means "has access to a user account".

    Wrong. "local" in this sense means able to run a shell under any UID. Yes this means any user with an account may be able to escalate to root. It also means that any non-root hole can probably then be escalated to root.

    2. That doesn't only encompass flawed daemons (apache, bind ... all run as non-root), it includes poorly written CGI/php and other server parsed scripts. If a script allows remotely controlled data to be passed to a shell, that's now a potential root compromise.

    2. Plus this flaw probably isn't countered by any of the various approaches to kernel hardening (gr-sec and the like).

    So it's potentially serious if you weren't serious about security of your Linux servers.

    Now let's look at the current understanding of the "WebDAV"/IIS exploit

    I think it's already well known that the this was discovered *after* an army server was compromised. If you don't already believe that Opensource works better then my $0.02 probably isn't going to convince you, however *very* few *nix problems are found *&* applied by the vandals before a patch is available / developed.

    1. Because by *default* IIS is installed on w2k servers, and installed with Administrator (root) access, many IIS boxes are rooted.

    2. Yes the Lockdown tool is supposed to fix this, however it's being reported that it doesn't in all cases. Thus the patch is strongly advised, whatever workarounds you're using.

    3. The actual flaw is in ntdll.dll This library is loaded by nearly every process running on w2k.

    a. This is about as central to NT/w2k as you might care to get.
    b. MS *thinks* that iis/webdav is the only vector into this flaw "They're researching it"

    If they're wrong it's going to be a nightmare. Even if they're right, it's pretty darned bad.

    Sure, security is a process, not a product, but part of that process is choosing systems that you actually have some ability to evaluate and predict and manage problems.

    --
    Linux is Linux, if One need clarify their dist: <Dist>/GNU Linux
    bsds are of course just BSD
    1. Re:Impact analysis in which we get a tech clue by Zero_Satisfaction · · Score: 1

      Just a correction, IIS runs as LocalSystem (root) not Administrator.

    2. Re:Impact analysis in which we get a tech clue by maddskillz · · Score: 1
      Just pointing out your incorrect use of sic. Sic is meant to be used with quotes, but you did not use a quote
      Sic - Thus; so. Used to indicate that a quoted passage, especially one containing an error or unconventional spelling, has been retained in its original form or written intentionally.

      If some one had said, in a previous quote, "The Expert's" then (sic) would apply, since Experts should not have an apostrohpe in it.

      I beleive what you mean to post was an emoticon of someone rolling their eyes in disbelief, doubting that these people are actually experts

  91. Re:New root exploit found in Linux.... by TeddyR · · Score: 1

    bet you havnt been on the #linux channel in the early days of efnet IRC?

    stuff like that used to happen all the time...

    [as well as ascii bomb xlpoits and telling some poor slob that the way to defrag his HD was to use rm -rf / & > /dev/null]

    [disclaimer: I did not do any of those things; but have seen the rm -rf message; and by the time that other responded "DONT DO THAT" it was too late]...

    aahh... the good old days.... when time was abundant and free.....

    --

    --
    Time is on my side
  92. Re:A bug!?!?11 by t0ny · · Score: 2, Funny

    NOW linux is ready for the desktop

    --

    Manipulate the moderator system! Mod someone as "overrated" today.

  93. Patch for 2.4.20 from LKML by KPU · · Score: 3, Informative

    Further in the thread, there is a patch against 2.4.20.

  94. Kernels with grsecurity patches? by Zof · · Score: 1

    I am using the grsecurity patches and have always had the "restricted ptrace" option turned on (only root can ptrace). Does this provide some (any?) protection against this vulnerability?

  95. Yet another possible exploit. by princeofweasels · · Score: 1

    Boy would this open source developers give it a rest. Let atleast one or two exploits get exploited. This makes for slow news when we all we hear about is it being discovered. I say Alan should sit on it for six months or so, really see if something news worhty comes of it.

  96. meaning of the term 'remote' by Trepidity · · Score: 1

    It is possible to exploit this remotely, in the sense of "over the internet, thousands of miles from the vulnerable box." It's not possible to exploit it remotely, in the sense of "just a user on the internet who knows your IP." The "local" here refers to the fact that the exploiter needs to have a local account on the system already; this exploit will allow the unprivileged local account to illicitly elevate itself to root privileges.

    So don't panic if you're just running a desktop machine, but if you're running something like a university cs department server, where thousands of people have local accounts (and thus now potentially root access), some panic (or quick patching) would be in order.

  97. of course I got root by gotr00t · · Score: 1

    Yeah, what's my name?

  98. Sample code? by kylegordon · · Score: 1

    I found http://oxcart.xcalibre.co.uk/~kyle/ptrace24.c lying on a webserver I maintain about 7 hours before I heard of this exploit. Does anyone reckon the two are related?

  99. Re:Kernel Patches by Sj0 · · Score: 1

    The people that you're after are the people you depend on. We cook your meals. We haul away your trash. We connect your calls. We drive your ambulances. We guard you while you sleep. Do not fuck with us.

    (sorry, it just fits, in my psychotic mind. :P)

    --
    It's been a long time.
  100. Re:A bug!?!? by eryk · · Score: 1

    Since when having a security problem became a required feature for desktop OS?

    Oh... never mind!

  101. Re:Linux disclosure procedures? by N3WBI3 · · Score: 1
    Yes I know its the whole *nix world, I mentioned Linux because most commercial Unix platforms have the type of system in place MS has and the parent of my origional post was talking about how it makes MS better than Linux.

    Thanks for the reply

    --
  102. Re:OTBOS Re:Linux disclosure procedures? by N3WBI3 · · Score: 1

    What do you know a frenchy posting as an Anonymous **COWARD** it just feels right..

    --
  103. Grsecurity immune? by hjhornbeck · · Score: 1

    The exploit doesn't seem to work on every kernel. I've tried two, Gentoo's 2.4.19 and a lightly patched 2.4.20, and only the latter was exploitable.

    My best guess is that Grsecurity prevented it from working, or at least changed enough things to stop the standard exploit. It might be worth looking into, to prevent future bugs like this.

    HJ Hornbeck

  104. Clean Patch by NicoNet · · Score: 1

    Alan's Patch does not apply cleanly to 2.4.20. This one should.

    --
    http://www.niconet2k.com

  105. Moderation results... by jelle · · Score: 1

    I guess opinions are divided on this comment!:
    Insightful, Funny, Redundant, Overrated and back to Insightful...

    Perhaps /. needs a 'heavily moderated'-metric so that is becomes visible to the readers when moderators disagree. news.yahoo.com has it.

    Re:To all the windows bashers..., posted to Local Root Hole in Linux Kernels, has been moderated Insightful (+1).

    It is currently scored (2).

    It may try to talk like a duck, posted to A Slightly-Softer Microsoft Shared Source License, has been moderated Funny (+1).

    It is currently scored (2).

    It may try to talk like a duck, posted to A Slightly-Softer Microsoft Shared Source License, has been moderated Redundant (-1).

    It is currently scored (1).

    Re:Absolutely one step closer!, posted to A Slightly-Softer Microsoft Shared Source License, has been moderated Overrated (-1).

    It is currently scored (0).

    Re:To all the windows bashers..., posted to Local Root Hole in Linux Kernels, has been moderated Insightful (+1).

    It is currently scored (3)

    --
    --- Hindsight is 20/20, but walking backwards is not the answer.
  106. Patch for 2.4.20 by Nickopopo · · Score: 1

    You can find a patch for kernel 2.4.20 here :
    http://www.hardrock.org/kernel/2.4.20/linux-2.4 .20 -ptrace.patch

    I don't really know if it's as stable as it has to be but it does the job it has to do.

  107. Re:How is Microsoft (or God) responsible? by palfreman · · Score: 1
    well, if you define $GOD as 'an entity on which all things can be blamed, when one needs such a thing' then it does rather fit.....

    Definitions definitions. What I think you are doing there is defining God into existance by weakening the normal monotheistic defintion - that God is the one monotheistic god (a tautology), with real power to do stuff as shown in the Bible and is still doing stuff today, as claimed by monotheists.

    It seems to me that with God being just something that people blame for events not caused by obviouse things, there doesn't necessiarily have to be any existance in your definition, just the act of blaming. ;-0