2022-07-13 10:31:51 +00:00
|
|
|
id: service-account-credentials
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Service Account Credentials File Disclosure
|
|
|
|
author: ritikchaddha
|
|
|
|
severity: medium
|
2024-01-02 16:16:15 +00:00
|
|
|
description: Service Account Credentials internal file is exposed.
|
2022-07-13 10:31:51 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 2
|
2022-07-13 10:31:51 +00:00
|
|
|
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
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-07-13 10:31:51 +00:00
|
|
|
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
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4a0a0047304502202c370e389e095571dd755ba8e560d1fc37a37f91b34eb8bbf04b113d78c07b79022100f69de9ef7be3fbdf83fdda2f64c27ee2ed58880b249dc0175f473e1c20c09700:922c64590222798bb761d5b6d8e72950
|