nuclei-templates/http/exposures/files/get-access-token-json.yaml

33 lines
1.0 KiB
YAML

id: get-access-token-json
info:
name: Get Access Token Json
author: DhiyaneshDK
severity: low
description: Internal file is exposed in Constant Contact Forms wordpress plugin.
metadata:
verified: true
max-request: 2
google-query: intitle:"index of" "get_access_token.json"
tags: exposure,files
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/constant-contact-forms/vendor/constantcontact/constantcontact/test/Json/Auth/get_access_token.json"
- "{{BaseURL}}/wp-content/plugins/constant-contact-api-old/vendor/constantcontact/constantcontact/test/Json/Auth/get_access_token.json"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- '"access_token":'
- '"token_type":'
condition: and
- type: status
status:
- 200
# digest: 4a0a0047304502201a17410508b8cd9c18863c5613d75419a2e7ee76930a8c4b348656e1b6077e99022100f9cb5a0e7bed2b0d8558d63a0cc54c73ee5bed256286a01ab670dec759389bae:922c64590222798bb761d5b6d8e72950