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
- CVSS: 9.8 (critical)
- EPSS: 84.29% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2018-12-20
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
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.
- Check the Kibana version on the status page or with bin/kibana --version.
- Upgrade Kibana to a supported release (6.4.3 or 5.6.13 at minimum) together with Elasticsearch.
- Restart Kibana and check that the Console loads.
- 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.