Arbitrary Code Execution With "ldd"
pkrumins writes "The ldd utility is more vulnerable than you think. It's frequently used by programmers and system administrators to determine the dynamic library dependencies of executables. Sounds pretty innocent, right? Wrong! It turns out that running ldd on an executable can result in executing arbitrary code. This article details how such executable can be constructed and comes up with a social engineering scenario that may lead to system compromise. I researched this subject thoroughly and found that it's almost completely undocumented."
Sounds like someone needs to make LDD not capable of executing arbitrary code then =] /captainobvious
Fetch me my tinfoil hat!
-1, Disagree is not a valid option. Troll, Flamebait and Offtopic are not a substitute.
In Windows, we avoid this vulnerability by giving you absolutely no fricking clue what dependencies exist for any given DLL. Suck that Unix fanboys!
See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
So our lesson here is... don't run any scripts we don't fully understand as root. Thanks Slashdot - I feel so informed today!
...I'm sure someone will find some other vulnerability.
I researched this subject thoroughly and found that it's almost completely undocumented.
Completely undocumented... <CARUSO NAME="david" STYLE="csi/miami" SHADES="true"> ...until now. </CARUSO>
YEAAAAAAAAAH!
Informatus Technologicus
times like this, I just want to be able to say:
sandbox $whatever_command
and have it run in a completely safe environment.
[...] Or does such a thing exist?
A virtual machine you mean?
How do I turn my PC into that drop box you're talking about. I have no interest in child porn, though... no none at all... yes, uh, uhm... it's for uhh... academic, yes academic purposes.... yeah
They should rename it iddqd in honour of this new feature.
That's why I cross-compile my Gentoo on my Atari 600XL. It may take a few months longer, but it's worth it.
When our name is on the back of your car, we're behind you all the way!
I pretty much only code in Perl these days, so... not even the ones I've written myself, I guess.