Samba < 3.0.2 mksmbpasswd.sh Uninitialized Passwords

high Nessus Plugin ID 17722

Synopsis

The remote host might contain a flawed account management script.

Description

According to its banner, the version of Samba running on the remote host is earlier than 3.0.2. Such versions are shipped with an account creation script (mksmbpasswd.sh) that, when utilized to disable a user account, may overwrite the user's password with the contents of an uninitialized buffer. This could lead to a disabled account becoming re-enabled with an easily guessable password.

Note that Nessus has not actually tried to exploit the issue or determine if the issue has been fixed by a backported patch.

Solution

Upgrade to Samba 3.0.2 or later.

See Also

http://www.samba.org/samba/history/samba-3.0.2.html

Plugin Details

Severity: High

ID: 17722

File Name: samba_mksmbpasswd.nasl

Version: 1.7

Type: remote

Family: Misc.

Published: 11/18/2011

Updated: 7/27/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: cpe:/a:samba:samba

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/9/2004

Vulnerability Publication Date: 2/9/2004

Reference Information

CVE: CVE-2004-0082

BID: 9637

RHSA: 2004:064