1. CVE archive
  2. 2017
  3. CVE-2017-8438

CVE-2017-8438

8.8 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 8.8 – High

Description

Elastic X-Pack Security versions 5.0.0 to 5.4.0 contain a privilege escalation bug in the run_as functionality. This bug prevents transitioning into the specified user specified in a run_as request. If a role has been created using a template that contains the _user properties, the behavior of run_as will be incorrect. Additionally if the run_as user specified does not exist, the transition will not happen.

Affected products

VendorProductVersionPlatform
elastic x-pack 5.0.0 –
elastic x-pack 5.0.1 –
elastic x-pack 5.0.2 –
elastic x-pack 5.1.0 –
elastic x-pack 5.1.1 –
elastic x-pack 5.2.0 –
elastic x-pack 5.2.1 –
elastic x-pack 5.2.2 –
elastic x-pack 5.3.0 –
elastic x-pack 5.3.1 –
elastic x-pack 5.3.2 –
elastic x-pack 5.3.3 –
elastic x-pack 5.4.0 –
All 9 Elastic X-pack vulnerabilities

Vulnerability type

CWE-269 Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

Impact on systems

ScopeImpact
Access Control Gain Privileges or Assume Identity

How to prevent it

Architecture and Design · Operation Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Architecture and Design · Separation of Privilege Follow the principle of least privilege when assigning access rights to entities in a software system.
Architecture and Design · Separation of Privilege Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

All 4,417 CWE-269 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org