The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x before 4.2.0rc5 performs a free operation on an uninitialized stack pointer, which allows remote attackers to execute arbitrary code via crafted Netlogon packets that use the ServerPasswordSet RPC API, as demonstrated by packets reaching the _netr_ServerPasswordSet function in rpc_server/netlogon/srv_netlog_nt.c.
All versions of Samba from 3.5.0 to 4.2.0rc4 are vulnerable. The Samba project (https://www.samba.org/samba/history/) versions 4.2.0rc5, 4.1.17, 4.0.25 and 3.6.25 to address the issue and also made code patches ( https://www.samba.org/samba/history/security.html) available.
vRanger VA's family 7.X.X are vulnerable please run:
ps ax | grep smbd
and smbstatus to obtain your current version.
Tested on 7.1.1 and 7.1.4. The result is 4.0.9.
To avoid the vulnerability here is a manual workaround that involves adding the line rpc_server:netlogon=disabled. For Samba 4.0.0 and above
1.) Login into the VA console as root
2.) Navigate to: /etc/samba
3.) write vi /etc/samba/smb.conf
4.) Add to the [global] the next line.
5.) rpc_server:netlogon=disabled
6.) Hit Esc and write :wq ( to save the changes).
7.) Reboot the VA
Note the smb.conf after the change looks like: