Exploits Emerge For Linux Privilege Escalation Flaw
angry tapir writes "Linux vendors are rushing to patch a privilege escalation vulnerability in the Linux kernel that can be exploited by local attackers to gain root access on the system. The vulnerability, which is identified as CVE-2012-0056, was discovered by Jüri Aedla and is caused by a failure of the Linux kernel to properly restrict access to the '/proc//mem' file."
Awesome that this will lead to easier root access on Android devices.
On the flip side I'm sure Android vendors won't get around to patching this for a while and our devices will be vulnerable.
Now, off to patch my Linux boxen.
"Frequently wrong, never in doubt."
If someone is in a position to run a local exploit, aren't you pretty much fucked anyways?
It'll be fixed tomorrow
"I disapprove of what you say, but I will defend to the death your right to say it." - Evelyn Beatrice Hall, re Voltaire
A weak SSH user account/PHP script/whatever + local privilege escalation = instant remote root
a) Someone just has to has a non-privileged (I.e. non-root) account, not local console access.
b) Changing run-level requires privileged access, that's why not.
All of the machines I manage are O.K: we haven't installed anything newer than 2.6.38 yet anyway.
so someone has to be sitting in front of the boxen to exploit the exploit, why not just init 1? Serious question :)
"local" in this context usually means having a shell on the target machine - or similar way to upload and execute what you wish( and escalating privileges means that you escalate from "normal user who can't do shit" to something else, in this case root).
world was created 5 seconds before this post as it is.
http://blog.zx2c4.com/749
Gets into the memory specifics of the bug. I found it to be far better than the actual article.
Asumming that by local they mean shell access, init 1 would disconnect you from ssh.
Fair enough, I guess I learn something new every day :)
http://chimpbox.us
Pardon me, but I'm going to go watch Firefly now, as it appears none of you make any sense. Bye.
"Tongue tied and twisted, just an Earth bound misfit
Since this bug was introduced in Linux 2.6.39 Debian Stable (squeeze, Linux 2.6.32) is not affected. Unstable(sid, Linux 3.1) has already been patched, though Testing (wheezy) is still vulnerable.
More information here
"Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
sudo and selinux/apparmor. done.
so someone has to be sitting in front of the boxen to exploit the exploit, why not just init 1?
Or they could use axen to destroy the boxen. Or set some foxen on them to tear them to pieces. Or they could fill the boxen with melted waxen. Or bury them in faxen. This exploit is usable by people of both sexen, so long as they pay their taxen.
There is /proc/pid/mem, a pseudofile referring to the memory of process pid. It has 0600 permissions so you can't write to the memory of other users' processes. The bug occurs when you exec an suid executable and the kernel does not change open fds for /proc/pid/mem. This way, you can open mem, dup it to stderr, and exec su with a garbage parameter. su will duly print an error, quoting the offending parameter, writing to its process memory. With a properly selected shellcode you can get root.
My first thought is that this is a perfect example of why Linux fanbois should pay more attention to the speck of dust in their eye than the logs stuck in Windows' and OSX's eyes.
Err, at least I think that's how the saying goes.
--Jeremy
Jesus was a liberal
It only seems that way to the miserably uninformed. Relax. Smoke something.
You either don't know what the word all means, or you don't know what the term security through obscurity means.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
Again, you don't know what security through obscurity means. If the access to the code or other design that implements the security breaks it, then that is security through obscurity. All security relies on a secret known by one party, but unknown to others. This has absolutely nothing to do with security by obscurity.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
They don't have to be in front of the box, but even if they are the bootloader and BIOS might be locked down and they might have only non-privileged access to the OS.
Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
Have you vetted your x86 CPU vendor's microcode for correctness? How far down do the proverbial turtles go?
I think present_arms's point is that local console access involves access to the big red switch and the bootloader, which on a PC-type system can be used to gain root by booting into single-user mode.
Some of them rhyme with VAXen though.
>And I throw up a little in my mouth whenever somebody says or writes "boxen."
Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen! Boxen!
Here's a mopxen!
--
BMO - Atinlay igpay oxenbey!
/dev/kmem and 4.2 BSD spy program batman!
is the very wrong quotation!
The original source quotes instead:
which is the memory as seen by a certain process whose PID is <pid>.
Moreover, there's no "/proc/mem" file and the "//" whould be interpreted as "/".
But maybe that'd be just the Slashdot editor.
Sent as ripples into the electromagnetic field. No single photon has been harmed in the process.
You seem to be in a situation where PEBKAC - it's corrupting the text of your post. Of course what you meant to say is that the Open Source model does not guarantee security but simply allows interested parties to audit for and fix security problems independent of any single company or other rights holding restricting access to the source. Generally we find that the Open Source model has worked well for Linux and has been effective at addressing security concerns. The question is sometimes not whether problems exist, but whether or not they are found and corrected.
Speaking of security on Windows - if that post of yours isn't a case where PEBKAC, you might want to install some anti virus software - looks like someone might have pwnd your machine.
I have a certificate signed by the PRC themselves, though I am struggling a bit with the Mandarin.
Yes, but that doesn't automatically mean anyone saying something that a "shill" might possibly say is actually a "shill". That's how bat-brained conspiracy theories start.
Well can we all agree now that an unpatched OS, no matter if its OSX, BSD, Windows OR Linux, is a bad thing? Because i am really tired of posting how much trouble i'm having with updates puking on drivers only to get told "Well just disable updates and the sell the machine! Nothing will go wrong, its Linux!". There is NO "magical OS" that is immune to exploits, none. In the past couple of years we've seen Windows, Linux, Android, iOS, every OS of any popularity at all has been pwned at least once, most several times.
so can we please put the lie to bed that you can run unpatched Linux systems and never have to worry, please? Oh and for those that say "nobody would say that" i got that same answer not an hour ago so this belief is apparently common, scarily enough.
ACs don't waste your time replying, your posts are never seen by me.
Your article references the U.S. only. You do know there is more countries than just the U.S, right?
Change is certain; progress is not obligatory.
What programs depend on it to be writeable? Just make the file read-only for the PID owner.
Not the century one that forgets where the majority of the world's population or where the strongest currency is.
Change is certain; progress is not obligatory.
You're not suggesting those other countries actually matter, are you? What century are you living in? :-)
Not the century one that forgets where the majority of the world's population or where the strongest currency is.
China? Really? The country with the most worthless people (per capita)? Doin' the math, ... One country / 7 billion people ...
Do any individual Chinese citizens amount to anything worth your consideration, or do you just throw them into the meat grinder as usual AS CHINA HAS FOR THE PAST FOUR THOUSAND YEARS? To the PRC, I'm wondering. Sorry, venting, I may have issues.
BTW, I do have Chinese friends. Some of them are fairly special to me.
Damn, I'm looking forward to seeing you asshats in the crosshairs of my sniper rifle. Now why does "People's Republic of China" make me giggle so hard?
Oh yeah. Mao Tse Tung!
You know where to find me, and the sooner the better.
"Tongue tied and twisted, just an Earth bound misfit
Your assumptions amuse me, mistakening me for Chinese.
Change is certain; progress is not obligatory.
Pardon me, but I'm going to go watch Firefly now, as it appears none of you make any sense. Bye.
But.. but... how can you watch Firefly when Nielsen and NPD confirm that people buy cellphones? :O
This NPD? "NPD is a large polling company that that helps other companies report information about public. occationally they mess up really bad"
Wow. There is one hole hell of a lot of "FAIL" in there.
I need a new wristwatch... one with a stockmarket ticker... so I know with which mp3 player i"ll father my next child..
I believe you just proved my original point.
I think I'll go look for willing clitorises to pleasure now, toodles. [I believe the world would be a much better place were my tounge pleasuring more clitorises (but that's just my opinion).]
"Tongue tied and twisted, just an Earth bound misfit
Your assumptions amuse me, mistakening me for Chinese.
Yeah, I've got to admit, that looked pretty strange to me too this morning. I'll go find a wall to bang my head on now.
"Tongue tied and twisted, just an Earth bound misfit
12: to conceal
Concealing your password (as opposed to sticking it on a post-it or in your signature) is very much "security through obscurity."
That you can't understand that all security ultimately is based on something concealed is sad - it means you'll believe that things like biometrics are secure, when they're not (and they're also very much based on hiding something, both at the design and implementation levels, as well as the user level. If I have the information needed to duplicate your fingerprint, or the information on the data stream between the fingerprint reader and the rest of the system as well as the information on how to insert data into that stream, and the datastream that would result from your fingerprint, your data is mine).
There is no such thing as something that is 100% secure, but every bit of hiding (obscuring) information helps.
Let's call it what it is, Anti-Social Media.