CVE-2017-8438
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.0% in the next 30 days (EPSS).
- Severity: 8.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.0% · EPSS, next 30 days
- Weakness
- CWE-284 · Improper access control
- Record status
- Modified
Affected
- 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
Attack profile CVSS 3.0 · 8.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2017-8438.md and follow it. Check whether this project is affected by CVE-2017-8438. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952
- https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released
- https://www.elastic.co/community/security
- https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952
- https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released
- https://www.elastic.co/community/security
References
- https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952
- https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released
- https://www.elastic.co/community/security
- https://discuss.elastic.co/t/elastic-stack-5-4-1-and-5-3-3-security-updates/87952
- https://www.elastic.co/blog/elasticsearch-5-4-1-and-5-3-3-released
- https://www.elastic.co/community/security