CVE Vulnerabilities

CVE-2010-4173

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

Published: Nov 22, 2010 | Modified: Apr 11, 2025
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
LibsdpOpenfabrics*1.1.104 (including)
LibsdpOpenfabrics1.1.99 (including)1.1.99 (including)
LibsdpOpenfabrics1.1.100 (including)1.1.100 (including)
LibsdpOpenfabrics1.1.101 (including)1.1.101 (including)
LibsdpOpenfabrics1.1.102 (including)1.1.102 (including)
LibsdpOpenfabrics1.1.103 (including)1.1.103 (including)
LibsdpUbuntulucid*
LibsdpUbuntumaverick*
LibsdpUbuntunatty*
LibsdpUbuntuoneiric*
LibsdpUbuntuquantal*
LibsdpUbunturaring*
LibsdpUbuntusaucy*
LibsdpUbuntuupstream*

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