Arbitrary file upload in Imagements Project
CVE-2021-24236
The Imagements WordPress plugin through 1.2.5 allows images to be uploaded in comments, however only checks for the Content-Type in the request to forbid dangerous files. This allows unauthenticated attackers to upload arbitrary files by using a valid image Content-Type along with a PHP filename and code, leading to RCE.
Vulnerability class: Unrestricted File Upload
EPSS: 0.071 (93.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Imagements_project Imagements
- Williewonka Imagements — versions 1.2.5
Weakness classification (CWE)
Public proof-of-concept exploits
References
- contact@wpscan.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-24236?
- CVE-2021-24236 is a critical-severity vulnerability in Imagements Project, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.8/10. Published 2021-05-06.
- How severe is CVE-2021-24236?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-24236 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.