Re:Samba 3.5.0+ vulnerability: Remote code execution from a ...
by benmmurphy on Wednesday May 24, 2017 @12:01PM
(#14410999)
from what i gather they pass the pipename into smb_probe_module which ends up calling dlopen
status = smb_probe_module("rpc", pipename);
my guess is you can either pass in a pipename starting with / which will cause it to be treated absolutely or ../../ which will cause dlopen to do a relative lookup
The fix disallows open on pipes with a name that starts with / : https://github.com/samba-team/samba/commit/02a76d86db0cbe79f...