3 ms·
There is also a method at the end of the mail (in the Notes section) that details a method of using a SUID binary that you don't have read access to. TL;DR 1.
by pyre 16y ago
There is also a method at the end of the mail (in the Notes section) that details a method of using a SUID binary that you don't have read access to.
TL;DR
1. cause STDERR to block
2. run the SUID binary in the background in a way that triggers ld to try to write to STDERR causing it to block.
3. Replace /tmp/exploit with your binary
4. eliminate the blocking condition on STDERR.
5. ld will continue on using the $ORIGIN value.