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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published: 2021-05-05T18:39:42

Updated: 2024-08-03T19:21:19.025Z

Reserved: 2021-01-14T00:00:00

Link: CVE-2021-24236

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-05-06T13:15:11.430

Modified: 2021-05-11T18:48:32.543

Link: CVE-2021-24236

cve-icon Redhat

No data.