cbcvebase.
CVE-2023-34967
published 2023-07-20

CVE-2023-34967: 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…

PriorityP347medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
60.94%
99.1th percentile
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

22 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debiandebian_linux
debiandebian_linux
debiannetatalk< netatalk 3.1.12~ds-8+deb11u1 (bullseye)netatalk 3.1.12~ds-8+deb11u1 (bullseye)
debiansamba< samba 2:4.17.10+dfsg-0+deb12u1 (bookworm)samba 2:4.17.10+dfsg-0+deb12u1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
netatalknetatalk>= 0 < 3.1.12~ds-8+deb11u13.1.12~ds-8+deb11u1
netatalknetatalk>= 0 < 3.1.17~ds-13.1.17~ds-1
netatalknetatalk>= 0 < 3.1.17~ds-13.1.17~ds-1
netatalknetatalk>= 3.1 < 3.1.173.1.17
redhatenterprise_linux
redhatenterprise_linux
sambasamba< 4.16.114.16.11
sambasamba>= 0 < 2:4.13.13+dfsg-1~deb11u62:4.13.13+dfsg-1~deb11u6
sambasamba>= 0 < 2:4.17.10+dfsg-0+deb12u12:4.17.10+dfsg-0+deb12u1
sambasamba>= 0 < 2:4.18.5+dfsg-12:4.18.5+dfsg-1
sambasamba>= 0 < 2:4.18.5+dfsg-12:4.18.5+dfsg-1
sambasamba>= 0 < 2:4.15.13+dfsg-0ubuntu0.20.04.32:4.15.13+dfsg-0ubuntu0.20.04.3
sambasamba>= 0 < 2:4.15.13+dfsg-0ubuntu1.22:4.15.13+dfsg-0ubuntu1.2
sambasamba>= 4.17.0 < 4.17.104.17.10
sambasamba>= 4.18.0 < 4.18.54.18.5

Detection & IOCsextracted from sources · hover to see the quote

  • Trigger condition: malicious Spotlight mdssvc RPC packets sent to Samba's mdssvc RPC service causing a crash in talloc_get_size() via type confusion in dalloc_value_for_key()
  • Target service to monitor: Samba mdssvc RPC service (Spotlight). Crashes in the shared RPC worker process (mdssvc worker) are a strong indicator of exploitation attempts.
  • Monitor for unexpected crashes of the Samba mdssvc RPC worker process, especially when multiple clients share the same worker — a crash affecting all clients simultaneously is a key signal.
  • Attack vector: parsing of Spotlight mdssvc RPC packets containing a key-value dictionary with unexpected/mismatched value types. Inspect RPC traffic to Samba's Spotlight service for malformed type-confused dictionary entries.
  • ·The vulnerability only affects Samba deployments with Spotlight (mdssvc RPC service) enabled. Installations without Spotlight configured are not affected.
  • ·Impact is a Denial of Service (process crash) affecting all clients sharing the same RPC worker process — not limited to the attacker's own session.

CVSS provenance

nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv5.9MEDIUM
vendor_ubuntu5.9MEDIUM
vendor_debian5.3MEDIUM
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.