LiveActive security incident?Get immediate response
CVE Record

CVE-2025-10230: Samba: command injection in wins server hook script

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.

CriticalCVSS 10Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

A malicious network user may be able to make a Samba Active Directory Domain Controller run unintended operating-system commands. The flaw occurs when attacker-controlled NetBIOS names in WINS registration traffic reach a configured WINS hook without safe validation. Successful exploitation could compromise confidentiality, integrity, and availability under the Samba process identity.

Executive priority

Urgent for organizations operating Samba domain controllers with WINS hook functionality. Immediately establish whether the configuration exists and is reachable, then follow vendor remediation guidance. Systems without the hook or vendor-confirmed unaffected packages have lower immediate urgency, but their status should be documented because the supplied version boundaries are incomplete.

Technical view

CVE-2025-10230 is a CWE-78 command-injection flaw in Samba’s front-end WINS hook handling. Unsanitized NetBIOS names from registration packets are inserted into a shell command. The supplied CVSS 3.1 score is 10.0, reflecting unauthenticated, low-complexity, network-reachable remote code execution with changed scope and high impact.

Likely exposure

Exposure appears limited to Samba Active Directory Domain Controllers using the WINS hook and reachable by attackers able to send WINS registration packets. The supplied affected-version data is ambiguous and marks listed Red Hat products unaffected, so configuration and vendor package status must be verified rather than inferred from version alone.

Exploitation context

The source bundle does not identify CVE-2025-10230 as CISA KEV and provides no cited evidence of active exploitation. Nevertheless, the described unauthenticated network path, low complexity, and command-execution impact make vulnerable, reachable configurations high-value targets. Treat exploit availability and observed attacks as unconfirmed.

Researcher notes

The core condition is attacker-controlled NetBIOS registration data crossing a shell-command boundary in WINS hook processing. The bundle lists versions 0, 4.22.0, and 4.23.0 without a clear affected range, while all enumerated Red Hat products are marked unaffected. No definitive fixed release, patch identifier, or exploitation evidence is supplied.

Mitigation direction

  • Inventory Samba Active Directory Domain Controllers and identify systems configured with a WINS hook.
  • Check Samba and operating-system vendor guidance for confirmed affected versions, patches, and supported mitigations.
  • Disable unnecessary WINS hook functionality where operationally safe and supported by vendor guidance.
  • Restrict WINS registration traffic to trusted networks while preserving required domain services.
  • Prioritize remediation for reachable domain controllers because compromise could affect identity infrastructure.

Validation and detection

  • Confirm each Samba version, package origin, and vendor-specific vulnerability status.
  • Review Samba configuration for enabled WINS service and hook directives.
  • Verify whether untrusted networks can reach the WINS registration service.
  • After remediation, confirm the hook is disabled or the vendor-fixed package is installed.
  • Review relevant Samba and system logs for unexpected hook execution or child processes.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-78: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-10230 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
10 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
10CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H3.96redhat

Vulnerability scoring details

Base CVSS 3.1 score

10Critical
CVSS 3.1 vector shape for CVE-2025-10230Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. Source timelineredhat

    Reported to Red Hat.

  2. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  3. Source timelineredhat

    Made public.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorsambasamba, 0, 4.22.0, 4.23.0unaffected
Red HatRed Hat Enterprise Linux 10sambaunaffected
Red HatRed Hat Enterprise Linux 6sambaunaffected
Red HatRed Hat Enterprise Linux 6samba4unaffected
Red HatRed Hat Enterprise Linux 7sambaunaffected
Red HatRed Hat Enterprise Linux 8sambaunaffected
Red HatRed Hat Enterprise Linux 9sambaunaffected
Red HatRed Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8unaffected
Red HatRed Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-78 · source CWE mapping

Improper Neutralization of Special Elements used in an OS Command

Improper Neutralization of Special Elements used in an OS Command represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.