CVE-2025-10230 is an OS command injection vulnerability in Samba's WINS registration handling. On Samba Active Directory Domain Controllers with WINS support enabled and a non-empty wins hook configured, attacker-controlled NetBIOS name data from a WINS registration packet is incorporated into a shell command without sufficient validation or escaping. The resulting command is executed by the Samba process. Affected releases include Samba 4.0 through 4.21.8, 4.22.0 through 4.22.4, and 4.23.0 through 4.23.1.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
5 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
This repository contains a proof-of-concept (PoC) exploit for CVE-2025-10230, a critical unauthenticated remote code execution vulnerability in Samba's WINS hook functionality when running as an Active Directory Domain Controller (AD DC) with WINS support and a hook script enabled. The exploit is implemented in a single Python script (CVE-2025-10230.py) that uses the Scapy library to craft and send a malicious WINS Name Registration packet to the target's UDP port 42. The vulnerability arises from unsanitized NetBIOS names being passed directly to a shell in the WINS hook script, allowing command injection. The script allows the attacker to specify a custom payload (shell command), with the default writing the output of 'id' to /tmp/injected_by_cve.txt on the target. The README.md provides an extensive technical and contextual overview of the vulnerability, affected configurations, impact, and mitigation steps. The exploit is a functional PoC and not weaponized, requiring the attacker to have root privileges locally to send raw packets. No hardcoded IPs or domains are present; the target is specified at runtime. The main attack vector is network-based, targeting exposed Samba AD DCs with vulnerable WINS configurations.
This repository contains a proof-of-concept (PoC) exploit for CVE-2025-10230, a critical unauthenticated remote code execution vulnerability in Samba's WINS hook handling. The exploit is implemented in a single Python script (CVE-2025-10230.py) that crafts and sends a malicious WINS Name Registration packet to a target Samba AD Domain Controller with WINS and a 'wins hook' script enabled. The vulnerability arises from unsanitized NetBIOS names being passed directly to the hook script, allowing command injection. The script uses Scapy to construct and send the packet, with a customizable payload (default: '; id > /tmp/injected_by_cve.txt 2>&1'). The README.md provides an extensive technical and contextual overview, including affected versions, impact, and mitigation advice. The exploit requires root privileges to send raw packets and targets UDP port 42 on the victim. If successful, arbitrary shell commands are executed on the Samba server, potentially leading to full system compromise. The repository is well-structured, with clear documentation and a single, focused exploit script.
This repository provides a proof-of-concept (PoC) exploit for CVE-2025-10230, a command injection vulnerability in Samba's WINS hook mechanism. The exploit is implemented in a single Python script (poc/cve-2025-10230.py) that crafts and sends a NetBIOS Name Service (NBNS) registration packet to a target Samba server's UDP port 137. The exploit leverages improper sanitization of the NetBIOS name field, which is directly inserted into a shell command defined by the 'wins hook' parameter in smb.conf. If the Samba server is configured as an Active Directory Domain Controller with 'wins support = yes' and a non-empty 'wins hook', arbitrary shell commands (up to 15 characters, subject to NetBIOS name restrictions) can be executed with the privileges of the Samba process (often root). The repository includes a sample vulnerable smb.conf, logs demonstrating exploitation, and a detailed README explaining the vulnerability, exploitation steps, and mitigation. No hardcoded IPs or domains are present; the exploit is generic and targets any vulnerable Samba server configured as described.
This repository contains a proof-of-concept (PoC) exploit for CVE-2025-10230, a critical unauthenticated remote code execution vulnerability in Samba's WINS hook handling. The exploit is implemented in a single Python script (CVE-2025-10230.py) that uses Scapy to craft and send a malicious WINS Name Registration packet to a target Samba AD Domain Controller with WINS support and a hook script enabled. The vulnerability arises from unsanitized NetBIOS names being passed directly to a shell in the hook script, allowing command injection. The script allows the user to specify a target IP, a custom shell payload, and a spoofed source IP. By default, it attempts to execute the 'id' command on the target and write the output to /tmp/injected_by_cve.txt. The README.md provides an extensive technical and contextual overview of the vulnerability, affected configurations, impact, and mitigation steps. No hardcoded IPs or domains are present; the exploit targets any user-supplied IP running a vulnerable Samba configuration. The attack vector is network-based, requiring only access to UDP port 42 on the target. The repository is well-structured, with clear documentation and a single, focused exploit script.
This repository provides a proof-of-concept (PoC) exploit for CVE-2025-10230, a command injection vulnerability in Samba's WINS hook functionality. The main exploit script (CVE-2025-10230.py) is written in Python and crafts a NetBIOS Name Registration packet, which is sent to a user-specified WINS server IP and port. The exploit targets Samba versions prior to 4.23.2, 4.22.5, and 4.21.9, but only if WINS support is enabled and a 'wins hook' is configured. The payload is limited to a NetBIOS name (max 15 characters, restricted charset), which severely limits the potential for arbitrary command injection. The repository also includes a Docker environment for building and running a vulnerable Samba instance, complete with a custom WINS hook script and logging for demonstration purposes. The exploit demonstrates the vulnerable code path but does not provide a weaponized payload due to the inherent input restrictions. The overall structure is clear, with the main PoC in Python, supporting Docker files for testing, and a concise README.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
41 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A vulnerability addressed by Huawei EulerOS SA-2026-3558 affecting Samba-related components. The technical vulnerability type is not specified.
A vulnerability addressed by the EulerOS_SA-2026-3471 Huawei EulerOS security advisory affecting Samba-related packages on EulerOS 2.11.1. The supplied content does not describe the vulnerability class or impact.
A named vulnerability affecting the listed ZTE CGSL Main Samba-related packages; the content states exploits are available.
A Samba vulnerability affecting certain QNAP QTS and QuTS hero operating system versions, addressed by QNAP in updated firmware releases.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.