FreeBSD : samba -- multiple vulnerabilities (3546a833-03ea-11dc-a51d-0019b95d4f14)

This script is Copyright (C) 2007-2015 Tenable Network Security, Inc.


Synopsis :

The remote FreeBSD host is missing one or more security-related
updates.

Description :

The Samba Team reports :

A bug in the local SID/Name translation routines may potentially
result in a user being able to issue SMB/CIFS protocol operations as
root.

When translating SIDs to/from names using Samba local list of user and
group accounts, a logic error in the smbd daemon's internal security
stack may result in a transition to the root user id rather than the
non-root user. The user is then able to temporarily issue SMB/CIFS
protocol operations as the root user. This window of opportunity may
allow the attacker to establish additional means of gaining root
access to the server.

Various bugs in Samba's NDR parsing can allow a user to send specially
crafted MS-RPC requests that will overwrite the heap space with user
defined data.

Unescaped user input parameters are passed as arguments to /bin/sh
allowing for remote command execution.

This bug was originally reported against the anonymous calls to the
SamrChangePassword() MS-RPC function in combination with the 'username
map script' smb.conf option (which is not enabled by default).

After further investigation by Samba developers, it was determined
that the problem was much broader and impacts remote printer and file
share management as well. The root cause is passing unfiltered user
input provided via MS-RPC calls to /bin/sh when invoking externals
scripts defined in smb.conf. However, unlike the 'username map script'
vulnerability, the remote file and printer management scripts require
an authenticated user session.

See also :

http://de5.samba.org/samba/security/CVE-2007-2444.html
http://de5.samba.org/samba/security/CVE-2007-2446.html
http://de5.samba.org/samba/security/CVE-2007-2447.html
http://www.nessus.org/u?3ca1b435

Solution :

Update the affected packages.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
Public Exploit Available : true

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 25260 (freebsd_pkg_3546a83303ea11dca51d0019b95d4f14.nasl)

Bugtraq ID:

CVE ID: CVE-2007-2444
CVE-2007-2446
CVE-2007-2447

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now