Mandrake Linux Security Advisory : samba (MDKSA-2007:104-1)

Critical Nessus Plugin ID 25237


The remote Mandrake Linux host is missing one or more security updates.


A number of bugs were discovered in the NDR parsing support in Samba that is used to decode MS-RPC requests. A remote attacker could send a carefully crafted request that would cause a heap overflow, possibly leading to the ability to execute arbitrary code on the server (CVE-2007-2446).

A remote authenticated user could trigger a flaw where unescaped user input parameters were being passed as arguments to /bin/sh (CVE-2007-2447).

Finally, on Samba 3.0.23d and higher, when Samba translated SID to/from name using the Samba local list of user and group accounts, a logic error in smbd's internal security stack could result in a transition to the root user id rather than the non-root user (CVE-2007-2444).

Update :

The fix for CVE-2007-2444 broke the behaviour of force group when the forced group is a local Unix group for domain member servers.

This update corrects that regression.


Update the affected packages.

Plugin Details

Severity: Critical

ID: 25237

File Name: mandrake_MDKSA-2007-104.nasl

Version: $Revision: 1.15 $

Type: local

Published: 2007/05/16

Modified: 2015/03/19

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:lib64smbclient0, p-cpe:/a:mandriva:linux:lib64smbclient0-devel, p-cpe:/a:mandriva:linux:lib64smbclient0-static-devel, p-cpe:/a:mandriva:linux:libsmbclient0, p-cpe:/a:mandriva:linux:libsmbclient0-devel, p-cpe:/a:mandriva:linux:libsmbclient0-static-devel, p-cpe:/a:mandriva:linux:mount-cifs, p-cpe:/a:mandriva:linux:nss_wins, p-cpe:/a:mandriva:linux:samba-client, p-cpe:/a:mandriva:linux:samba-common, p-cpe:/a:mandriva:linux:samba-doc, p-cpe:/a:mandriva:linux:samba-server, p-cpe:/a:mandriva:linux:samba-smbldap-tools, p-cpe:/a:mandriva:linux:samba-swat, p-cpe:/a:mandriva:linux:samba-vscan-clamav, p-cpe:/a:mandriva:linux:samba-vscan-icap, p-cpe:/a:mandriva:linux:samba-winbind, cpe:/o:mandriva:linux:2007, cpe:/o:mandriva:linux:2007.1

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2007/05/23

Exploitable With


Core Impact

Metasploit (Samba "username map script" Command Execution)

Reference Information

CVE: CVE-2007-2444, CVE-2007-2446, CVE-2007-2447

BID: 23972, 23973, 23974

MDKSA: 2007:104-1