Service Account Credentials File Disclosure
ID: service-account-credentials
Severity: medium
Author: ritikchaddha
Tags: privatekey,exposure,files
Description
Section titled “Description”Service Account Credentials internal file is exposed.
YAML Source
Section titled “YAML Source”id: service-account-credentials
info: name: Service Account Credentials File Disclosure author: ritikchaddha severity: medium description: Service Account Credentials internal file is exposed. reference: - https://x.com/KHIZER_JAVED47/status/1864473060109381690 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" - "{{BaseURL}}/serviceAccountCredentials.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: 4b0a00483046022100eda0f9d172ac2de6b27057098473730b1b13539ca85abd8b3b999c926f0fa560022100f138b134570ac900da4b8bdba077bf22785848df0394774847de16a315ef112b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/files/service-account-credentials.yaml"