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 package | Versions | Reported by |
|---|---|---|
| samba | from 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 |
| samba4 | Not specified | CVE List |
| samba samba | from 4.0.0 before 4.17.12, from 4.18.0 before 4.18.8, from 4.19.0 before 4.19.1 | NVD |
| redhat storage | 3.0 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
| redhat enterprise_linux_eus | 9.0 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 9.0_s390x | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 9.0_s390x | NVD |
| redhat enterprise_linux_for_power_little_endian | 9.0_ppc64le | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 9.0_ppc64le | NVD |
All scores
| redhat | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| https://access.redhat.com/errata/RHSA-2023:6209 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2023:6744 | third-party-advisory, vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2023:7371 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2023:7408 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2023:7464 | vendor-advisory | |
| https://access.redhat.com/errata/RHSA-2023:7467 | vendor-advisory | |
| https://access.redhat.com/security/cve/CVE-2023-42669 | third-party-advisory, vdb-entry | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2241884 | issue-tracking | |
| https://bugzilla.samba.org/show_bug.cgi?id=15474 | issue-tracking | |
| https://www.samba.org/samba/security/CVE-2023-42669.html | vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20231124-0002/ | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-42669 changed 2026-11-26 | CVE Terms of Use |
| NVD | CVE-2023-42669 changed 2026-11-26 | Public domain |