CVE-2023-42669
JSON

6.5medium

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

Severity
6.5medium CVSS:3.1 by redhat
Exploit likelihood
2.06% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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

Product or packageVersionsReported by
sambafrom 4.0.0 before 4.17.12, from 4.18.0 before 4.18.8, 4.19.0
Not affected: from 0:4.18.6-2.el8_9 before *, from 0:4.15.5-13.el8_6 before *, from 0:4.17.5-4.el8_8 before *, from 0:4.18.6-101.el9_3 before *, from 0:4.15.5-111.el9_0 before *, from 0:4.17.5-104.el9_2 before *
CVE List
samba4Not specifiedCVE List
samba sambafrom 4.0.0 before 4.17.12, from 4.18.0 before 4.18.8, from 4.19.0 before 4.19.1NVD
redhat storage3.0NVD
redhat enterprise_linux8.0, 9.0NVD
redhat enterprise_linux_eus9.0NVD
redhat enterprise_linux_for_ibm_z_systems9.0_s390xNVD
redhat enterprise_linux_for_ibm_z_systems_eus9.0_s390xNVD
redhat enterprise_linux_for_power_little_endian9.0_ppc64leNVD
redhat enterprise_linux_for_power_little_endian_eus9.0_ppc64leNVD

All scores

redhat6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en el servidor de desarrollo "rpcecho" de Samba, un servidor RPC que no es de Windows utilizado para probar los elementos de la pila DCE/RPC de Samba. Esta vulnerabilidad se debe a una función RPC que puede bloquearse indefinidamente. El problema surge porque el servicio "rpcecho" opera con un solo trabajador en la tarea principal de RPC, lo que permite bloquear las llamadas al servidor "rpcecho" durante un tiempo específico, lo que provoca interrupciones en el servicio. Esta interrupción se desencadena mediante una llamada "sleep()" en la función "dcesrv_echo_TestSleep()" bajo condiciones específicas. Los usuarios autenticados o los atacantes pueden aprovechar esta vulnerabilidad para realizar llamadas al servidor "rpcecho", solicitándole que se bloquee durante un período específico, interrumpiendo efectivamente la mayoría de los servicios y provocando una denegación completa de servicio en AD DC. La DoS afecta a todos los demás servicios ya que "rpcecho" se ejecuta en la tarea principal de RPC.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-42669 changed 2026-11-26CVE Terms of Use
NVDCVE-2023-42669 changed 2026-11-26Public domain