---

Linux-Mandrake Security Update Advisory: Samba

From: Linux Mandrake Security Team <security@linux-mandrake.com>
Subject: [Security Announce] MDKSA-2001:040-1 - samba update
Date: Mon, 21 May 2001 12:06:05 -0600

______________________________________________________________________

                Linux-Mandrake Security Update Advisory
______________________________________________________________________

Package name:           samba
Date:                   May 21st, 2001
Original Advisory Date: April 20th, 2001
Advisory ID:            MDKSA-2001:040-1

Affected versions:      7.1, 7.2, 8.0, Corporate Server 1.0.1
______________________________________________________________________

Problem Description:

 A vulnerability found by Marcus Meissner exists in Samba where it was
 not creating temporary files safely which could allow local users to
 overwrite files that they may not have access to.  This happens when a
 remote user queried a printer queue and samba would create a temporary
 file in which the queue's data was written.  Because Samba created the
 file insecurely and used a predictable filename, a local attacker could
 cause Samba to overwrite files that the attacker did not have access
 to.  As well, the smbclient "more" and "mput" commands also created
 temporary files insecurely.

 The vulnerability is present in Samba 2.0.7 and lower.  2.0.8 and 2.2.0
 correct this behaviour.

Update:

 The Samba 2.0.8 release did not entirely fix the temporary file issues
 in previous versions.  The Samba team released 2.0.9 recently which
 does fix these problems completely.  As well, the 8.0 packages will now
 not attempt to use /root/tmp as the temporary directory, but /var/tmp.
______________________________________________________________________

References:

 http://www.securityfocus.com/frames/?content=/vdb/bottom.html?vid=2617
______________________________________________________________________

Please verify the update prior to upgrading to ensure the integrity of
the downloaded package.  You can do this with the command:
  rpm --checksig package.rpm
You can get the GPG public key of the Linux-Mandrake Security Team at
  http://www.linux-mandrake.com/en/security/RPM-GPG-KEYS
If you use MandrakeUpdate, the verification of md5 checksum and GPG
signature is performed automatically for you.

Linux-Mandrake 7.1:
5758d0764be77871603cad4eec2d9543  7.1/RPMS/samba-2.0.9-1.2mdk.i586.rpm
a81506bb03291cf4b1c6b204ccd88b81  7.1/RPMS/samba-client-2.0.9-1.2mdk.i586.rpm
44458f2c0267a6abae962c611c9a0519  7.1/RPMS/samba-common-2.0.9-1.2mdk.i586.rpm
550496a6af630aa60056a6e707a57f24  7.1/SRPMS/samba-2.0.9-1.2mdk.src.rpm

Linux-Mandrake 7.2:
10be481564cf6f7142cb5d13dfeb97da  7.2/RPMS/samba-2.0.9-1.1mdk.i586.rpm
5ce47c39b6a3d8ffd5a6927d89952bf0  7.2/RPMS/samba-client-2.0.9-1.1mdk.i586.rpm
280a8e26f761a1ea819f33b0510416de  7.2/RPMS/samba-common-2.0.9-1.1mdk.i586.rpm
33dd76ea5a5c8729f607cab34b959131  7.2/SRPMS/samba-2.0.9-1.1mdk.src.rpm

Linux-Mandrake 8.0:
591e72613b411f32f7d84fc1dcc81934  8.0/RPMS/samba-2.0.9-1.3mdk.i586.rpm
1e12a457a568df8c80ee8c53fcca2fe2  8.0/RPMS/samba-client-2.0.9-1.3mdk.i586.rpm
88c3f60519fa5c639b844da0d792ef6c  8.0/RPMS/samba-common-2.0.9-1.3mdk.i586.rpm
92b51b940e26d66992cdfe61dc9d1f46  8.0/SRPMS/samba-2.0.9-1.3mdk.src.rpm

Corporate Server 1.0.1:
29f91e9767080d484661c0ac0a12bfb0  1.0.1/RPMS/samba-2.0.9-1.2mdk.i586.rpm
145fa01d3761b784881812fe8e98be4f  1.0.1/RPMS/samba-client-2.0.9-1.2mdk.i586.rpm
c2a085bcebe32d3c49274524a0b56eeb  1.0.1/RPMS/samba-common-2.0.9-1.2mdk.i586.rpm
550496a6af630aa60056a6e707a57f24  1.0.1/SRPMS/samba-2.0.9-1.2mdk.src.rpm
______________________________________________________________________

Bug IDs fixed (see https://qa.mandrakesoft.com for more information):

______________________________________________________________________

To upgrade automatically, use MandrakeUpdate.

If you want to upgrade manually, download the updated package from one
of our FTP server mirrors and upgrade with "rpm -Fvh *.rpm".

You can download the updates directly from one of the mirror sites
listed at:

  http://www.linux-mandrake.com/en/ftp.php3.

Updated packages are available in the "updates/[ver]/RPMS/" directory.
For example, if you are looking for an updated RPM package for
Linux-Mandrake 8.0, look for it in "updates/8.0/RPMS/".  Updated source
RPMs are available as well, but you generally do not need to download
them.

Please be aware that sometimes it takes the mirrors a few hours to
update.

You can view other security advisories for Linux-Mandrake at:

  http://www.linux-mandrake.com/en/security/

If you want to report vulnerabilities, please contact

  security@linux-mandrake.com
______________________________________________________________________

Linux-Mandrake has two security-related mailing list services that
anyone can subscribe to:

security-announce@linux-mandrake.com

  Linux-Mandrake's security announcements mailing list.  Only
  announcements are sent to this list and it is read-only.

security-discuss@linux-mandrake.com

  Linux-Mandrake's security discussion mailing list.  This list is open
  to anyone to discuss Linux-Mandrake security specifically and Linux
  security in general.

To subscribe to either list, send a message to
  sympa@linux-mandrake.com
with "subscribe [listname]" in the body of the message.

To remove yourself from either list, send a message to
  sympa@linux-mandrake.com
with "unsubscribe [listname]" in the body of the message.

To get more information on either list, send a message to
  sympa@linux-mandrake.com
with "info [listname]" in the body of the message.

Optionally, you can use the web interface to subscribe to or unsubscribe
from either list:

  http://www.linux-mandrake.com/en/flists.php3#security

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis