CVE Vulnerabilities

CVE-2010-0788

Improper Link Resolution Before File Access ('Link Following')

Published: Mar 02, 2010 | Modified: Oct 10, 2018
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
4.4 MEDIUM
AV:L/AC:M/Au:N/C:P/I:P/A:P
RedHat/V2
1.7 LOW
AV:L/AC:L/Au:S/C:N/I:N/A:P
RedHat/V3
Ubuntu
MEDIUM

ncpfs 2.2.6 allows local users to cause a denial of service, obtain sensitive information, or possibly gain privileges via symlink attacks involving the (1) ncpmount and (2) ncpumount programs.

Weakness

The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Affected Software

Name Vendor Start Version End Version
Ncpfs Ncpfs 2.2.6 (including) 2.2.6 (including)
Ncpfs Ubuntu dapper *
Ncpfs Ubuntu hardy *
Ncpfs Ubuntu intrepid *
Ncpfs Ubuntu jaunty *
Ncpfs Ubuntu karmic *
Ncpfs Ubuntu upstream *

Potential Mitigations

  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Denying access to a file can prevent an attacker from replacing that file with a link to a sensitive file. Ensure good compartmentalization in the system to provide protected areas that can be trusted.

References