CVE-2017-8438 Privilege escalation in X-Pack Security

High 8.8 Published Updated

Attackers can bypass run_as restrictions in Elastic X-Pack Security to gain unauthorized privileges when specific role templates are used.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-8438?

CVE-2017-8438 is a high-severity vulnerability in Elastic X-Pack Security, published on 5 Jun 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-269, CWE-284

Which versions are affected by CVE-2017-8438?

It affects 1 product.

Products include Elastic X-Pack.

How do I fix CVE-2017-8438?

No fix has been published for CVE-2017-8438 yet. Limit exposure of the affected software until one is available.

Is CVE-2017-8438 being exploited?

There is no known exploitation of CVE-2017-8438 in the wild and no public exploit code.

Sources

Also known as GHSA-c4fv-4x26-f38h.

Is CVE-2017-8438 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free