1. CVE archive
  2. 2015
  3. CVE-2015-7529

CVE-2015-7529

7.8 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – High

Description

sosreport in SoS 3.x allows local users to obtain sensitive information from sosreport files or gain privileges via a symlink attack on an archive file in a temporary directory, as demonstrated by sosreport-$hostname-$date.tar in /tmp/sosreport-$hostname-$date.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 14.04 –
canonical ubuntu linux 15.04 –
canonical ubuntu linux 15.10 –
redhat enterprise linux desktop 6.0 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux server 6.0 –
redhat enterprise linux server 7.0 –
redhat enterprise linux server aus 7.2 –
redhat enterprise linux server aus 7.3 –
redhat enterprise linux server aus 7.4 –
redhat enterprise linux server aus 7.6 –
redhat enterprise linux server aus 7.7 –
redhat enterprise linux server eus 6.7 –
redhat enterprise linux server eus 7.2 –
redhat enterprise linux server eus 7.3 –
redhat enterprise linux server eus 7.4 –
redhat enterprise linux server eus 7.5 –
redhat enterprise linux server eus 7.6 –
redhat enterprise linux server eus 7.7 –
redhat enterprise linux server tus 7.2 –
redhat enterprise linux server tus 7.3 –
redhat enterprise linux server tus 7.6 –
redhat enterprise linux server tus 7.7 –
redhat enterprise linux workstation 6.0 –
redhat enterprise linux workstation 7.0 –
sos project sos >= 3.0 <= 3.8 –

Vulnerability type

CWE-59 Improper Link Resolution Before File Access

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.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Access Control Read Files or Directories, Modify Files or Directories, Bypass Protection Mechanism
An attacker may be able to traverse the file system to unintended locations and read or overwrite the contents of unexpected files. If the files are used for a security mechanism then an attacker may be able to bypass the mechanism.
Other Execute Unauthorized Code or Commands
Windows simple shortcuts, sometimes referred to as soft links, can be exploited remotely since a .LNK file can be uploaded like a normal file. This can enable remote execution.

How to prevent it

Architecture and Design · Separation of Privilege 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.

All 1,887 CWE-59 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org