Problem
Samba.org has announced a serious security alert - CVE-2012-1182 that allows remote code execution as the "root" user from an anonymous connection.
https://www.samba.org/samba/security/CVE-2012-1182 Cause
The problem was introduced in Samba 3.0.25 when IDL auto-generated code was used to handle the MS-RPC parsing functions.
As detailed in the above URL:The code generator for Samba's remote procedure call (RPC) code contained an error which caused it to generate code containing a security flaw. This generated code is used in the parts of Samba that control marshaling and un-marshaling of RPC calls over the network.
The flaw caused checks on the variable containing the
length of an allocated array to be done independently from
the checks on the variable used to allocate the memory for
that array. As both these variables are controlled by the
connecting client it makes it possible for a specially
crafted RPC call to cause the server to execute arbitrary
code. Solution
Samba version earlier that 3.0.25 are not susceptible to this CVE vulnerability.
OpenServer 5.0.7 MP5 - Samba 3.0.20 - not affectedUnixWare 7.1.4 MP4 - Samba 3.0.24 - not affectedOpenServer 6.0.0 MP4 - Samba 3.0.30 - susceptibleSamba.org has provided a patch for version 3.0.37 that is
also applicable to Samba 3.0.30. Until that fix has been
tested and becomes available, OpenServer 6 users are
advised to:1. Insure that a firewall prevents access to any susceptible Samba server from the internet.
2. As advised in the Samba CVE security alert, utilize the "hosts allow" parameter available inside smb.conf to restrict clients allowed to connect to the server to a trusted list.