CVE Vulnerabilities

CVE-2010-4173

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

Published: Nov 22, 2010 | Modified: Nov 30, 2010
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
3.3 LOW
AV:L/AC:M/Au:N/C:N/I:P/A:P
RedHat/V2
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:P/A:N
RedHat/V3
Ubuntu
MEDIUM

The default configuration of libsdp.conf in libsdp 1.1.104 and earlier creates log files in /tmp, which allows local users to overwrite arbitrary files via a (1) symlink or (2) hard link attack on the libsdp.log.##### temporary file.

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
Libsdp Openfabrics * 1.1.104 (including)
Libsdp Openfabrics 1.1.99 (including) 1.1.99 (including)
Libsdp Openfabrics 1.1.100 (including) 1.1.100 (including)
Libsdp Openfabrics 1.1.101 (including) 1.1.101 (including)
Libsdp Openfabrics 1.1.102 (including) 1.1.102 (including)
Libsdp Openfabrics 1.1.103 (including) 1.1.103 (including)
Libsdp Ubuntu lucid *
Libsdp Ubuntu maverick *
Libsdp Ubuntu natty *
Libsdp Ubuntu oneiric *
Libsdp Ubuntu quantal *
Libsdp Ubuntu raring *
Libsdp Ubuntu saucy *
Libsdp 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