{"id":"CVE-2021-24145","published":"2021-03-18T14:57:50Z","modified":"2024-08-03T19:21:18Z","title":"Modern Events Calendar Lite < 5.16.5 - Authenticated Arbitrary File Upload leading to RCE","vendor":"Unknown","product":"Modern Events Calendar Lite","tier":"core","eol":null,"affectedVersions":[{"vendor":"Unknown","product":"Modern Events Calendar Lite","versions":[">= 5.16.5, < 5.16.5"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Modern Events Calendar Lite WordPress plugin, in versions before 5.16.5, fails to properly validate imported files, so its import functionality accepts PHP files that it should reject. An attacker with administrator-level access can exploit this by sending a request that labels a PHP file with the 'text/csv' content type, which lets the malicious file be uploaded and executed on the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:18:30Z"},"cvss":null,"epss":{"score":0.88158,"percentile":0.99772,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-11059","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-11059","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50082,"url":"https://www.exploit-db.com/exploits/50082","title":"Wordpress Plugin Modern Events Calendar 5.16.2 - Authenticated Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2021-07-02","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-07-02"},"pocGithub":{"count":1,"skipped":0,"earliest":"2021-08-14","earliestUrl":"https://github.com/dnr6419/CVE-2021-24145","repos":[{"name":"dnr6419/CVE-2021-24145","url":"https://github.com/dnr6419/CVE-2021-24145","stars":3,"created":"2021-08-14"}]},"metasploit":[{"name":"Wordpress Plugin Modern Events Calendar - Authenticated Remote Code Execution","module":"exploit/multi/http/wp_plugin_modern_events_calendar_rce","type":"exploit","disclosureDate":"2021-01-29","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_modern_events_calendar_rce.rb"}],"nuclei":[{"id":"CVE-2021-24145","name":"WordPress Modern Events Calendar Lite <5.16.5 - Authenticated Arbitrary File Upload","severity":"high","path":"http/cves/2021/CVE-2021-24145.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24145.yaml"}],"first":{"date":"2021-01-29","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_modern_events_calendar_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html","http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2021-01-29","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2021-07-02, PoC-in-GitHub 2021-08-14","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_plugin_modern_events_calendar_rce.rb","provenance":"source"},{"date":"2021-03-18","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-24145","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":25.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.95,"detail":"percentile 0.9977"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 2 NVD exploit links; 1 PoC-in-GitHub repo; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}