Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc
Summary
| CVE | CVE-2023-42669 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-11-06 07:15:09 UTC |
| Updated | 2026-11-07 12:17:33 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-400 | NVD-CWE-noinfo | CWE-400 Uncontrolled Resource Consumption
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:4.18.6-2.el8_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | unaffected 0:4.18.6-2.el8_9 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | unaffected 0:4.15.5-13.el8_6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 0:4.17.5-4.el8_8 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:4.18.6-101.el9_3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | unaffected 0:4.18.6-101.el9_3 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | unaffected 0:4.15.5-111.el9_0 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 0:4.17.5-104.el9_2 * rpm | Not specified |
| CNA | Red Hat | Red Hat Virtualization 4 For Red Hat Enterprise Linux 8 | unaffected 0:4.15.5-13.el8_6 * rpm | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Storage 3 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cve-details | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| 2241884 – (CVE-2023-42669) CVE-2023-42669 samba: "rpcecho" development server allows denial of service via sleep() call on AD DC | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking |
| security.netapp.com/advisory/ntap-20231124-0002 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| 15474 – (CVE-2023-42669) [SECURITY] CVE-2023-42669 rpcecho, enabled and running in AD DC, allows blocking sleep on request | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.samba.org | Issue Tracking |
| Samba - Security Announcement Archive | af854a3a-2127-422b-91ae-364da2661108 | www.samba.org | Vendor Advisory |
| access.redhat.com/errata/RHSA-2023:7467 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2023:7408 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| access.redhat.com/errata/RHSA-2023:7464 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Red Hat | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | Third Party Advisory |
| access.redhat.com/errata/RHSA-2023:7371 | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2023-10-03T00:00:00.000Z | Reported to Red Hat. |
| CNA | 2023-10-10T00:00:00.000Z | Made public. |
Workarounds
CNA: To mitigate this vulnerability, disable rpcecho service on the AD DC by setting: ~~~ dcerpc endpoint servers = -rpcecho ~~~
Legacy QID Mappings
- 161070 Oracle Enterprise Linux Security Update for samba (ELSA-2023-6744)
- 161196 Oracle Enterprise Linux Security Update for samba (ELSA-2023-7467)
- 199820 Ubuntu Security Notification for Samba Vulnerabilities (USN-6425-1)
- 199907 Ubuntu Security Notification for Samba Vulnerabilities (USN-6425-3)
- 242260 Red Hat Update for samba (RHSA-2023:6209)
- 242318 Red Hat Update for samba (RHSA-2023:6744)
- 242484 Red Hat Update for samba (RHSA-2023:7408)
- 242507 Red Hat Update for samba (RHSA-2023:7467)
- 242508 Red Hat Update for samba (RHSA-2023:7464)
- 242602 Red Hat Update for samba (RHSA-2023:7371)
- 284612 Fedora Security Update for samba (FEDORA-2023-7eb8cbf1a5)
- 284682 Fedora Security Update for samba (FEDORA-2023-fff0c857d6)
- 285191 Fedora Security Update for samba (FEDORA-2023-8c9251e479)
- 503395 Alpine Linux Security Update for samba
- 505937 Alpine Linux Security Update for samba
- 6000310 Debian Security Update for samba (DSA 5525-1)
- 673574 EulerOS Security Update for samba (EulerOS-SA-2023-3286)
- 673680 EulerOS Security Update for samba (EulerOS-SA-2023-3258)
- 710873 Gentoo Linux Samba Multiple Vulnerabilities (GLSA 202402-28)
- 755069 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:4046-1)
- 755081 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:4059-1)
- 755106 SUSE Enterprise Linux Security Update for samba (SUSE-SU-2023:4096-1)
- 941395 AlmaLinux Security Update for samba (ALSA-2023:6744)
- 941422 AlmaLinux Security Update for samba (ALSA-2023:7467)