cbcvebase.
CVE-2018-17246
published 2018-12-20

CVE-2018-17246: 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…

PriorityP190critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
82.25%
99.6th percentile
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

4 ranges
VendorProductVersion rangeFixed in
elastickibana
elastickibana>= 5.0.0 < 5.6.135.6.13
elastickibana>= 6.0.0 < 6.4.36.4.3
redhatopenshift_container_platform

Detection & IOCsextracted from sources · hover to see the quote

url/api/console/api_server?sense_version=%40%40SENSE_VERSION&apis=../../../../../../../../../../../etc/passwd
path/api/console/api_server
snort
alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (msg:"ET WEB_SPECIFIC_APPS Kibana Path Traversal Inbound (CVE-2018-17246)"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/console/api_server?apis=|2e 2e 2f 2e 2e 2f|"; fast_pattern; reference:url,github.com/mpgn/CVE-2018-17246; reference:cve,2018-17246; classtype:attempted-admin; sid:2033453; rev:3; metadata:created_at 2021_07_27, cve CVE_2018_17246, deployment Perimeter, deployment Internal, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_11_26, mitre_tactic_id TA0007, mitre_tactic_name Discovery, mitre_technique_id T1083, mitre_technique_name File_And_Directory_Discovery; target:dest_ip;)
snort
alert http any any -> $HOME_NET any (msg:"ET WEB_SPECIFIC_APPS Kibana Attempted LFI Exploitation (CVE-2018-17246)"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/console/api_server?sense_version="; startswith; fast_pattern; content:"SENSE_VERSION&apis="; pcre:"/^(?:\.\.\/){2,}/R"; reference:url,www.bleepingcomputer.com/news/security/file-inclusion-bug-in-kibana-console-for-elasticsearch-gets-exploit-code/; classtype:attempted-user; sid:2026739; rev:5; metadata:attack_target Web_Server, created_at 2018_12_19, cve CVE_2018_17246, deployment Perimeter, performance_impact Low, signature_severity Major, updated_at 2024_04_13;)
bytes
|2e 2e 2f 2e 2e 2f|
  • Look for GET requests to /api/console/api_server with the 'apis' parameter containing path traversal sequences (../../) to detect LFI exploitation attempts.
  • Response body containing the string '"message":"An internal server error occurred"' combined with a response header containing 'kbn-name' or 'kibana' (case-insensitive) indicates a vulnerable Kibana instance was probed.
  • Use Shodan, FOFA, or Google dorks to identify exposed Kibana instances that may be vulnerable.
  • The vulnerability was introduced in the console api_server plugin starting from Kibana version 5; prior versions do not contain the vulnerable functionality.
  • ·Red Hat OpenShift Container Platform versions 3.2 through 3.10, 3.2–3.9, and OCP 4 ship Kibana builds that are NOT affected by this CVE, as they do not include the vulnerable Console plugin.
  • ·OpenShift Enterprise 3.x prior to 3.11 ships Kibana versions that do not contain the console plugin or the commit which introduced the vulnerable code and are therefore not affected.
  • ·OpenShift Enterprise 3.11 ships kibana-5.6.10, which IS affected and requires patching.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
vulncheck9.8CRITICAL
vendor_redhat9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.