Arbitrary file upload in Modern Events Calendar Lite - CVE-2021-24145
Published: September 3, 2022
Vulnerability identifier: #VU66954
CSH Severity: Low
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-24145
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote user to compromise vulnerable system.
The vulnerability exists due to insufficient validation of content-type when processing files uploads. A remote website administrator can upload an arbitrary PHP file by setting its content-type to "text/csv" and execute it on the server.
Affected software
Modern Events Calendar Lite
How to mitigate CVE-2021-24145
Install update from vendor's website.
Modern Events Calendar Lite - update to 5.16.5
Links to Public Exploits and PoC-codes
- Exploit #8335 - Wordpress Plugin Modern Events Calendar 5.16.2 - Remote Code Execution (Authenticated) (September 3, 2022)
- Exploit #8334 - Wordpress Plugin Modern Events Calendar - Authenticated Remote Code Execution (September 3, 2022)
- Exploit #8333 - CVE-2021-24145 (WordPress File Upload Vulnerability, Modern Events Calendar Lite WordPress plugin before 5.16.5) (September 3, 2022)