BugTraq
[ GLSA 200408-16 ] glibc: Information leak with LD_DEBUG Aug 17 2004 01:12PM
Kurt Lieber (klieber gentoo org) (1 replies)
Re: [ GLSA 200408-16 ] glibc: Information leak with LD_DEBUG Aug 20 2004 07:24AM
Jim Paris (jim jtan com) (1 replies)
> Silvio Cesare discovered a potential information leak in glibc. It
> allows LD_DEBUG on SUID binaries where it should not be allowed. This
> has various security implications, which may be used to gain
> confidentional information.

It's worse than that. You can essentially single-step through the
library calls of a binary by turning on verbose debugging through
LD_DEBUG and then carefully controlling stdout so that the program
blocks while writing the debugging output. I've used this to exploit
race conditions in setuid binaries that would otherwise be nearly
impossible to trigger.

Gentoo's method of adding LD_DEBUG to UNSECURE_ENVVARS will prevent
this.

-jim

[ reply ]
Re: [ GLSA 200408-16 ] glibc: Information leak with LD_DEBUG Aug 21 2004 05:02AM
Solar Designer (solar openwall com)


 

Privacy Statement
Copyright 2010, SecurityFocus