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

33 lines
832 B
YAML

id: token-json
info:
name: Token Json File Disclosure
author: DhiyaneshDK
severity: low
description: Internal token.json file is exposed.
metadata:
verified: true
max-request: 2
google-query: intitle:"index of" "token.json"
tags: exposure,cloud,google,devops,files
http:
- method: GET
path:
- "{{BaseURL}}/token.json"
- "{{BaseURL}}/search/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: 4a0a00473045022100b1fe369ab36adefe13cc03e348c77d85d7bfffe36cbd8b692917ae3270acc9a0022065cd83ac2e89e9e15504fbd6bad287e4f29bd088504d97e34c4d97600a6dd31a:922c64590222798bb761d5b6d8e72950