2022-07-13 10:31:51 +00:00
|
|
|
id: service-account-credentials
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Service Account Credentials File Disclosure
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
|
|
|
verified: true
|
|
|
|
google-query: intitle:"index of" "service-Account-Credentials.json"
|
2022-10-13 10:12:07 +00:00
|
|
|
tags: privatekey,exposure,files
|
2022-07-13 10:31:51 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/assets/other/service-account-credentials.json"
|
|
|
|
- "{{BaseURL}}/service-account-credentials.json"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-07-13 15:51:19 +00:00
|
|
|
- '"private_key_id":'
|
|
|
|
- '"private_key":'
|
2022-07-13 10:31:51 +00:00
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|