Some Linux kernel security vulnerabilities
Posted Nov 12, 2004 17:57 UTC (Fri) by
iabervon (subscriber, #722)
In reply to:
Some Linux kernel security vulnerabilities by giraffedata
Parent article:
Some Linux kernel security vulnerabilities
IIRC, you should only be able to access a --x file by calling exec on it, which will cause the process to be replaced with the code loaded from the file. It replaces your address space, so it's never in "your" address space ("you" in this case being code of your choice; the address space will be still associated with your uid). The bug here is that you can cause a program with your code (rwx) to try to use a --x file as a dynamic linker. When it crashes, which it probably will as a --x file isn't going to be intended as a dynamic linker, the contents are in the core dump. If it doesn't crash, the program can read it.
(
Log in to post comments)