In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade samba
to version 4.21.9, 4.22.5, 4.23.2 or higher.
Affected versions of this package are vulnerable to Command Injection via the wins hook
process. An attacker can execute arbitrary commands with the privileges of the Samba process by sending specially crafted NetBIOS names in WINS registration packets, which are concatenated into a shell command and executed without validation. This is only exploitable if the system is configured as a domain controller with both WINS support and the wins hook
parameter enabled.
This vulnerability can be mitigated by removing or leaving the wins hook
parameter empty in smb.conf, ensuring that WINS support is set to no on all Domain Controllers, and restricting external access to UDP port 137 to trusted networks.