1. Home
  2. Vulnerabilities
  3. CVE-2023-42669

CVE-2023-42669

Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc

Published 6 Nov 2023 · modified 26 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 46/100

Summary

A vulnerability was found in Samba's "rpcecho" development server, a non-Windows RPC server used to test Samba's DCE/RPC stack elements. This 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, allowing calls to the "rpcecho" server to be blocked for a specified time, causing service disruptions. This disruption is triggered by a "sleep()" call in the "dcesrv_echo_TestSleep()" function under specific conditions. Authenticated users or attackers can exploit this vulnerability to make calls to the "rpcecho" server, requesting it to block for a specified duration, effectively disrupting most services and leading to a complete denial of service on the AD DC. The DoS affects all other services as "rpcecho" runs in the main RPC task.

Affected products and versions

Redhat (18 line(s))
Redhat
ProductVersionsFixed inSource
Hat Enterprise Linux 6 Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 7 Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 8 Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 8.6 Extended Update Support Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 8.8 Extended Update Support Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 9 Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 9.0 Extended Update Support Versions not specified — CNA (vendor or assigner)
Hat Enterprise Linux 9.2 Extended Update Support Versions not specified — CNA (vendor or assigner)
Hat Storage 3 Versions not specified — CNA (vendor or assigner)
Hat Virtualization 4 for Red Hat Enterprise Linux 8 Versions not specified — CNA (vendor or assigner)
Enterprise linux 8.0 — NVD
Enterprise linux 9.0 — NVD
Enterprise linux eus 9.0 — NVD
Enterprise linux for ibm z systems 9.0_s390x — NVD
Enterprise linux for ibm z systems eus 9.0_s390x — NVD
Enterprise linux for power little endian 9.0_ppc64le — NVD
Enterprise linux for power little endian eus 9.0_ppc64le — NVD
Storage 3.0 — NVD
Samba (3 line(s))
Samba
ProductVersionsFixed inSource
Samba from 4.0.0 (included) to 4.17.12 (excluded) — NVD
Samba from 4.18.0 (included) to 4.18.8 (excluded) — NVD
Samba from 4.19.0 (included) to 4.19.1 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

Workaroundofficial source

To mitigate this vulnerability, disable rpcecho service on the AD DC by setting: ~~~ dcerpc endpoint servers = -rpcecho ~~~

Source : CNA (vendor or assigner)

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
NVD-CWE-noinfo · Non classé

How this data is obtained and calculated