8.8
HIGH
CVE-2017-8438
Elastic X-Pack Security Run-As Privilege Escalation Vulnerability
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.

INFO

Published Date :

June 5, 2017, 2:29 p.m.

Last Modified :

Nov. 21, 2024, 3:34 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2017-8438 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Elastic x-pack
1 Elasticsearch x-pack
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-8438.

URL Resource
https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 Vendor Advisory
https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released Patch Vendor Advisory
https://www.elastic.co/community/security Vendor Advisory
https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 Vendor Advisory
https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released Patch Vendor Advisory
https://www.elastic.co/community/security Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-8438 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-8438 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952
    Added Reference https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released
    Added Reference https://www.elastic.co/community/security
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Elastic CWE-284
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-264 CWE-269
  • Initial Analysis by [email protected]

    Jun. 13, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released No Types Assigned https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released Patch, Vendor Advisory
    Changed Reference Type https://www.elastic.co/community/security No Types Assigned https://www.elastic.co/community/security Vendor Advisory
    Changed Reference Type https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 No Types Assigned https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952 Vendor Advisory
    Added CWE CWE-264
    Added CPE Configuration OR *cpe:2.3:a:elastic:x-pack:5.0.0:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.1.0:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.1.1:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.2.0:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.2.1:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.2.2:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.3.0:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.3.1:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.3.2:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.3.3:*:*:*:*:*:*:* *cpe:2.3:a:elastic:x-pack:5.4.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-8438 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-8438 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.20 }} 0.00%

score

0.55807

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability