Home > Security > Advisories

Advisories

Mandriva Advisories

Package name samba
Date May 21st, 2001
Advisory ID MDKSA-2001:040-1
Affected versions 7.1, 7.2, 8.0, CS1.0
Synopsis Updated samba packages fix temporary file insecurities

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.

Updated Packages

Mandrakelinux 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

Mandrakelinux 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

Mandrakelinux 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

Upgrade

To upgrade automatically, use MandrivaUpdate.


Verification

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 Mandriva Security Team to verify the GPG signature of each RPM.

If you use MandrivaUpdate, the verification of md5 checksum and GPG signature is performed automatically for you.