id: zentao-detect

info:
  name: Zentao Panel - Detect
  author: pikpikcu
  severity: info
  description: Zentao panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:easycorp:zentao:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: easycorp
    product: zentao
  tags: panel,easycorp

http:
  - method: GET
    path:
      - "{{BaseURL}}/zentao/index.php?mode=getconfig"

    matchers:
      - type: word
        words:
          - '"sessionName":"zentaosid"'
          - '{"version":"'
        part: body
        condition: and

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"version":"([v0-9.]+)"'
# digest: 4b0a00483046022100cbf390b51cf03d11e9587cca43b9d4c00f44e15c42856f0bbdc751e592365d34022100a9f45714817368b226bac1720e1de5a4c7c4226459b25f2675e45be35ed02983:922c64590222798bb761d5b6d8e72950