id: token-info-json

info:
  name: Token Info Json File
  author: DhiyaneshDK
  severity: info
  classification:
    cpe: cpe:2.3:a:sample_token_project:sample_token:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: sample_token_project
    product: sample_token
    google-query: intitle:"index of" "token_info.json"
  tags: exposure,files,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/test/Json/Auth/token_info.json"
      - "{{BaseURL}}/wp-content/plugins/constant-contact-api-old/vendor/constantcontact/constantcontact/test/Json/Auth/token_info.json"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"client_id":'
          - '"user_name":'
        condition: and

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