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


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


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.


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

Plugin Details

Severity: Low

ID: 700022

Family: Samba

Published: 3/24/2017

Updated: 3/6/2019

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:2.3:a:samba:samba:*:*:*:*:*:*:*:*

Patch Publication Date: 3/23/2017

Vulnerability Publication Date: 3/23/2017

Reference Information

CVE: CVE-2017-2619

BID: 97033