Privilege Escalation Affecting org.elasticsearch:elasticsearch package, versions [,5.6.15) [6.0.0, 6.6.1)


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.24% (64th percentile)
Expand this section
NVD
8.1 high
Expand this section
Red Hat
6.8 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGELASTICSEARCH-460546
  • published 2 Sep 2019
  • disclosed 25 Mar 2019
  • credit Unknown

How to fix?

Upgrade org.elasticsearch:elasticsearch to version 5.6.15, 6.6.1 or higher.

Overview

org.elasticsearch:elasticsearch is a Distributed, RESTful Search Engine.

Affected versions of this package are vulnerable to Privilege Escalation. A permission issue was found in Elasticsearch when Field Level Security and Document Level Security are disabled and the _aliases, _shrink, or _split endpoints are used .

If the elasticsearch.yml file has xpack.security.dls_fls.enabled set to false, certain permission checks are skipped when users perform one of the actions mentioned above, to make existing data available under a new index/alias name. This could result in an attacker gaining additional permissions against a restricted index.