Shared Object Hijacking

Identification

find / -type f -perm -u=s 2>/dev/null | xargs ls -l

Runpath

Running ldd against the binary lists the library's path as /development/libshared.so, which means that it is vulnerable

Compile a shared object which includes the missing function

Exploitation

Tool

Resources

Last updated