34 lines
884 B
YAML
34 lines
884 B
YAML
id: service-account-credentials
|
|
|
|
info:
|
|
name: Service Account Credentials File Disclosure
|
|
author: ritikchaddha
|
|
severity: medium
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
google-query: intitle:"index of" "service-Account-Credentials.json"
|
|
tags: privatekey,exposure,files
|
|
|
|
http:
|
|
- 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:
|
|
- '"private_key_id":'
|
|
- '"private_key":'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a0046304402207869277837c10462b8197be1b4e660601a8b97300827cbdeca52a72fd3f2d9f402207dbe79623bdf5ea8491d46faa5340723dafcc0f8c32a3c0a11b1138a2958b132:922c64590222798bb761d5b6d8e72950
|