Samba 4.3.x < 4.3.13 / 4.4.x < 4.4.8 / 4.5.x < 4.5.3 Multiple Vulnerabilities

High Nessus Network Monitor Plugin ID 9857

Synopsis

The remote host is running a version of Samba server that is affected by multiple vulnerabilities.

Description

Versions of Samba 4.3.x prior to 4.3.13, 4.4.x prior to 4.4.8, and 4.5.x prior to 4.5.3 are unpatched, and therefore affected by the following vulnerabilities :

- An overflow condition exists in the 'ndr_pull_dnsp_name()' function in 'librpc/ndr/ndr_dnsp.c' that is triggered when handling 'dnsRecord' attributes of DNS objects. With a specially crafted request, an authenticated, remote attacker can cause a heap-based buffer overflow, resulting in a denial of service or potentially allowing the execution of arbitrary code. (OSVDB 149000)
- A flaw exists related to the client code always requesting a forwardable Kerberos ticket when performing Kerberos authentication. This may allow a service accepting the 'AP-REQ' from the client to perform the same actions as the client within the Kerberos TGT. (OSVDB 149001)
- A flaw exists in the 'check_pac_checksum()' function in 'auth/kerberos/kerberos_pac.c' that is triggered when handling Kerberos PAC (Privilege Attribute Certificate) validation. This may allow an authenticated, remote attacker to corrupt memory and crash the winbindd process. (OSVDB 149002)

Solution

Upgrade Samba to version 4.5.3 or later. If version 4.5.x cannot be obtained, versions 4.4.8, and 4.3.13 are also patched for these issues.

See Also

https://www.samba.org/samba/history/samba-4.5.3.html

https://www.samba.org/samba/history/samba-4.4.8.html

https://www.samba.org/samba/history/samba-4.3.13.html

https://www.samba.org/samba/ftp/patches/security/samba-4.5.2-security-20016-12-19.patch

https://www.samba.org/samba/ftp/patches/security/samba-4.4.7-security-20016-12-19.patch

https://www.samba.org/samba/ftp/patches/security/samba-4.3.12-security-20016-12-19.patch

Plugin Details

Severity: High

ID: 9857

File Name: 9857.prm

Family: Samba

Published: 2017/01/09

Modified: 2017/01/09

Dependencies: 8741

Nessus ID: 96142

Risk Information

Risk Factor: High

CVSSv2

Base Score: 9

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

CVSSv3

Base Score: 8.8

Temporal Score: 8.4

Vector: CVSS3#AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS3#E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:samba:samba

Patch Publication Date: 2016/12/19

Vulnerability Publication Date: 2016/12/19

Reference Information

CVE: CVE-2016-2123, CVE-2016-2125, CVE-2016-2126

BID: 94970, 94988, 94994