CVE Vulnerabilities

CVE-2011-2473

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

Published: Jun 09, 2011 | Modified: Aug 29, 2017
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
6.6 MODERATE
AV:L/AC:M/Au:S/C:C/I:C/A:C
RedHat/V3
Ubuntu
NEGLIGIBLE

The do_dump_data function in utils/opcontrol in OProfile 0.9.6 and earlier might allow local users to create or overwrite arbitrary files via a crafted –session-dir argument in conjunction with a symlink attack on the opd_pipe file, a different vulnerability than CVE-2011-1760.

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
Oprofile Maynard_johnson * 0.9.6 (including)
Oprofile Maynard_johnson 0.1 (including) 0.1 (including)
Oprofile Maynard_johnson 0.2 (including) 0.2 (including)
Oprofile Maynard_johnson 0.3 (including) 0.3 (including)
Oprofile Maynard_johnson 0.4 (including) 0.4 (including)
Oprofile Maynard_johnson 0.5 (including) 0.5 (including)
Oprofile Maynard_johnson 0.5.1 (including) 0.5.1 (including)
Oprofile Maynard_johnson 0.5.2 (including) 0.5.2 (including)
Oprofile Maynard_johnson 0.5.3 (including) 0.5.3 (including)
Oprofile Maynard_johnson 0.5.4 (including) 0.5.4 (including)
Oprofile Maynard_johnson 0.6 (including) 0.6 (including)
Oprofile Maynard_johnson 0.6.1 (including) 0.6.1 (including)
Oprofile Maynard_johnson 0.7 (including) 0.7 (including)
Oprofile Maynard_johnson 0.7.1 (including) 0.7.1 (including)
Oprofile Maynard_johnson 0.8 (including) 0.8 (including)
Oprofile Maynard_johnson 0.8.1 (including) 0.8.1 (including)
Oprofile Maynard_johnson 0.8.2 (including) 0.8.2 (including)
Oprofile Maynard_johnson 0.9 (including) 0.9 (including)
Oprofile Maynard_johnson 0.9.1 (including) 0.9.1 (including)
Oprofile Maynard_johnson 0.9.2 (including) 0.9.2 (including)
Oprofile Maynard_johnson 0.9.3 (including) 0.9.3 (including)
Oprofile Maynard_johnson 0.9.4 (including) 0.9.4 (including)
Oprofile Maynard_johnson 0.9.5 (including) 0.9.5 (including)
Oprofile Ubuntu devel *
Oprofile Ubuntu hardy *
Oprofile Ubuntu lucid *
Oprofile Ubuntu maverick *
Oprofile Ubuntu natty *
Oprofile 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