Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Mandrake Local Security Checks >> MDKSA-2003:032: samba


Vulnerability Assessment Details

MDKSA-2003:032: samba

Vulnerability Assessment Summary
Check for the version of the samba package

Detailed Explanation for this Vulnerability Assessment

The remote host is missing the patch for the advisory MDKSA-2003:032 (samba).


The SuSE security team, during an audit of the Samba source code, found a flaw
in the main smbd code which could permit an external attacker to remotely and
anonymously gain root privilege on a system running the Samba server. This flaw
exists in all version of Samba 2.x up to and including 2.2.7a. The Samba team
announced 2.2.8 today, however these updated packages include a patch that
corrects this problem.
MandrakeSoft urges all users to upgrade immediately. If you are unable to apply
the updated packages (perhaps due to unavailability on your preferred mirror),
the following steps can be taken to protect an unpatched system:
The 'hosts permit' and 'hosts deny' options in the smb.conf file can be used to
permit access to your Samba server by only selected hosts
for example:

hosts permit = 127.0.0.1 192.168.2.0/24 192.168.3.0/24
hosts deny = 0.0.0.0/0

This will dispermit all connections from machines that are not the localhost or
in the 192.168.2 and 192.168.3 private networks. Alternatively, you can tell
Samba to listen to only specific network interfaces by using the 'interfaces'
and 'bind interfaces only' options:

interfaces = eth1 lo
bind interfaces only = yes

Obviously, use the internal interface for your network and not an external
interface connected to the internet. You may also choose to firewall off some
UDP and TCP ports in addition to the previously mentioned suggestions by
blocking external access to ports 137 and 138 (UDP) and ports 139 and 445 (TCP).
These steps should only be used as a temporary preventative measure and all
users should upgrade as quickly as possible.
Thanks to Sebastian Krahmer and the SuSE security team for performing the audit,
Jeremy Allison for providing the fix, and Andrew Tridgell for providing advice
on how to protect an unpatched Samba system.


Solution : http://wwwnew.mandriva.com/security/advisories?name=MDKSA-2003:032
Network Security Threat Level: High

Networks Security ID:

Vulnerability Assessment Copyright: This script is Copyright (C) 2004 Tenable Network Security

Cables, Connectors

Cisco IE3000 8TC Managed Switch 8 Ports
$499.0
Cisco IE3000 8TC Managed Switch 8 Ports  pictureHP ARUBA 2540 24G POE+ 4SFP+ SWCH JL356A#ABA
$2090.69
HP ARUBA 2540 24G POE+ 4SFP+ SWCH JL356A#ABA pictureBrocade ICX 6450-24 Ethernet Switch ICX6450-24
$1923.52
Brocade ICX 6450-24 Ethernet Switch ICX6450-24 pictureCisco Catalyst 3550 Network Switch
$41.99
Cisco Catalyst 3550 Network Switch picture


Discussions

No Discussions have been posted on this vulnerability.