Skip to content
Merged

fix fp #10976

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions http/misconfiguration/proxy/metadata-alibaba.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ id: metadata-service-alibaba
# inside the private network.
info:
name: Alibaba Metadata Service Check
author: sullo
author: sullo,pwnhxl
severity: critical
description: The Alibaba host is configured as a proxy which allows access to the metadata service. This could allow significant access to the host/infrastructure.
remediation: Disable the proxy or restrict configuration to only allow access to approved hosts/ports. Upgrade to IMDSv2 if possible.
Expand All @@ -22,24 +22,29 @@ info:
cvss-score: 9.3
cwe-id: CWE-441
metadata:
max-request: 2
max-request: 4
tags: exposure,config,alibaba,proxy,misconfig,metadata

http:
- raw:
- |+
GET http://{{hostval}}/dynamic/instance-identity/document HTTP/1.1
GET http://{{hostval}}/{{path}} HTTP/1.1
Host: {{hostval}}

payloads:
hostval:
- alibaba.oast.pro
- 100.100.100.200
path:
- latest/dynamic/instance-identity/document
- 2016-01-01/dynamic/instance-identity/document
attack: clusterbomb

unsafe: true
matchers:
- type: word
part: body
words:
- "zone-id"

# digest: 490a004630440220495fde6b8e524846446e53dead7f589f22c254d0ca7b6e09e07210469773749f0220264d2180b4589c8663f68bab544d951ad739fae7f3b6dccaaacee29718cb4778:922c64590222798bb761d5b6d8e72950
- '"serial-number"'
- '"zone-id":"'
condition: and
Loading