CVE-2018-17246 in elastic kibana

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

Kibana versions before 6.4.3 and 5.6.13 contain an arbitrary file inclusion flaw in the Console plugin. An attacker with access to the Kibana Console API could send a request that will attempt to execute javascript code. This could possibly lead to an attacker executing arbitrary commands with permissions of the Kibana process on the host system.

Affected software: elastic kibana, redhat openshift container platform

Scores

What LogPulse has for it

How to mitigate it

Upgrade Kibana to 6.4.3, 5.6.13 or later

Patch or upgrade. Kibana 6.4.3 and 5.6.13 stop the Console plugin from loading files named in the apis parameter, which closes the file inclusion that leads to code execution (CVE-2018-17246).

Applies to: Kibana before 5.6.13 and 6.0.0 to 6.4.2.

  1. Check the Kibana version on the status page or with bin/kibana --version.
  2. Upgrade Kibana to a supported release (6.4.3 or 5.6.13 at minimum) together with Elasticsearch.
  3. Restart Kibana and check that the Console loads.
  4. Keep Kibana behind authentication and do not expose it to the internet.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse