id: service-account-credentials info: name: Service Account Credentials File Disclosure author: ritikchaddha severity: medium description: Service Account Credentials internal file is exposed. 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: 4a0a0047304502202c370e389e095571dd755ba8e560d1fc37a37f91b34eb8bbf04b113d78c07b79022100f69de9ef7be3fbdf83fdda2f64c27ee2ed58880b249dc0175f473e1c20c09700:922c64590222798bb761d5b6d8e72950