id: cpanel-api-codes

info:
  name: cPanel API Codes Panel - Detect
  author: DhiyaneshDK
  severity: info
  description: cPanel API Codes 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:cpanel:cpanel:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: cpanel
    shodan-query: title:"CPanel - API Codes"
    vendor: cpanel
    verified: true
  tags: panel,cpanel

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>CPanel - API Codes</title>"

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022077cd849c38cea5a2c415736a022a06de8792ec0999d3615cd1f5438720d1d2cb02210084437d0ed80eaf269a47d8fd6dc57b26037337487fba621b13e324a55640ec73:922c64590222798bb761d5b6d8e72950