SecurityContext

CVE-2019-7609: Kibana Timelion - Arbitrary Code Execution

Classification

  • Cwe: CWE-94
  • Cvss score: 10
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.95338
  • Epss percentile: 0.99868
  • Cpe: cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: title="kibana"
  • Google-query: intitle:"kibana"
  • Max-request: 1
  • Product: kibana
  • Shodan-query: http.title:"kibana"
  • Vendor: elastic

Products

ProductIndexedUrl
elastic:kibanayes/v1/products/elastic/kibana

Labels

  • Name: Kibana - Stored XSS
  • Impact: Attackers can execute arbitrary JavaScript code on the server, potentially leading to remote code execution and full system compromise.
  • Remediation: Update to Kibana 5.6.15 or 6.6.2 and later versions.
  • Vulnerability type: stored_xss
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs access to the Timelion application
  • Labels source: projectdiscovery
  • From cve: CVE-2019-7609

```yaml

id: CVE-2019-7609

info:

name: Kibana Timelion - Arbitrary Code Execution

author: dwisiswant0

severity: critical

description: Kibana versions before 5.6.15 and 6.6.1 contain an arbitrary code execution flaw in the Timelion visualizer. An attacker with access to the Timelion application 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.

impact: |

Arbitrary code execution can result in unauthorized access, data leakage, and system compromise.

remediation: |

Apply the latest security patches or upgrade to a patched version of Kibana to mitigate the vulnerability.

reference:

- https://github.com/mpgn/CVE-2019-7609

- https://discuss.elastic.co/t/elastic-stack-6-6-1-and-5-6-15-security-update/169077

- https://nvd.nist.gov/vuln/detail/CVE-2019-7609

- https://www.elastic.co/community/security

- https://access.redhat.com/errata/RHBA-2019:2824

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

cvss-score: 10

cve-id: CVE-2019-7609

cwe-id: CWE-94

epss-score: 0.95338

epss-percentile: 0.99868

cpe: cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*

metadata:

max-request: 1

vendor: elastic

product: kibana

shodan-query: http.title:"kibana"

fofa-query: title="kibana"

google-query: intitle:"kibana"

tags: cve,cve2019,kibana,rce,kev,elastic,vkev,vuln

http:

- method: POST

path:

- "{{BaseURL}}/api/timelion/run"

body: '{"sheet":[".es(*)"],"time":{"from":"now-1m","to":"now","mode":"quick","interval":"auto","timezone":"Asia/Shanghai"}}'

headers:

Content-Type: "application/json; charset=utf-8"

matchers-condition: and

matchers:

- type: word

part: body

words:

- "seriesList"

- type: word

part: header

words:

- "application/json"

- type: status

status:

- 200

digest: 4b0a00483046022100da0e9f303a86a859680fc1c87b5aeea3d66afcd37cdc7e41f5f3492a0af9c7cf022100f1953318d176e7d9a16557776cc105fd8417edcba47e98fda985390c8b5765fa:922c64590222798bb761d5b6d8e72950

```