From: Alex Efros <powerman@powerman.asdfgroup.com>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] 2.6.27-hardened-r8: assassination
Date: Sat, 7 Mar 2009 00:57:47 +0200 [thread overview]
Message-ID: <20090306225746.GA2278@home.power> (raw)
In-Reply-To: <49B19FEB.13855.19525701@pageexec.freemail.hu>
Hi!
On Fri, Mar 06, 2009 at 11:12:59PM +0200, pageexec@freemail.hu wrote:
> ah crap, i know what it is. it's a several years old glibc bug where someone
> put a certain variable into the RELRO segment but forgot that it'll be written
> to later when a library with RWE GNU_STACK is loaded. the workaround is
> to find that library (just extract them from strace, probably it'll be
> pari's library) and run execstack -c on it.
I don't have execstack command. Looks like it belong to prelink package,
but http://www.gentoo.org/doc/en/prelink-howto.xml states it's
incompatible with hardened. Because of this I decide to compile it
manually, just to get execstack command:
# emerge -f prelink
# cd /usr/src
# tar xjvf /usr/portage-distfiles/prelink-20071009.tar.bz2
# cd prelink
# ./configure && make
Now I tried your workaround:
# /usr/src/prelink/src/execstack -c /usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/Math/Pari/Pari.so
# /usr/src/prelink/src/execstack -c /usr/local/ioncube/ioncube_loader_lin_5.2.so
# /usr/src/prelink/src/execstack -c /usr/local/Zend/lib/ZendExtensionManager.so
# /usr/src/prelink/src/execstack -c /usr/local/Zend/lib/ZendExtensionManager_TS.so
# /usr/src/prelink/src/execstack -c /usr/local/Zend/lib/Optimizer-3.3.0/php-5.2.x/ZendOptimizer.so
and it works!!
Is this issue will be fixed in next stable hardened-sources?
--
WBR, Alex.
next prev parent reply other threads:[~2009-03-06 22:57 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-06 3:57 [gentoo-hardened] 2.6.27-hardened-r8: assassination Alex Efros
2009-03-06 7:11 ` Alex Efros
2009-03-06 7:15 ` pageexec
2009-03-06 15:13 ` Alex Efros
2009-03-06 17:28 ` pageexec
2009-03-06 21:51 ` Alex Efros
2009-03-06 21:12 ` pageexec
2009-03-06 22:57 ` Alex Efros [this message]
2009-03-06 23:25 ` Ned Ludd
2009-03-06 23:46 ` Alex Efros
2009-03-19 14:50 ` pageexec
2009-03-19 16:46 ` John Eckhart
2009-03-20 22:31 ` pageexec
2009-03-21 15:12 ` atoth
2011-03-08 18:40 ` Alex Efros
2011-03-08 19:05 ` Mike Frysinger
2011-03-08 19:52 ` Alex Efros
2011-03-08 20:01 ` Mike Frysinger
2011-03-08 20:48 ` klondike
2011-03-08 20:49 ` Anthony G. Basile
2011-03-08 20:55 ` Mike Frysinger
2011-03-09 9:03 ` pageexec
2011-03-10 20:30 ` Anthony G. Basile
2011-03-10 20:39 ` Anthony G. Basile
2011-03-08 21:07 ` Alex Efros
2011-03-09 13:07 ` med
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090306225746.GA2278@home.power \
--to=powerman@powerman.asdfgroup.com \
--cc=gentoo-hardened@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox