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 package | Versions | Reported by |
|---|---|---|
| williewonka Imagements | from 1.2.5 up to 1.2.5 | CVE List |
| imagements_project imagements | up to 1.2.5 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV: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. 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
| https://wpscan.com/vulnerability/8f24e74f-60e3-4100-9ab2-ec31b9c9cdea | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24236 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24236 changed 2026-06-17 | Public domain |