gcloud-credentials: Google Cloud Credentials

日期: 2025-08-01 | 影响软件: gcloud-credentials | POC: 已公开

漏洞描述

Google Cloud Crdentials file is exposed.

PoC代码[已公开]

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,vuln

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: 4b0a00483046022100eb6d1f40ebfe1d541b8ecbbbe9ac09a9ac12a9d721b71d5b4bb03db7a71b197b02210093eac0752b2acb9b0e85e582b8bf59791632ffc0fe23acedf2b7f299053d0dd9:922c64590222798bb761d5b6d8e72950