Stopping the program?
Posted Aug 26, 2004 19:32 UTC (Thu) by
jreiser (subscriber, #11027)
In reply to:
Stopping the program? by kweidner
Parent article:
Distribution of security fixes
... the dynamic linking stage of program execution, which is not intermingled with the normal program execution.
False. Nearly all dynamic symbol resolution is done with the equivalent of RTLD_LAZY, which is on-demand. The flags DT_BIND_NOW, DF_BIND_NOW, and DF_1_NOW are used rarely.
The symbols don't get resolved one by one as they get used.
False. That is exactly how they get resolved nearly all the time.
... the address information printed could be used to replace and subvert library functions.
Yes, getting the addresses can help pinpoint where to attack. The address may vary by library build (Linux distribution) or mmap() randomization.
In general, the entire LD_DEBUG issue doesn't appear to be an exploitable security hole, ...
The ability to block the process (by blocking the output stream from LD_DEBUG) widens the window during which an existing time-dependent weakness may be exploited.
a completely separate security hole that would be sufficient in itself to subvert security
Sometimes holes are time-dependent, and the ability to "stop the clock" can make a 1 millisecond window into eternity.
(
Log in to post comments)