How Torch broke ls and made me vulnerable
joshumax.github.io
How Torch broke ls and made me vulnerable
1–10 of 38 posts
Re: How Torch broke ls and made me vulnerable
#2Thanks for sharing!
Re: How Torch broke ls and made me vulnerable
#3sounds like a pretty good thing to disable in ld.so...
Re: How Torch broke ls and made me vulnerable
#4https://github.com/omnirom/android_bootable_recovery/commit/...
Re: How Torch broke ls and made me vulnerable
#5export LD_LIBRARY_PATH=/opt/whatever/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
Pull request sent to https://github.com/torch/distro/pull/228.
Re: How Torch broke ls and made me vulnerable
#6Re: How Torch broke ls and made me vulnerable
#7There are examples in various places:
https://enchildfone.wordpress.com/2010/03/23/a-description-o... http://man7.org/linux/man-pages/man8/ld.so.8.html http://longwei.github.io/rpath_origin/
LD_LIBRARY_PATH is really only for a developer's local use; it should never be used for installed software.
Disclaimer: may not apply in some scenarios, I haven't used Torch, so this is merely a general observation.
Re: How Torch broke ls and made me vulnerable
#8Re: How Torch broke ls and made me vulnerable
#9Re: How Torch broke ls and made me vulnerable
#10you know, that's a pretty good plausibly-deniable backdoor, if you think about it... sounds like a pretty good thing to disable in ld.so...