{"schemaVersion":3,"id":"CVE-2021-24145","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-03-18T14:57:50.000Z","modified":"2024-08-03T19:21:18.213Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.87201,"percentile":0.99752,"severity":"critical","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.87201},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.87201,"percentile":0.99752}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.87201,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.87201,"percentile":0.99752}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_C22B23BA30B95E95","name":"Exploit Reference (wpscan.com)","source":"reference","url":"https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_6EB9DCF79FC2965D","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_78B74799F04726F8","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"50082","name":"Wordpress Plugin Modern Events Calendar 5.16.2 - Remote Code Execution (Authenticated)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/50082","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/50082.py","codes":["CVE-2021-24145"]},"metasploit":null},{"id":"MSF_EXPLOIT_MULTI_HTTP_WP_PLUGIN_MODERN_EVENTS_CALENDAR_RCE","name":"Wordpress Plugin Modern Events Calendar - Authenticated Remote Code Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/multi/http/wp_plugin_modern_events_calendar_rce.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":true,"exploitdb":null,"metasploit":{"fullname":"exploit/multi/http/wp_plugin_modern_events_calendar_rce","rank":"600","rankName":"excellent","postAuth":true,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":5,"weaknesses":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type","description":"The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/434.html"}],"affected":[{"vendor":"unknown","product":"modern events calendar lite","name":"Modern Events Calendar Lite","label":"modern events calendar lite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.16.5, < 5.16.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.16.5, < 5.16.5","eol":null,"hubHref":"/vendor/unknown/modern_events_calendar_lite"},{"vendor":"webnus","product":"modern events calendar lite","name":"Modern Events Calendar Lite","label":"modern events calendar lite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.16.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.16.5","eol":null,"hubHref":"/vendor/webnus/modern_events_calendar_lite"},{"vendor":"wordpress","product":"modern-events-calendar-lite","name":"Modern Events Calendar Lite","label":"modern-events-calendar-lite","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 5.16.4 (fixed in 5.16.5)","noFixRecorded":false,"fixedIn":"5.16.5"}],"versionsText":"≤ 5.16.4 (fixed in 5.16.5)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610","label":"wpscan.com/vulnerability/f42cc26b-9aab-4824-8168-b5b8571d1610","hostname":"wpscan.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html","label":"packetstormsecurity.com/files/163346/WordPress-Modern-Events-Calendar-5.16.2-Shell-Upload.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"http://packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html","label":"packetstormsecurity.com/files/163672/WordPress-Modern-Events-Calendar-Remote-Code-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/b9e67e3e-188c-4ca9-b846-d318859aeaf8","label":"www.wordfence.com/threat-intel/vulnerabilities/id/b9e67e3e-188c-4ca9-b846-d318859aeaf8","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-03-18T14:57:50.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T19:21:18.213Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":56,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T03:37:00.492Z","stale":false,"partial":false}}