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

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: 4a0a004730450220370ef418d2a96d3746a557a53c274fdc387ca191852b48a8a496ab79a321ce70022100bdac4ac8d5f80978f00be1769fada4630cb60c313c7f5737d3df3c489b242cad:922c64590222798bb761d5b6d8e72950