46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
id: blind-ssrf
|
|
|
|
info:
|
|
name: Blind SSRF OAST Detection
|
|
author: pdteam,AmirHossein Raeisi
|
|
severity: medium
|
|
metadata:
|
|
max-request: 3
|
|
tags: ssrf,dast,oast
|
|
|
|
http:
|
|
- pre-condition:
|
|
- type: dsl
|
|
dsl:
|
|
- 'method == "GET"'
|
|
|
|
payloads:
|
|
ssrf:
|
|
- "{{interactsh-url}}"
|
|
- "{{FQDN}}.{{interactsh-url}}"
|
|
- "{{RDN}}.{{interactsh-url}}"
|
|
- "{{FQDN}}@{{interactsh-url}}"
|
|
- "{{RDN}}@{{interactsh-url}}"
|
|
|
|
fuzzing:
|
|
- part: query
|
|
mode: single
|
|
values:
|
|
- "https?://" # Replace HTTP URLs with alternatives
|
|
fuzz:
|
|
- "https://{{ssrf}}"
|
|
|
|
- part: query
|
|
mode: single
|
|
values:
|
|
- "^[A-Za-z0-9-._]+:[0-9]+$" # Replace <host>:<port> with alternative
|
|
fuzz:
|
|
- "{{ssrf}}:80"
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: word
|
|
part: interactsh_protocol # Confirms the HTTP Interaction
|
|
words:
|
|
- "http"
|
|
# digest: 4a0a0047304502207dd98fdf4b66bd8e09960f133e03a0e539cbd3a4749f1de33bc45ca104a07d90022100e35cf6744d140265a35163217357e7983b162f6cbbe6f96ffb73df5eb24bc570:922c64590222798bb761d5b6d8e72950 |