Samba WINS Command Injection Vulnerability (CVE-2025-10230) Notice

Samba WINS Command Injection Vulnerability (CVE-2025-10230) Notice

outubro 17, 2025 | NSFOCUS

Overview

Recently, NSFOCUS CERT detected that Samba released a security update to fix the Samba WINS command injection vulnerability (CVE-2025-10230); Since WINS when Samba is used as an AD domain controller does not strictly verify the wins hook script command when processing registration messages, unauthenticated attackers can construct a special host name to inject commands into the target server, thereby realizing remote command execution with the Samba process. The CVSS score is 10.0. Relevant users are requested to take measures for protection as soon as possible.

Reference link: https://www.samba.org/samba/security/CVE-2025-10230.html

Scope of Impact

Affected versions

  • Samba <= 4.23.1
  • Samba <= 4.22.4
  • 4.0 <= Samba <= 4.21.8

Note: It is only affected when Samba is a domain controller and wins support is turned on and the wins hook parameter is set.

Unaffected versions

  • Samba >= 4.23.2
  • Samba >= 4.22.5
  • Samba >= 4.21.9

Mitigation

Official upgrade

At present, the official has released a new version to fix this vulnerability. It is recommended that affected users upgrade their protection in time.

Download link: https://www.samba.org/samba/history/security.html

Temporary measures

Relevant users can clear and disable wins hook in the domain control environment, set wins support to no (not enabled by default); avoid running WINS on AD domain control without affecting business.

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, a pioneering leader in cybersecurity, is dedicated to safeguarding telecommunications, Internet service providers, hosting providers, and enterprises from sophisticated cyberattacks.

Founded in 2000, NSFOCUS operates globally with over 4000 employees at two headquarters in Beijing, China, and Santa Clara, CA, USA, and over 50 offices worldwide. It has a proven track record of protecting over 25% of the Fortune Global 500 companies, including four of the five largest banks and six of the world’s top ten telecommunications companies.

Leveraging technical prowess and innovation, NSFOCUS delivers a comprehensive suite of security solutions, including the Intelligent Security Operations Platform (ISOP) for modern SOC, DDoS Protection, Continuous Threat Exposure Management (CTEM) Service and Web Application and API Protection (WAAP). All the solutions and services are augmented by the Security Large Language Model (SecLLM), ML, patented algorithms and other cutting-edge research achievements developed by NSFOCUS.