Token Json File Disclosure
ID: token-json
Severity: low
Author: DhiyaneshDK
Tags: exposure,cloud,google,devops,files
Description
Section titled “Description”Internal token.json file is exposed.
YAML Source
Section titled “YAML Source”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: 4a0a0047304502201a87ff3f7d16599bd7a23deeff3c58cbc8eaf40a9c05a99c92d278dd23bdcd75022100e37d5285429febd1046aeb0cdaeea2343ba36ae99ce6d8380f5c0e448397b405:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/files/token-json.yaml"