NIXPKGS-2025-0013
published on 14 Dec 2025
by @mweinelt Activity log
- Created automatic suggestion
- @mweinelt removed package sambamba
- @mweinelt accepted
- @mweinelt published on GitHub
Samba: command injection in wins server hook script
A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller’s wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.
Affected products
rhcos
samba
- <4.23.2
- <4.21.5
- <4.21.9
samba4
Package maintainers
-
@aneeshusa Aneesh Agrawal <aneeshusa@gmail.com>
-
@jbedo Justin Bedő <cu@cua0.org>