CVE Vulnerabilities

CVE-2013-4157

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

Published: Oct 04, 2013 | Modified: Oct 07, 2013
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
3.6 LOW
AV:L/AC:L/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

Red Hat Storage 2.0 allows local users to overwrite arbitrary files via a symlink attack on the (1) e, (2) local-bricks.list, (3) bricks.err, or (4) limits.conf files in /tmp.

Weakness

The software 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
Storage_server Redhat 2.0 2.0
Red Hat Storage 2.0 RedHat appliance-0:2.0.6.0-2.el6rhs *
Red Hat Storage 2.0 RedHat glusterfs-0:3.3.0.14rhs-1.el6rhs *
Red Hat Storage 2.0 RedHat gluster-swift-plugin-0:1.0-7 *

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