2022-07-13 10:03:38 +00:00
|
|
|
id: credentials-json
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Credentials File Disclosure
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
google-query: intitle:"index of" "credentials.json"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: google,secret,exposure,files
|
2022-07-13 10:03:38 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/credentials.json"
|
|
|
|
- "{{BaseURL}}/assets/credentials.json"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-07-13 10:09:22 +00:00
|
|
|
- '"client_secret":'
|
|
|
|
- '"client_id":'
|
2022-07-13 10:03:38 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|