Slashdot Mirror


Linux 2.4.24 Release Fixes Root Vulnerability

diegocgteleline.es writes "Linux Kernel 2.4.24 has been released and is available on kernel.org. It seems there's a bug in the mremap(2) system call, where a local user can get root privileges.The new version has been released only with the most important bugs fixed - the rest of the changes have been postponed (those changes include the XFS filesystem)."

31 of 436 comments (clear)

  1. Mod parent back up please by Frothy+Walrus · · Score: 2, Insightful

    In this case, "-1, Flamebait" can be read as "The truth hurts, don't it?"

    My experience with Linux is the same as the parent poster's: patching, patching, patching if you're up-to-date with the latest 2.x version, or running a kernel from 3 years ago if you prefer stability to tinkering.

    1. Re:Mod parent back up please by zulux · · Score: 1, Insightful

      Hear Hear...

      Linux is great fun for personal computers - but I highly recomend that people looks at NetBSD, FreeBSD and OpenBSd for server use.

      They went throught the same problems that Linux is going through right now... but that was about 7 years ago and have moved on.

      There stable, secure and robust - the perfect atributes for a server or even pesonal use if you value productivity over features.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    2. Re:Mod parent back up please by Zapman · · Score: 3, Insightful


      Software is written by humans, and humans make errors, so software has bugs.

      All software.

      The sysadmin motto (abridged) is 'all software sucks, all hardware sucks'

      I just looked through the bugtraq archives, and found 3 local root exploits for OpenBSD in the year 2003. That's the same class of problem as was found in Linux.

      Security is a mindset, and a practice. It's not a platform.

      --
      Zapman
    3. Re:Mod parent back up please by xchino · · Score: 2, Insightful

      Yes because we all know it's much better to sit around with known vulnerabilties for months at a time, because you are simply UNABLE to do anything about it. No one if forcing you to patch, and as this is a local exploit the need is certainly not as great for the majority of Linux users. Are you trying to imply that the better way to do it is to trust some companies code who has in the past put the very same vulnerabilities back into their OS that had been taken out in a previous update? If you hate patching so much and prefer windows binary updates, try just getting a prepatched binary kernel, install, reboot. Hell you could go so far as to emulate windows update by randomly making calls to windowsupdate.microsoft.com and uploading sensitive information. All in all your point is meritless and shows gross ignorance about system maintenance on your part.

      --
      Everyone is entitled to their own opinion. It's just that yours is stupid.
  2. Nice by Anonymous Coward · · Score: 2, Insightful

    I don't expect I'll be switching to 2.6 until May. The 2.6.1 release is very important to me as it includes a lot of patches previously rejected by Linus. I expect by May we'll have 2.6.3 at least and this kernel will be on its way to rock solid stability. As for now, 2.4 is in maintenance mode and will only be updated for bug fixes. This is great because it will replace the 2.2 kernel in this arena. But in this limbo we are in now, 2.4 is good enough for me.

  3. Can't Wait! by gillbates · · Score: 3, Insightful

    For the Microsoft trolls to pick this one up.

    Is this just more proof that Linux was built by amateurs? Or wait - I know - that Linux can't be trusted because the source code is open.

    Now, for those who think I'm serious, think about it for a moment. Slashdot hypes up every single MS vulnerability as "proof" that MS systems are inherently insecure. And I wouldn't disagree that MS systems are insecure. But discovering a single (or a few) vulnerability doesn't make an OS insecure.

    What it comes down to is vigilance and design. The numerous security holes in MS products are a result of bad design, not merely a mistake or two. And this is the big difference between this vulnerability - a mere isolated mistake - and Microsoft's complete lack of engineering which ensures that their software _will_ have security holes.

    Okay, flame away Microsofties!

    --
    The society for a thought-free internet welcomes you.
    1. Re:Can't Wait! by TWX · · Score: 3, Insightful

      Not only that, but Open Source/Linux tends to state specifically what the problem is, where to see it, and what the exact fix as code is, versus just relying on some international megacorporation to release a binary-only patch that one has to trust doesn't contain any more report-ware or additional bugs.

      Even with Linux's problems, I'll take it any day over MS OSes. At least Linux developers are honest about their mistakes.

      --
      Do not look into laser with remaining eye.
    2. Re:Can't Wait! by pballsim · · Score: 3, Insightful

      Personally I believe this shows that people are making the software and people make mistakes. Some mistakes are more stupid than others.

      I remember an exploit in the apache code that when they received an image that was bigger then there buffered they doubled the size of the buffer (ONCE!). (This was in November, not sure if they fixed it).

      I think this should just make the Linux and Microsoft and whatever communities be more humble and stop some of these flame wars.

      Linux/Unix/Microsoft all have their advantages and disadvantages. Both have great programming and weak programming. They all strive for the same goal, to make it easier for users to use computers. Linux/Unix was originally designed for programmers, Microsoft was originally designed for business people. They both are working on going to the other side.

    3. Re:Can't Wait! by NanoGator · · Score: 3, Insightful

      "Is this just more proof that Linux was built by amateurs? Or wait - I know - that Linux can't be trusted because the source code is open... Now, for those who think I'm serious, think about it for a moment. Slashdot hypes up every single MS vulnerability as "proof" that MS systems are inherently insecure. And I wouldn't disagree that MS systems are insecure. But discovering a single (or a few) vulnerability doesn't make an OS insecure."

      So doesn't it stand to reason then that the 'Microsoft Trolls' are simply giving you a taste of your own medicine? If Slashdot weren't out to sensationalize Microsoft at every turn, you wouldn't have to deal with 'Microsofties' forcing you to eat a bit of humble pie when these things come along.

      In short: People in glass houses...

      --
      "Derp de derp."
  4. Re:Anyone written an exploit yet? by irc.goatse.cx+troll · · Score: 2, Insightful

    "Just because the proof of concept exploit was created DOESN'T MEAN IT WAS RELEASED! If Linus and one other guy are the only ones with the proof of concept exploit, there is no reason to fear the script kiddies yet."

    No, but it means the exploit is valid and worth patching. Its not like a lack of code in the wild means the script kiddies don't have it, just that they're good at hiding it. If sysadmins of the world knew how long some ssh exploits were private.. scarey world.

    I'm assuming you're more of a windows admin, where you don't patch until you notice a new admin account named 'zer0c00l' has been created?

    --
    Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
  5. Re:XFS Filesystem by leoboiko · · Score: 2, Insightful

    Maybe this widespread usage is an effort to avoid confusion (e.g. with XFS fonts or ATM networks)?

    --
    Prescriptive grammar:linguistics :: alchemy:chemistry. Stop being a nazi and learn some science.
  6. *raises eyebrow* by Faust7 · · Score: 2, Insightful
    Joe Schmoe SysAdmin

    Isn't that an oxymoron?

    ...

    Well, it should be.

  7. Re:Well... by Anonymous Coward · · Score: 2, Insightful

    Microsoft has a lot more security issues than any typical linux distro.
    They only reason you don't hear about them so often anymore, is the fact that they recently changed from a weekly patch release cycle, to a monthly patch release cycle.

    That, and Automatic Updates. ;-)

  8. Re:XFS Filesystem by SirCrashALot · · Score: 3, Insightful

    XFS is also the X font server.....

  9. Re:Anyone written an exploit yet? by Anonymous Coward · · Score: 1, Insightful

    Remember, just because the good guys have found this problem now, doesn't mean the bad guys didn't find it first, a while back.

  10. Re:Linux has uptimes of 2 weeks by Anonymous Coward · · Score: 1, Insightful

    I wouldnt brag about running IIS FTP and file services on your AD box if I was you. That is if your FTP is accessible from the outside, you weren't clear :\

  11. Re:In Linux... by Nasarius · · Score: 3, Insightful

    Uh, right. "make bzImage" actually takes a couple minutes on any decently fast computer. You don't need to rebuild all the modules, and even that will take much less than an hour unless you're running ancient hardware.

    --
    LOAD "SIG",8,1
  12. Re:Argh, just finished 2.4.23 went back from 2.6 by YellowSubRoutine · · Score: 2, Insightful

    Sounds like you're running your X window system with a nice value. Handy trick for better responsiveness in 2.4, but lethal in 2.6.

    Nice values *really* make a difference in 2.6

  13. Re:Well... by RoLi · · Score: 4, Insightful

    Holes like elevation of privileges (like this one) cannot be used by worms since they work only when you already have access to the system. So while these bugs are bad enough, they are still not nearly as bad as the Win-RPC, or the bugs that allowed Nimda, CodeRed etc. to exist.

  14. Even the multi-user functions of today... by Kjella · · Score: 4, Insightful

    Having written Windows software for years, I can tell that if local exploits ever become a concern for Windows (e.g. if Windows ever goes multiuser in a big way, where a local user may want to exploit the machine), almost every Windows application will have big problems with local exploits

    ...are pretty much only for convienience, that is to keep user settings and such separate among a group of mutually trusted users (like say, a family). There's not much in terms of real security.

    That users created at install time default to admins with no passwords only goes to prove that even more. Which is fine, as long as a) noone unauthorized can get to the machine and b) all the users trust eachother.

    On the other hand, local exploits are a grave concern in many settings, say for example a university where each student has a local account. So they should by no means be taken lightly, even if they don't produce worms.

    Kjella

    --
    Live today, because you never know what tomorrow brings
  15. Re:Where to get it by Anonymous Coward · · Score: 1, Insightful
    The PGP signature can be used to verify that the file's genuine.

    I'm sure he'd be happy to put those in his home directory too.

  16. Re:XFS Filesystem by dietz · · Score: 2, Insightful

    XFS is not incorrect. XFS is not an acronym, even if you want it to be. XFS is the name of the file system. You can not expand it out and talk about the "X File System", even if you wanted to, because that's not what it's called.

    It's the filesystem named "XFS". Or, to put it another way, the XFS file system.

  17. Re:Argh, just finished 2.4.23 went back from 2.6 by adrianbaugh · · Score: 2, Insightful

    Slashdot is probably not the best forum to get a timely response from the maintainers of the relevant parts of the kernel or X. Perhaps you should file a bug report in a more appropriate place?

    --
    "'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
    - JRR Tolkien.
  18. "Bugs"? by spitzak · · Score: 2, Insightful

    The title of the article says "Root Vulnerability"!

    Anybody with any rudimentary knowledge knows that this is about the worst possible thing they could say. They did not even say "Local Root Vulnerability" which they could have.

  19. Re:Well... by Anonymous Coward · · Score: 1, Insightful

    Yes, holes like this weren't responsible for the exploitation of code servers at Gentoo and Debian.

    Oh wait, yes they were.

  20. Re:Argh, just finished 2.4.23 went back from 2.6 by Per+Wigren · · Score: 3, Insightful

    $ man nice

    On kernel 2.4 and earlier, you usually gave the X-server a negative nice-value to give it higher priority which lead to somewhat better responsivness. But the 2.6-kernel has a new rewritten scheduler (?) that detects if the process is interactive or not and handle them differently to make interactive apps more responsive while giving non-interactive apps more throughput. By renicing the X-server you foul the kernel to not make use of this and thus get a much less responsive X desktop.
    If you just compiled and installed the 2.6 kernel on a 2.4 distro that is not 2.6-ready you'll have to mock with the X startup-scripts to remove the nice/renice-stuff to make use of the great 2.6 desktop-features.

    --
    My other account has a 3-digit UID.
  21. Re:2.4.x? by Da+Web+Guru · · Score: 2, Insightful

    Maybe, but to upgrade your kernel you don't have to purchase an entire operating system to go along with it...

    --

    --guru

  22. Re:Anyone written an exploit yet? by ComputerSlicer23 · · Score: 2, Insightful
    There needs to be a reboot in there somewhere, otherwise, your just fooling yourself into believeing it's secure, because it's installed.

    I always end up rebooting manually, on glibc, ldd, and kernel security fixes. Generally pam changes too. Those are libraries that get sucked into early binaries and never get restarted. I suppose I could reboot into single user mode for everything but the kernel, but a reboot is a good idea anyways.

    Kirby

  23. Re:we got r00t, d00d!!! by Anonymous Coward · · Score: 2, Insightful

    Seems to me, those eyes just found something...

  24. Re:we got r00t, d00d!!! by MrNybbles · · Score: 2, Insightful
    if they can physically gain access to the computer. This is what this linux bug entails.

    Sigh. Once again, let me expain something to all you pseudo-expert security n00bs here: If somebody can get physical access to your computer, you have already lost. If I can gain physical access to a linux server, I could just unplug it and remove the hard drives. Wow, a security breach that only took me five minutes! Not only that, but my 'exploit' is platform independant, too. Since I have posted it here, I'll throw you a bone and make it an 'Open Source' exploit.

    I think you are missing the point. These people are not worried about someone walking in and taking hardware, they are worried about someone sneaking into the system and using it as a zombie or steal information without anyone knowing about it.

    You also missed the obvous, this bug can, in theory, be exploited remotly given the right kind of access.

    I wonder how long the exploit that r00ted Caldera was in the wild for?

    It doesn't really matter how long the bug/exploit existed. What matters is how big of a problem the exploit is and how fast it is fixed. Microsoft tends to take forever to fix it's bugs and it doesn't always do that right. Some patches would undo other patches and one of my friends ran Windows Update and it broke his ability to connect to the Internet.
    To take advantage of the mremap() syscall bug a person would either need to be able to run an executable on the Linux Box or be able to get some poorly written program to do it. And what business do most programs have calling mremap() anyway? This is not an easy bug to exploit. I would say that this exploit is not that big of a problem for most people and was fixed quickly. For people running a system where the admin was stupid enough to give untrustworthy people a login accout or somehow the ability to run executables, well, they should have been expecting something bad to happen.

    But since you guys taut how supposedly secure Linux is over Windows,. . .
    Why the hell are you comparing a Kernel to a collection of Operating Systems and Operating Environments (Windows 3.X 9X are not actually sperating systems) ?!? Most of the exploits of a Linux Distro are from the third party packages. I don't ever remember seeing anyone faulting Microsoft for a security hole in Windows caused by some third-party software. That Caldara exploit was most likely in a distro package, not Linux. Please get your terminology down before you pretend to know something.

    Almost makes one want to take their head out of the sand and look at the REAL world!

    Yah, and guess where your head is stuck? I'll give you a hint, it's not the sand. :p

    "Windows is better because. . .. Linux is better because. . . Mac is better because. . . Whoever sets the terms of the argument always wins (unless that person has no idea how to argue correctly)" -- MrNybbles

    --
    Losing faith in humanity one person at a time.
  25. Re:we got r00t, d00d!!! by MrNybbles · · Score: 2, Insightful
    Nice FUD, security n00b. Like all good FUD, its heavy on anecdotes and light on facts.

    I took the time to tell you what was wrong with your arguments and even quoted your post for easy refrence and the best you can do is call me a noob and say I am light on the facts. Do you blow everyone off that way or just the people you can't reply to with a solid argument?


    First of all, what I wrote is not FUD. At most it would be misinformation and what I wrote is not even that. How could what I have said put Fear, Uncertainty, or Doubt into anyone that is unjustified. Did I say anything that you can prove is a lie? Back up what you have said.


    Second, I am not a security newbie, and am not a noob. If you disagree then define what a newbie or noob is and say why I fit that description. Back up what you have said.


    Third, FUD is usually not anecdotes but lies and half truths. Also, what I posted in my last reply is not an anecdote but an example. An anecdote is the telling of an interesting or humorous incident. My firend loosing the ability to connect to the Internet was not funny.


    Fourth, Microsoft left many security holes unpatched cuasing lists such ashttp://www.pivx.com/larholm/unpatched/ to be made. Unfortunatly it looks like Microsoft talked them into taking down the list.


    Microsoft Refuses To Fix NT 4.0 Exploit

    http://slashdot.org/article.pl?sid=03/03/27/1930 25 6&mode=thread&tid=201&tid=128&tid=172

    Okay, so when was the last time you saw the Linux Kernel people or the GNU people refuse to patch a known exploit?


    I also pointed out that the Linux Kenrel exploit could be done remotly, something that you had totally missed.


    Does anyone else see the irony of Ms t0ny accusing me of being light on facts and yet backing up nothing that she has said?


    Windows is not perfect. Linux and Gnu software is not perfect. Apple products are not perfect. If someone mad a lean, efficient OS that did everything, was secure and never screwed up I would buy it. I am still looking.


    Okay, now that I have thrown a few facts your way, do you have the balls to refute or apologize?

    --
    Losing faith in humanity one person at a time.