disallow setid binaries with $ORIGIN in PT_INTERP
|Assignee:||Jerry Jelinek||% Done:|
Currently $ORIGIN is honored in a PT_INTERP section regardless of whether the binary is setid or not. If a binary were constructed and setid in this way, it would allow someone else to play games with the interpreter. While this is an extremely rare combination, it's worth clamping it off at the bit.
#2 Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
commit 03973b9c824451c1d02fc613e033aa196a15ae3c Author: Jerry Jelinek <firstname.lastname@example.org> Date: 2016-05-24T02:22:13.000Z 6987 disallow setid binaries with $ORIGIN in PT_INTERP Reviewed by: Robert Mustacchi <email@example.com> Reviewed by: Joshua M. Clulow <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Andy Stormont <firstname.lastname@example.org> Reviewed by: Garrett D'Amore <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>
Also available in: Atom