View previous topic :: View next topic |
Author |
Message |
Shapemaker n00b
Joined: 22 Aug 2004 Posts: 64 Location: Finland
|
Posted: Sun Mar 06, 2005 4:18 pm Post subject: A critical vulnerability in PaX has been found |
|
|
Hi all!
While browsing the GRSecurity forums http://forums.grsecurity.net/index.php I came across the following very disturbing information: Quote: | PaX privilege elevation security bug
Severity: critical
Description: unprivileged users can execute arbitrary code with
the privileges of the target in any program they or
other users can execute
it is definitely exploitable for local users,
remote exploitability depends on how much control
one can have over executable file mappings in the
target
Affected
versions: all releases since 2003 September
(when vma mirroring was introduced)
Affected
configurations: anyone having SEGMEXEC or RANDEXEC (vma mirroring)
in the kernel's .config file
Fixed versions: patches released today, see http://pax.grsecurity.net
Mitigation: echo "0 0" > /proc/sys/vm/pagetable_cache
this will eliminate the obvious exploit vector only,
patching is still unavoidable
Technical details will be posted to the dailydave mailing list,
probably early next week.
This is a spectacular fuckup, it pretty much destroys what PaX has
always stood and been trusted for. For this and other reasons, PaX
will be terminated on 1st April, 2005, a fitting date... Brad Spengler
offered to take it up but if you're interested in helping as well,
contact pageexec_at_freemail.hu. |
The text above can be found from http://seclists.org/lists/fulldisclosure/2005/Mar/0211.html. What this means to PaX's future, I don't know, but I hope for the best. For the moment it seems every hardened Gentoo installation (with hardened kernel) which employs SEGMEXEC or RANDEXEC options is vulnerable. This is obviously very bad news. _________________ "Intellectual Property" should be an affront to anyone capable of independent thought. |
|
Back to top |
|
|
Rüpel Guru
Joined: 06 Nov 2002 Posts: 316 Location: Berlin/Germany
|
Posted: Sun Mar 06, 2005 5:05 pm Post subject: |
|
|
wow. wtf.
btw: "This is a spectacular fuckup" - nice wording _________________ :wq |
|
Back to top |
|
|
Shapemaker n00b
Joined: 22 Aug 2004 Posts: 64 Location: Finland
|
Posted: Mon Mar 07, 2005 4:16 pm Post subject: |
|
|
Really, don't the developers or security people have anything to say about this?
As I see it, the whole base on which hardened Gentoo has been built, is at least partially broken. IF that information is correct.
This should be patched ASAP! In the meantime the only likely fix is to disable SEGMEXEC and RANDEXEC options in the kernel .config, make && make modules_install, install new kernel and reboot. Or, as suggested in the bug report: Code: | echo "0 0" > /proc/sys/vm/pagetable_cache |
Yes, I am worried by this _________________ "Intellectual Property" should be an affront to anyone capable of independent thought. |
|
Back to top |
|
|
colonel_dolphin n00b
Joined: 12 Jan 2004 Posts: 39
|
Posted: Mon Mar 07, 2005 8:45 pm Post subject: FYI |
|
|
I AM NOT THE AUTHOR .. just cross posting for your convenience:
A patch for Pax has been released. Implementation obviously requires recompiling.
Subject: [announce-l] Critical bug in PaX: All Adamantix kernels affected.
From: "Peter Busser" <busser@m-privacy.de>
Date: Mon, March 7, 2005 3:15 am
To: announce-l@lists.adamantix.org
Hi!
The following link points to an announcement on Full-Disclosure (a well known
security mailing list BTW):
http://lists.netsys.com/pipermail/full-disclosure/2005-March/032240.html
The bug described here can give easy root access when exploited locally.
Despite of what the announcement says, this bug dates back to September 2002.
PaX has and will be an important part of Adamantix. The stuff it handles is
rather complex, because of the many technical details involved. Humans are
not very good at handling complexity and therefore things like this happen.
There are fine examples of bugs of the same magnitude to be found in the
bugtracker of a competing kernel patch. Only those bugs have been
``camouflaged'' and have not been publicly announced.
Anyhow, for the PaX author, this was the final straw. And he will stop
developing PaX in April. Sometimes you figure out that the goals you set are
not going to be reached. In situations like that it is often best to get over
it and start doing something else. That is basically what happened here. I
have seen this coming for some time now and while it is sad, things like this
are sometimes inevitable.
PaX is not only important for Adamantix or other security related
distributions and security conscious individuals. Lots of people use it
because of its quality. Actually, despite of what some people claim, there is
nothing comparable to PaX at the moment. Therefore switching to something
else is not an option. It looks like there are a few of these people who use
PaX also have the required technical skills and they want to continue the PaX
project. However, it remains to be seen how this works out in practice.
Adamantix is still a 2.4 based distribution. And these line of kernels don't
change much. So the PaX patch as we know it will be usable for Adamantix for
quite some time. For 2.6 things are different. There are plans to include 2.6
in Adamantix. But since 2.6 is not stable enough for use in security
applications, this is not a high priority. The direct impact for Adamantix is
therefore limited. What the long-term impact will be is unclear at the
moment, it depends on how things work out. Given the importance of PaX, I am
quite confident that it works out well in the end.
Joerg Weber has been working on newer Adamantix kernels. He was almost ready
to upload them, when this bug showed up. After adding the patch for this bug,
they will be compiled and uploaded. However, this might take a few days.
Groetjes,
Peter. |
|
Back to top |
|
|
Shapemaker n00b
Joined: 22 Aug 2004 Posts: 64 Location: Finland
|
Posted: Thu Mar 10, 2005 10:15 pm Post subject: |
|
|
Ok, so there is a patch available (I've been out of work for awhile). When will it be incorporated in the hardened-dev-sources, or is it there already (sorry, cannot check it myself, I'm on a work trip) _________________ "Intellectual Property" should be an affront to anyone capable of independent thought. |
|
Back to top |
|
|
at0mik n00b
Joined: 11 Mar 2005 Posts: 1
|
Posted: Fri Mar 11, 2005 6:32 pm Post subject: |
|
|
Why it's not already released ? I think it's a critical patch..... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|