cve.bz

CVE-2018-17246 External Control of File Name or Path

9.8 criticalEPSS 84%

Critical (9.8). EPSS 84% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
84% (unchanged from 84% a week ago; 82% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
CWE-73 External Control of File Name or Path
OWASP Top 10
A06:2025 Insecure Design, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-17246 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-17246?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-17246?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-17246 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
elastic:kibanafrom 5.0.0 before 5.6.13
elastic:kibanafrom 6.0.0 before 6.4.3
redhat:openshift_container_platform3.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:3.11::el7atomic-enterprise-service-catalog, atomic-enterprise-service-catalog-svcat1:3.11.51-1.git.1671.2d16650.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 10 more0:3.11.51-1.git.0.1560686.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-cluster-autoscaler0:3.11.51-1.git.0.0aa9fc2.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-descheduler0:3.11.51-1.git.300.89070e8.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-dockerregistry0:3.11.51-1.git.446.d29ce0e.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-metrics-server0:3.11.51-1.git.52.03e3a91.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-node-problem-detector0:3.11.51-1.git.254.22189b0.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-service-idler0:3.11.51-1.git.14.813574a.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7atomic-openshift-web-console0:3.11.51-1.git.324.0ae64ed.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7cri-o, cri-o-debuginfo0:1.11.10-1.rhaos3.11.git42c86f0.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7golang-github-openshift-oauth-proxy0:3.11.51-1.git.419.1af74df.el7RHBA-2018:3743
Red Hatopenshift:3.11::el7jenkins0:2.138.2.1542054911-1.el7RHBA-2018:3743
10 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11atomic-enterprise-service-catalog-1:3.11.51-1.git.1671.2d16650.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-0:3.11.51-1.git.0.1560686.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-cluster-autoscaler-0:3.11.51-1.git.0.0aa9fc2.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-descheduler-0:3.11.51-1.git.300.89070e8.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-dockerregistry-0:3.11.51-1.git.446.d29ce0e.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-metrics-server-0:3.11.51-1.git.52.03e3a91.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-node-problem-detector-0:3.11.51-1.git.254.22189b0.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-service-idler-0:3.11.51-1.git.14.813574a.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11atomic-openshift-web-console-0:3.11.51-1.git.324.0ae64ed.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.11cri-o-0:1.11.10-1.rhaos3.11.git42c86f0.el7Fixed 2018-12-12RHBA-2018:3743
Red Hat OpenShift Container Platform 3.10kibanaNot affected
Red Hat OpenShift Container Platform 3.2kibanaNot affected
Red Hat OpenShift Container Platform 3.3kibanaNot affected
Red Hat OpenShift Container Platform 3.4kibanaNot affected
Red Hat OpenShift Container Platform 3.5kibanaNot affected
Red Hat OpenShift Container Platform 3.6kibanaNot affected
Red Hat OpenShift Container Platform 3.7kibanaNot affected
Red Hat OpenShift Container Platform 3.9kibanaNot affected
Red Hat OpenShift Container Platform 4kibanaNot affected
Red Hat OpenShift Enterprise 3.0kibanaNot affected
14 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-17246.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Kibana - Local File Inclusion
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Kibana Path Traversal Inbound (CVE-2018-17246) sid 2033453
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Kibana Attempted LFI Exploitation (CVE-2018-17246) sid 2026739

Attack patterns (CAPEC)

  • CAPEC-13 Subverting Environment Variable Values Likelihood: High · Severity: Very High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-267 Leverage Alternate Encoding Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON