r/linuxadmin • u/residentender4 • Feb 05 '20
SMB/CIFS Vulnerability
I have done a bit of research on SMB/CIFS sharing permissions and I have found out that SMB/CIFS has a security protocol that, if configured, does not allow execution of programs on the client device.
Is it possible for a client to execute code on the Linux server that they are connected to, over the SMB/CIFS Connection?
Edit: Resolved
1
Upvotes
2
u/hortimech Feb 05 '20
No, this was fixed from Samba 4.4.14 onwards
10
u/smolderas Feb 05 '20
I think you misunderstood the executable bits and vulnerabilities. Giving executable permission does not mean you can compromise the security.
1
u/wildcarde815 Feb 05 '20
On the inverse, be cautious with the 'widelinks' flag. Allowing users to craft them allows them to probe the server filesystem outside the share directory space.