Samba 4.4.x < 4.4.12 / 4.5.x < 4.5.7 / 4.6.x < 4.6.1 Local File Disclosure

Low Nessus Network Monitor Plugin ID 700022

Synopsis

The remote host is running a version of Samba server that is affected by a local file disclosure attack vector.

Description

Versions of Samba 4.4.x prior to 4.4.12, 4.5.x prior to 4.5.7, and 4.6.x prior to 4.6.1 are unpatched, and therefore affected by a race condition that is triggered after the 'realpath()' system call has checked a path. This may allow a local attacker to potentially rename a recently checked path and use a symlink to read from unauthorized parts of the file system.

Solution

Upgrade Samba to version 4.6.1 or later. If version 4.6.x cannot be obtained, versions 4.5.7, and 4.4.12 are also patched for these issues.

See Also

https://www.samba.org/samba/security/CVE-2017-2619.html

http://www.nessus.org/u?c53fe3b4

http://www.nessus.org/u?684060f1

http://www.nessus.org/u?56bf48b5

Plugin Details

Severity: Low

ID: 700022

Family: Samba

Published: 2017/03/24

Updated: 2019/03/06

Dependencies: 8741

Nessus ID: 99199

Risk Information

Risk Factor: Low

CVSS v2.0

Base Score: 1.2

Temporal Score: 1

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

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

CVSS v3.0

Base Score: 2.9

Temporal Score: 2.8

Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:X/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:samba:samba

Patch Publication Date: 2017/03/23

Vulnerability Publication Date: 2017/03/23

Reference Information

CVE: CVE-2017-2619

BID: 97033