Mandrake Linux Security Advisory : samba (MDKSA-2001:040-1)

This script is Copyright (C) 2004-2013 Tenable Network Security, Inc.

Synopsis :

The remote Mandrake Linux host is missing one or more security

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.

Solution :

Update the affected samba, samba-client and / or samba-common

Risk factor :

Low / CVSS Base Score : 2.1

Family: Mandriva Local Security Checks

Nessus Plugin ID: 13860 (mandrake_MDKSA-2001-040.nasl)

Bugtraq ID:

CVE ID: CVE-2001-0406

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now