CVE Vulnerabilities

CVE-2015-5287

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

Published: Dec 07, 2015 | Modified: Dec 07, 2016
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
6.9 MEDIUM
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V2
6.9 MODERATE
AV:L/AC:M/Au:N/C:C/I:C/A:C
RedHat/V3
Ubuntu

The abrt-hook-ccpp help program in Automatic Bug Reporting Tool (ABRT) before 2.7.1 allows local users with certain permissions to gain privileges via a symlink attack on a file with a predictable name, as demonstrated by /var/tmp/abrt/abrt-hax-coredump or /var/spool/abrt/abrt-hax-coredump.

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
Automatic_bug_reporting_tool Redhat * 2.7.0 (including)
Red Hat Enterprise Linux 7 RedHat abrt-0:2.1.11-35.el7 *
Red Hat Enterprise Linux 7 RedHat libreport-0:2.1.11-31.el7 *

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