Bug 2241885 (CVE-2023-42670)

Summary: CVE-2023-42670 samba: AD DC Busy RPC multiple listener DoS
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: nobody, pfilipen, rhs-smb, security-response-team, stefano.biagiotti
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: samba 4.19.1, samba 4.18.8, samba 4.17.12 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Samba. It is susceptible to a vulnerability where multiple incompatible RPC listeners can be initiated, causing disruptions in the AD DC service. When Samba's RPC server experiences a high load or unresponsiveness, servers intended for non-AD DC purposes (for example, NT4-emulation "classic DCs") can erroneously start and compete for the same unix domain sockets. This issue leads to partial query responses from the AD DC, causing issues such as "The procedure number is out of range" when using tools like Active Directory Users. This flaw allows an attacker to disrupt AD DC services.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2243232    
Bug Blocks: 2228383    

Description TEJ RATHI 2023-10-03 07:34:40 UTC
Samba can be made to start multiple incompatible RPC listeners, disrupting service on the AD DC. When Samba's RPC server is under load, or otherwise not responding, the servers NOT built for the AD DC (eg build instead for the NT4-emulation "classic DCs") can be incorrectly started, and compete to listen on the same unix domain sockets. This then results in some queries being answered by the AD DC, and some not. "The procedure number is out of range" when starting Active Directory Users and Computers tool, however it can also be triggered maliciously, to prevent service on the AD DC.

https://bugzilla.samba.org/show_bug.cgi?id=15473

Comment 1 TEJ RATHI 2023-10-11 10:44:45 UTC
This CVE is now Public:
https://www.samba.org/samba/security/CVE-2023-42670.html

Comment 2 TEJ RATHI 2023-10-11 10:46:15 UTC
Created samba tracking bugs for this issue:

Affects: fedora-all [bug 2243232]