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: 3/24/2017

Updated: 3/6/2019

Nessus ID: 99199

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Low

Base Score: 1.2

Temporal Score: 1

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

CVSS v3

Risk Factor: Low

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: 3/23/2017

Vulnerability Publication Date: 3/23/2017

Reference Information

CVE: CVE-2017-2619

BID: 97033