Samba 4.13.x < 4.13.16 Arbitrary Directory Write

low Nessus Plugin ID 156756

Synopsis

The remote Samba server is potentially affected by an arbitrary directory write vulnerability.

Description

The version of Samba running on the remote host is 4.13.x prior to 4.13.16. It is, therefore, potentially affected by a SMB1 or NFS symlink race condition. A remote authenticated attacker, using the race condition, could potentially create a directory outside of the exported share.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Samba version 4.13.16 or later.

See Also

https://www.samba.org/samba/security/CVE-2021-43566.html

https://www.samba.org/samba/history/security.html

Plugin Details

Severity: Low

ID: 156756

File Name: samba_4_13_16.nasl

Version: 1.6

Type: remote

Family: Misc.

Published: 1/14/2022

Updated: 11/20/2023

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Low

Base Score: 1.2

Temporal Score: 0.9

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

CVSS Score Source: CVE-2021-43566

CVSS v3

Risk Factor: Low

Base Score: 2.5

Temporal Score: 2.3

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

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

Vulnerability Information

CPE: cpe:/a:samba:samba

Required KB Items: SMB/NativeLanManager, SMB/samba, Settings/ParanoidReport

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/11/2022

Vulnerability Publication Date: 1/11/2022

Reference Information

CVE: CVE-2021-43566

IAVA: 2022-A-0020-S