RHEL 2.1 / 3 / 4 / 5 : samba (RHSA-2007:0354)
Critical Nessus Plugin ID 25239
SynopsisThe remote Red Hat host is missing one or more security updates.
DescriptionUpdated samba packages that fix several security flaws are now available.
This update has been rated as having critical security impact by the Red Hat Security Response Team.
Samba provides file and printer sharing services to SMB/CIFS clients.
Various bugs were found in NDR parsing, used to decode MS-RPC requests in Samba. A remote attacker could have sent carefully crafted requests causing a heap overflow, which may have led to the ability to execute arbitrary code on the server. (CVE-2007-2446)
Unescaped user input parameters were being passed as arguments to /bin/sh. A remote, authenticated, user could have triggered this flaw and executed arbitrary code on the server. Additionally, on Red Hat Enterprise Linux 5 only, this flaw could be triggered by a remote unauthenticated user if Samba was configured to use the non-default 'username map script' option. (CVE-2007-2447)
Users of Samba should upgrade to these packages, which contain backported patches to correct these issues. After upgrading, Samba should be restarted using 'service smb restart'
On Red Hat Enterprise Linux 5 the impact of these issues is reduced as Samba is constrained by the default SELinux 'targeted' policy.
Red Hat would like to thank the Samba developers, TippingPoint, and iDefense for reporting these issues.
SolutionUpdate the affected packages.