2022-07-13 10:31:51 +00:00
|
|
|
id: service-account-credentials
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Service Account Credentials File Disclosure
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 2
|
2022-07-13 10:31:51 +00:00
|
|
|
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
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-13 10:31:51 +00:00
|
|
|
- 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
|