Mandriva Linux Security Advisory : pam (MDVSA-2010:220)

Medium Nessus Plugin ID 50472


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


Multiple vulnerabilities were discovered and corrected in pam :

The pam_xauth module did not verify the return values of the setuid() and setgid() system calls. A local, unprivileged user could use this flaw to execute the xauth command with root privileges and make it read an arbitrary input file (CVE-2010-3316).

The pam_mail module used root privileges while accessing users' files.
In certain configurations, a local, unprivileged user could use this flaw to obtain limited information about files or directories that they do not have access to (CVE-2010-3435).

The pam_namespace module executed the external script namespace.init with an unchanged environment inherited from an application calling PAM. In cases where such an environment was untrusted (for example, when pam_namespace was configured for setuid applications such as su or sudo), a local, unprivileged user could possibly use this flaw to escalate their privileges (CVE-2010-3853).

Packages for 2009.0 are provided as of the Extended Maintenance Program. Please visit this link to learn more: 90

The updated packages have been patched to correct these issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 50472

File Name: mandriva_MDVSA-2010-220.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2010/11/04

Modified: 2014/11/14

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.9

Temporal Score: 6

Vector: CVSS2#AV:L/AC:M/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:lib64pam-devel, p-cpe:/a:mandriva:linux:lib64pam0, p-cpe:/a:mandriva:linux:libpam-devel, p-cpe:/a:mandriva:linux:libpam0, p-cpe:/a:mandriva:linux:pam, p-cpe:/a:mandriva:linux:pam-doc, cpe:/o:mandriva:linux:2009.0, cpe:/o:mandriva:linux:2009.1, cpe:/o:mandriva:linux:2010.0, cpe:/o:mandriva:linux:2010.1

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2010/11/04

Reference Information

CVE: CVE-2010-3316, CVE-2010-3435, CVE-2010-3853

BID: 42472, 43487, 44590

MDVSA: 2010:220