cloud-metadata: GCP/AWS Metadata Disclosure

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

漏洞描述

GCP/AWS Metadata is exposed.

PoC代码[已公开]

id: cloud-metadata

info:
  name: GCP/AWS Metadata Disclosure
  author: DhiyaneshDk
  severity: low
  description: GCP/AWS Metadata is exposed.
  reference:
    - https://www.facebook.com/ExWareLabs/photos/pcb.5605494709514357/5605493856181109/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"instance_metadata"
  tags: misconfig,exposure,devops,cloud,aws,gcp,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"instance_metadata":'
          - '"cloud":'
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"cloud":"([A-Z]+)",'
# digest: 4a0a0047304502203de23208d11d97e5882564993fdcd515107eed8b61e5492265f758fec9a319330221009acb24bd412bc5a777274553da061df5bdc3dc1fc814459ef1dbe233229c563c:922c64590222798bb761d5b6d8e72950