Orange Business Services
Vigil@nce Vigil@nce Vigil@nce
we track for your security since 1999
 home presentation vulnerabilities documentation contact  
subscriber area subscriber area
free access free access
Vigil@nce team describes computer vulnerabilities impacting your systems, and offers solutions to correct them.
recent vulnerabilities recent vulnerabilities
tracked products tracked products
RSS feed RSS feed
vulnerability

vulnerability announce CVE-2010-0788

ncpfs: privilege elevation via ncpmount and ncpumount

Synthesis of the vulnerability

When the ncpmount and ncpumount tools are installed suid root, a local attacker can use a symbolic link, in order to elevate his privileges, to obtain information or to create a denial of service.
Severity: 2/4.
Creation date: 29/01/2010.

Description of the vulnerability

The ncpmount and ncpumount utilities are used to mount a remote NCP (NetWare Core Protocol) share in a local directory. These tools are frequently installed suid root.

However, the ncpmount tool does not atomically check the mount directory. A local attacker can therefore:
 - call ncpmount to mount a remote share on /home/user/mydir
 - during its execution, replace /home/user/mydir by a symbolic link to /privatedirectory
 - wait for ncpmount to mount the share on /privatedirectory
So, by modifying/reading the content of the share on the remote server, the local attacker can modify/read to content of /privatedirectory.

Moreover, the ncpumount tool does not atomically check the directory to be unmounted. A local attacker can therefore:
 - call "ncpumount /home/user/mydir"
 - during its execution, replace /home/user/mydir by a symbolic link to /privatedirectory
 - wait for ncpumount to unmount /privatedirectory
A local attacker can thus unmount a mount point belonging to another user.

When the ncpmount and ncpumount tools are installed suid root, a local attacker can therefore use a symbolic link, in order to elevate his privileges, to obtain information or to create a denial of service.

Complete Vigil@nce bulletin

Access to the complete Vigil@nce bulletin

Characteristics

Title: ncpfs: privilege elevation via ncpmount and ncpumount.
Keywords: Core NCP NetWare Protocol elevation ncpfs ncpmount ncpumount privilege.
Identifiers: 532940, CVE-2010-0788, FEDORA-2010-1145, FEDORA-2010-1168, MDVSA-2010:046, REJ-2009-3297, SUSE-SR:2010:004, SUSE-SR:2010:012, VIGILANCE-VUL-9392.

Information sources

Publications and announces
Source example: CVE-2009-3297 samba, fuse, ncpfs: Race condition by mount (mount.cifs, ncpmount) / umount (fusermount, ncpumount) operations

Solutions for this vulnerability

Patch or workaround

Supplements

Attack

Exploit 0day or proof of concept

Computer vulnerabilities tracking service

The Vigil@nce computer vulnerability tracking service alerts your teams of vulnerabilities or threats impacting your information system.
The Vigil@nce vulnerability database contains several thousand vulnerabilities.
This bulletin is published by the Vigil@nce team, which tracks computer vulnerabilities impacting systems and applications.
Security vulnerability alerts



















France Télécom Copyright 1999-2010 Vigil@nce. Vigil@nce is a service from Orange Business Services. Site map. Legal notice. Version française