Description
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.
Problem types
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Any version before 4.21.9
4.22.0 (semver) before 4.21.5
4.23.0 (semver) before 4.23.2
Timeline
| 2025-09-10: | Reported to Red Hat. |
| 2025-10-15: | Made public. |
References
access.redhat.com/security/cve/CVE-2025-10230
bugzilla.redhat.com/show_bug.cgi?id=2394377 (RHBZ#2394377)
www.samba.org/samba/history/security.html