Certainly Tavis's original attack is impossible, since you can't create
the hardlink:

$ ln /bin/ping /tmp/target
ln: failed to create hard link '/tmp/target' => '/bin/ping': Operation not 
permitted


I don't know when the change was made to prevent hard-linking files the user 
doesn't own, but it isn't specific to suid binaries:

$ ln /bin/bash /tmp/target
ln: failed to create hard link '/tmp/target' => '/bin/bash': Operation not 
permitted

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/565002

Title:
  ldopen failing with relative path when linux capability is set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/565002/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to