created 4 months, 3 weeks ago
Samba: type confusion in mdssvc rpc service for spotlight
A Type Confusion vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets, one encoded data structure is a key-value style dictionary where the keys are character strings, and the values can be any of the supported types in the mdssvc protocol. Due to a lack of type checking in callers of the dalloc_value_for_key() function, which returns the object associated with a key, a caller may trigger a crash in talloc_get_size() when talloc detects that the passed-in pointer is not a valid talloc pointer. With an RPC worker process shared among multiple client connections, a malicious client or attacker can trigger a process crash in a shared RPC mdssvc worker process, affecting all other clients this worker serves.
Affected products
samba
-
==4.17.10
-
==4.18.5
-
*
-
==4.16.11
samba4
Matching in nixpkgs
Standard Windows interoperability suite of programs for Linux and Unix
Standard Windows interoperability suite of programs for Linux and Unix
Standard Windows interoperability suite of programs for Linux and Unix
created 4 months, 3 weeks ago
Samba: "rpcecho" development server allows denial of service via sleep() call on ad dc
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 products
samba
-
==4.19.0
-
<4.18.8
-
<4.17.12
-
==4.18.8
-
==4.19.1
-
==4.17.12
-
*
samba4
Matching in nixpkgs
Standard Windows interoperability suite of programs for Linux and Unix
Standard Windows interoperability suite of programs for Linux and Unix
Standard Windows interoperability suite of programs for Linux and Unix
created 4 months, 3 weeks ago
Samba: infinite loop in mdssvc rpc service for spotlight
An infinite loop vulnerability was found in Samba's mdssvc RPC service for Spotlight. When parsing Spotlight mdssvc RPC packets sent by the client, the core unmarshalling function sl_unpack_loop() did not validate a field in the network packet that contains the count of elements in an array-like structure. By passing 0 as the count value, the attacked function will run in an endless loop consuming 100% CPU. This flaw allows an attacker to issue a malformed RPC request, triggering an infinite loop, resulting in a denial of service condition.
Affected products
samba
-
==4.17.10
-
==4.18.5
-
*
-
==4.16.11
samba4
Matching in nixpkgs
Standard Windows interoperability suite of programs for Linux and Unix
Standard Windows interoperability suite of programs for Linux and Unix
Standard Windows interoperability suite of programs for Linux and Unix