CVE-2025-10230
JSON

10.0critical

Samba: command injection in wins server hook script

Severity
10.0critical CVSS:3.1 by redhat
Exploit likelihood
1.91% (higher than 80% of CVEs)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
sambabefore 4.21.9, from 4.22.0 before 4.21.5, from 4.23.0 before 4.23.2CVE List
samba4Not specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List

Classification

CWE-78

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en Samba, en el manejo del hook WINS de interfaz: los nombres NetBIOS de los paquetes de registro se pasan a un shell sin la validación o el escape adecuados. Los datos de nombres NetBIOS no saneados de los paquetes de registro WINS se insertan en un comando de shell y son ejecutados por el hook WINS del Controlador de Dominio de Active Directory de Samba, permitiendo a un atacante de red no autenticado lograr la ejecución remota de comandos como el proceso de Samba.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-10230 changed 2026-11-23CVE Terms of Use
NVDCVE-2025-10230 changed 2026-11-23Public domain