CVE-2021-24145: WordPress Modern Events Calendar Lite - Unrestricted File Upload
- Cve: CVE-2021-24145
- Name: WordPress Modern Events Calendar Lite - Unrestricted File Upload
- Description: Arbitrary file upload in the Modern Events Calendar Lite WordPress plugin, versions before 5.16.5, did not properly check the imported file, allowing PHP ones to be uploaded by administrator by using the 'text/csv' content-type in the request.
- Impact: Attackers can upload and execute arbitrary PHP files, potentially leading to remote code execution and full site compromise.
- Remediation: Update to version 5.16.5 or later.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs administrator or high-privilege user account
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.88158
- Epss percentile: 0.99772
- Assignee: [email protected]
- Published at: 2021-03-18T15:15:15Z
- Age in days: 2077
- Modified at: 2026-06-17T03:39:28Z
- Patch available: yes
- Public exploits total: 5
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24145
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2021-24145 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24145.yaml |
Public exploits
References
| Url | Source | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610 | nvd | Exploit, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24145.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| webnus:modern_events_calendar_lite | < 5.16.5 | no | nvd | /v1/products/webnus/modern_events_calendar_lite |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 5
- Public exploit first date: 2021-01-29
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports, exposed hosts