CVE-2021-24236
JSON

9.8critical

Imagements <= 1.2.5 - Unauthenticated Arbitrary File Upload to RCE

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
7.28% (higher than 94% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

Description

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.

Affected

Product or packageVersionsReported by
williewonka Imagementsfrom 1.2.5 up to 1.2.5CVE List
imagements_project imagementsup to 1.2.5NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

El plugin Imagements de WordPress versiones hasta 1.2.5, permite que las imágenes sean cargadas en los comentarios, sin embargo, solo comprueba el Content-Type en la petición para prohibir archivos peligrosos.&#xa0;Esto permite a atacantes no autenticados cargar archivos arbitrarios mediante el uso de una imagen válida Content-Type junto con un código y nombre de archivo PHP, conllevando a RCE

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24236 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24236 changed 2026-06-17Public domain