2022-07-13 10:03:38 +00:00
|
|
|
id: credentials-json
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Credentials File Disclosure
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-07-13 10:03:38 +00:00
|
|
|
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
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-13 10:03:38 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/credentials.json"
|
|
|
|
- "{{BaseURL}}/assets/credentials.json"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-07-13 10:03:38 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450221008476c065e9195964aa5a01fe06bd991c9c6553399489cc72ce67921b1c3285ac02205dc9fc0e574e324ee2c96ebc2ea1a48a4c2b55c9bc210513c26c4b8addc4ab87:922c64590222798bb761d5b6d8e72950
|