Updated 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 CentOS 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.
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 CentOS Linux 5 the impact of these issues is reduced as
Samba is constrained by the default SELinux "targeted" policy.
CentOS would like to thank the Samba developers, TippingPoint, and
iDefense for reporting these issues.