mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-11 13:13:26 +08:00
35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
id: google-api-private-key
|
|
|
|
info:
|
|
name: Google Api Private Key
|
|
author: DhiyaneshDK
|
|
severity: medium
|
|
description: Google API private keys are exposed in files.
|
|
reference: https://www.exploit-db.com/ghdb/6037
|
|
metadata:
|
|
verified: true
|
|
max-request: 3
|
|
google-query: intitle:"index of" "google-api-private-key.json"
|
|
tags: exposure,cloud,google,devops,files
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/google-api-private-key.json"
|
|
- "{{BaseURL}}/app/config/pimcore/google-api-private-key.json"
|
|
- "{{BaseURL}}/pimcore/app/config/pimcore/google-api-private-key.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: 490a00463044022000d8c0014f6966ae3bb0f104056aaafdffeecc7bedc276226e999df847e97919022049d124306ae6f2f43a4372e2eb167b29287fe7003246bbf0c6359d9c6b030720:922c64590222798bb761d5b6d8e72950 |