CVE Vulnerabilities

CVE-2014-3486

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

Published: Jul 07, 2014 | Modified: Feb 13, 2023
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
RedHat/V3
Ubuntu

The (1) shell_exec function in lib/util/MiqSshUtilV1.rb and (2) temp_cmd_file function in lib/util/MiqSshUtilV2.rb in Red Hat CloudForms 3.0 Management Engine (CFME) before 5.2.4.2 allow local users to execute arbitrary commands via a symlink attack on a temporary file with a predictable name.

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
Cloudforms_3.0_management_engine Redhat 5.2.1 5.2.1
Cloudforms_3.0_management_engine Redhat * 5.2.4
Cloudforms_3.0_management_engine Redhat 5.2.1.6 5.2.1.6
Cloudforms_3.0_management_engine Redhat 5.2.3.2 5.2.3.2
Cloudforms_3.0_management_engine Redhat 5.2.2 5.2.2
Cloudforms_3.0_management_engine Redhat 5.2 5.2
Cloudforms_3.0_management_engine Redhat 5.2.3 5.2.3

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