nuclei-templates/http/misconfiguration/cloud-metadata.yaml

39 lines
979 B
YAML
Raw Normal View History

2022-09-16 10:45:48 +00:00
id: cloud-metadata
info:
name: GCP/AWS Metadata Disclosure
author: DhiyaneshDk
severity: low
2024-01-03 06:08:41 +00:00
description: GCP/AWS Metadata is exposed.
2022-09-16 10:45:48 +00:00
reference: https://www.facebook.com/ExWareLabs/photos/pcb.5605494709514357/5605493856181109/
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2022-09-16 10:45:48 +00:00
shodan-query: html:"instance_metadata"
2022-09-16 10:57:45 +00:00
tags: misconfig,exposure,devops,cloud,aws,gcp
2022-09-16 10:45:48 +00:00
http:
2022-09-16 10:45:48 +00:00
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"instance_metadata":'
- '"cloud":'
condition: and
- type: status
status:
- 200
2022-09-16 10:57:45 +00:00
extractors:
- type: regex
part: body
group: 1
regex:
- '"cloud":"([A-Z]+)",'
# digest: 490a00463044022008c27ecc0258769889e789e0e8b6f0cb2cdc9ff10e867fe3c65e4c784976672b02206bf90dfbfdf73c0f31a9b70fe2acdf0742c554592f9a4ca9802f86b2b366101e:922c64590222798bb761d5b6d8e72950