POC详情: 7d0874b526e9e53a1178f06f298208ce4afe9214

来源
关联漏洞
标题: Metabase 安全漏洞 (CVE-2023-38646)
描述:Metabase是美国Metabase公司的一个开源数据分析平台。 Metabase 0.46.6.1之前版本和Metabase Enterprise 1.46.6.1之前版本存在安全漏洞,该漏洞源于允许攻击者以运行该服务的权限在服务器上执行任意命令。
描述
Metabase Pre-auth RCE
介绍
# CVE-2023-38646 - Metabase Pre-auth RCE

![Untitled presentation](https://github.com/shamo0/CVE-2023-38646-PoC/assets/48299520/13d20129-bef1-48d7-8b4b-0d25713df35e)

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.


## PoC Steps

1. Navigate to `http://vulnerablehost.com/api/session/properties`
2. Identify "setup-token"
![ddddd](https://github.com/shamo0/CVE-2023-38646-PoC/assets/48299520/9f377e05-59b1-448d-84c7-16064b2786c1)

3. Get a collaborator url (Tested with BurpSuite)
4. Run the PoC Script with:
- -u  - Target URL
- -t  - Setup token
- -c  - Collaborator url
- `python3 CVE-2023-38646.py -u <target> -t <setup-token> -c <collaborator-url>`
5. Check your collaborator for any callbacks


## References
- https://www.metabase.com/blog/security-advisory
- https://blog.calif.io/p/reproducing-cve-2023-38646-metabase
- https://blog.assetnote.io/2023/07/22/pre-auth-rce-metabase/
文件快照

[4.0K] /data/pocs/7d0874b526e9e53a1178f06f298208ce4afe9214 ├── [1.6K] CVE-2023-38646.py ├── [ 34K] LICENSE └── [1.1K] README.md 0 directories, 3 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。