Home page logo

fulldisclosure logo Full Disclosure mailing list archives

Re: The GNU C library dynamic linker expands $ORIGIN in setuid library search path
From: Hanno Böck <hanno () hboeck de>
Date: Tue, 19 Oct 2010 20:17:57 +0200

Am Monday 18 October 2010 schrieb Tavis Ormandy:
# Open a file descriptor to the target binary (note: some users are
surprised # to learn exec can be used to manipulate the redirections of
the current # shell if a command is not specified. This is what is
happening below). 
$ exec 3< /tmp/exploit/target

I tried to reproduce this on Gentoo and it fails at this point. It seems the 
reason is that suid-binaries are not world-readable on Gentoo (on Debian they 
are) - this seems to be a useful security measure.

Hanno Böck              Blog:           http://www.hboeck.de/
GPG: 3DBD3B20           Jabber/Mail:    hanno () hboeck de

http://schokokeks.org - professional webhosting

Attachment: signature.asc
Description: This is a digitally signed message part.

Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]