SecurityContext

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

IdName
CWE-434Unrestricted Upload of File with Dangerous Type

Nuclei templates

IdUrl
CVE-2021-24145https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24145.yaml

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.htmlnvd2021-03-18
http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.htmlnvd2021-03-18
https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610nvd2021-03-18
https://github.com/dnr6419/CVE-2021-24145poc-in-github2021-08-14
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_modern_events_calendar_rce.rbmetasploit2021-01-29

References

UrlSourceTags
http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.htmlnvdExploit, Third Party Advisory, VDB Entry
http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.htmlnvdExploit, Third Party Advisory, VDB Entry
https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610nvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24145.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
webnus:modern_events_calendar_lite< 5.16.5nonvd/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

Nuclei template