Re:Samba remote execution vulnerability (CVE-2015-0240)
by praseodym on Monday February 23, 2015 @10:43AM
(#9094861)
Samba's smbd forks subprocesses with the connected user's account, so I think this is done whenever possible.
Re:Samba remote execution vulnerability (CVE-2015-0240)
by tedunangst on Monday February 23, 2015 @11:23AM
(#9095091)
Worth repeating that it's hard to change uid to the connected user if you don't start as root.
(Samba kind of does build a parallel system, but it's not completely parallel. Technically I think it could be possible to improve, so that Samba forks off subprocesses that switch identity based on the connected user's supplied credentials interacting with PAM etc., but that's not how it's done, and I don't know enough of the details of CIFS authentication to know if there's roadblockers there.)