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 validatio...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSsamba |
< 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15→ 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15 |
2:4.3.11+dfsg-0ubuntu0.14.04.20+esm15 |
| Ubuntu:Pro:16.04:LTSsamba |
< 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4→ 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4 |
2:4.3.11+dfsg-0ubuntu0.16.04.34+esm4 |
| Ubuntu:Pro:18.04:LTSsamba |
< 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3→ 2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3 |
2:4.7.6+dfsg~ubuntu-0ubuntu2.29+esm3 |
| Ubuntu:Pro:20.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1→ 2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1 |
2:4.15.13+dfsg-0ubuntu0.20.04.8+esm1 |
| Ubuntu:22.04:LTSsamba |
< 2:4.15.13+dfsg-0ubuntu1.10→ 2:4.15.13+dfsg-0ubuntu1.10 |
2:4.15.13+dfsg-0ubuntu1.10 |
| Ubuntu:24.04:LTSsamba |
< 2:4.19.5+dfsg-4ubuntu9.4→ 2:4.19.5+dfsg-4ubuntu9.4 |
2:4.19.5+dfsg-4ubuntu9.4 |
| Ubuntu:25.10samba |
< 2:4.22.3+dfsg-4ubuntu2.1→ 2:4.22.3+dfsg-4ubuntu2.1 |
2:4.22.3+dfsg-4ubuntu2.1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org