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

Medium 6.5 Published Updated

Authenticated attackers can cause a complete denial of service on Samba Active Directory Domain Controllers by exploiting the rpcecho development server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-42669?

CVE-2023-42669 is a medium-severity denial of service vulnerability in Redhat Enterprise Linux, published on 6 Nov 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-400

Which versions are affected by CVE-2023-42669?

It affects 8 products.

Products include Redhat Enterprise Linux, Redhat Enterprise Linux Eus, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Ibm Z Systems Eus, Redhat Enterprise Linux for Power Little Endian, Redhat Enterprise Linux for Power Little Endian Eus and 2 more.

How do I fix CVE-2023-42669?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-42669 being exploited?

There is no known exploitation of CVE-2023-42669 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2023-42669, AZL-31940, AZL-37027, CLSA-2026-1778879662, CLSA-2026-1778881275, DEBIAN-CVE-2023-42669 and 3 more.

Is CVE-2023-42669 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free