CVE-2023-42669
Samba vulnerability analysis and mitigation

Overview

A vulnerability was found in Samba's "rpcecho" development server (CVE-2023-42669), a non-Windows RPC server used to test Samba's DCE/RPC stack elements. The vulnerability was discovered and reported by Andrew Bartlett of Catalyst and the Samba Team. The issue affects all versions of Samba since version 4.0.0 up to versions 4.17.12, 4.18.8, and 4.19.1 (Samba Advisory).

Technical details

The vulnerability stems from an RPC function that can be blocked indefinitely. The issue arises because the "rpcecho" service operates with only one worker in the main RPC task. Under specific conditions, a fully-blocking sleep() call in the dcesrvechoTestSleep() function can be executed, causing service disruptions. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (MEDIUM) with the vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD, Red Hat).

Impact

When exploited, authenticated users or attackers can make calls to the "rpcecho" server, requesting it to block for a specified duration. Since the rpcecho service runs in the main RPC task, this effectively disrupts most services and can lead to a complete denial of service on the AD DC (Samba Advisory).

Mitigation and workarounds

To address this vulnerability, the rpcecho server has been removed from production binaries and is now restricted to selftest builds only. Additionally, administrators can set 'dcerpc endpoint servers = -rpcecho' to disable the rpcecho service on the AD DC. The issue has been fixed in Samba versions 4.19.1, 4.18.8, and 4.17.12 (Samba Advisory).

Additional resources


SourceThis report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-10230CRITICAL10
  • SambaSamba
  • samba-gpupdate
NoYesNov 07, 2025
CVE-2020-25720HIGH7.5
  • SambaSamba
  • python3-samba-test
NoYesNov 17, 2024
CVE-2025-0620MEDIUM4.9
  • SambaSamba
  • samba-dcerpc-debuginfo
NoYesJun 06, 2025
CVE-2025-9640MEDIUM4.3
  • SambaSamba
  • libldb2-32bit
NoYesOct 15, 2025
CVE-2025-58160LOW2.3
  • RustRust
  • pixi
NoYesAug 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management