Mandriva Linux Security Advisory : ncpfs (MDVSA-2012:084)

Medium Nessus Plugin ID 59305


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


Multiple vulnerabilities has been discovered and corrected in ncpfs :

ncpfs 2.2.6 and earlier attempts to use (1) ncpmount to append to the /etc/mtab file and (2) ncpumount to append to the /etc/mtab.tmp file without first checking whether resource limits would interfere, which allows local users to trigger corruption of the /etc/mtab file via a process with a small RLIMIT_FSIZE value, a related issue to CVE-2011-1089 (CVE-2011-1679).

ncpmount in ncpfs 2.2.6 and earlier does not remove the /etc/mtab~ lock file after a failed attempt to add a mount entry, which has unspecified impact and local attack vectors (CVE-2011-1680).

The updated packages have been patched to correct this issue.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 59305

File Name: mandriva_MDVSA-2012-084.nasl

Version: $Revision: 1.4 $

Type: local

Published: 2012/05/30

Modified: 2013/06/01

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.4

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:ipxutils, p-cpe:/a:mandriva:linux:lib64ncpfs-devel, p-cpe:/a:mandriva:linux:lib64ncpfs2.3, p-cpe:/a:mandriva:linux:libncpfs-devel, p-cpe:/a:mandriva:linux:libncpfs2.3, p-cpe:/a:mandriva:linux:ncpfs, cpe:/o:mandriva:linux:2010.1, cpe:/o:mandriva:linux:2011

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

Patch Publication Date: 2012/05/29

Reference Information

CVE: CVE-2011-1679, CVE-2011-1680

MDVSA: 2012:084