mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 17:23:30 +08:00
39 lines
979 B
YAML
39 lines
979 B
YAML
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
|
|
|
|
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: 490a004630440220782a9c3b88aacf90082d3ba5310abd5233019c2885130e7971c144bfa8c9957802201ff7bded2d0bf7b4706b0a7092f041cbc38495ddf6308e8131e763c7fbea0136:922c64590222798bb761d5b6d8e72950 |