Skip to content

Google Cloud Credentials

ID: gcloud-credentials

Severity: medium

Author: DhiyaneshDK

Tags: google,cloud,devops,exposure,files

Google Cloud Crdentials file is exposed.

id: gcloud-credentials
info:
name: Google Cloud Credentials
author: DhiyaneshDK
severity: medium
description: Google Cloud Crdentials file is exposed.
metadata:
verified: true
max-request: 2
shodan-query: html:"credentials.db"
tags: google,cloud,devops,exposure,files
http:
- method: GET
path:
- "{{BaseURL}}/credentials.db"
- "{{BaseURL}}/.config/gcloud/credentials.db"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'SQLite'
- 'client_id'
condition: and
- type: word
part: header
words:
- 'application/octet-stream'
- type: status
status:
- 200
# digest: 4a0a004730450221008c605cfefad137161f00c3d4bce43856562f42549d7d68132d27f66ae7ab97fb02201ac061485c35e10d4106c421c7e13742999c9b3c24d5f7efa4a582b71a1d594b:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/exposures/files/gcloud-credentials.yaml"

View on Github