CVE Vulnerabilities

CVE-2011-3616

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

Published: Nov 04, 2011 | Modified: Mar 12, 2012
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.3 MEDIUM
AV:L/AC:M/Au:N/C:N/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

The getSkillname function in the eve module in Conky 1.8.1 and earlier allows local users to overwrite arbitrary files via a symlink attack on /tmp/.cesf.

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
Conky Conky * 1.8.1 (including)
Conky Conky 1.1 (including) 1.1 (including)
Conky Conky 1.2 (including) 1.2 (including)
Conky Conky 1.3.0 (including) 1.3.0 (including)
Conky Conky 1.3.1 (including) 1.3.1 (including)
Conky Conky 1.3.2 (including) 1.3.2 (including)
Conky Conky 1.3.3 (including) 1.3.3 (including)
Conky Conky 1.3.4 (including) 1.3.4 (including)
Conky Conky 1.3.5 (including) 1.3.5 (including)
Conky Conky 1.4.0 (including) 1.4.0 (including)
Conky Conky 1.4.1 (including) 1.4.1 (including)
Conky Conky 1.4.2 (including) 1.4.2 (including)
Conky Conky 1.4.3 (including) 1.4.3 (including)
Conky Conky 1.4.4 (including) 1.4.4 (including)
Conky Conky 1.4.5 (including) 1.4.5 (including)
Conky Conky 1.4.6 (including) 1.4.6 (including)
Conky Conky 1.4.7 (including) 1.4.7 (including)
Conky Conky 1.4.8 (including) 1.4.8 (including)
Conky Conky 1.4.9 (including) 1.4.9 (including)
Conky Conky 1.5.0 (including) 1.5.0 (including)
Conky Conky 1.5.1 (including) 1.5.1 (including)
Conky Conky 1.6.0 (including) 1.6.0 (including)
Conky Conky 1.6.1 (including) 1.6.1 (including)
Conky Conky 1.7.0 (including) 1.7.0 (including)
Conky Conky 1.7.1 (including) 1.7.1 (including)
Conky Conky 1.7.1.1 (including) 1.7.1.1 (including)
Conky Conky 1.7.2 (including) 1.7.2 (including)
Conky Conky 1.8.0 (including) 1.8.0 (including)
Conky Ubuntu hardy *
Conky Ubuntu lucid *
Conky Ubuntu maverick *
Conky Ubuntu natty *
Conky Ubuntu oneiric *

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