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:
    verified: true
    max-request: 1
    vendor: cpanel
    product: cpanel
    shodan-query:
      - title:"CPanel - API Codes"
      - http.title:"cpanel"
      - cpe:"cpe:2.3:a:cpanel:cpanel"
      - http.title:"cpanel - api codes"
    fofa-query:
      - title="cpanel - api codes"
      - title="cpanel"
    google-query:
      - intitle:"cpanel - api codes"
      - intitle:"cpanel"
  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: 4a0a00473045022100e2376ff38266ac76b45f449ba0e70529433cf6c9bdb903f64d34f9e80f210d3a0220634dd0c581e0baeff137a680f6430e26a9af61cc7a3d5ffae2a019c15347f0cb:922c64590222798bb761d5b6d8e72950