8.8high
WordPress Popular Posts <= 5.3.2 Authenticated Arbitrary File Upload
- Severity
- 8.8high CVSS:3.1 by Wordfence
- Exploit likelihood
- 79.8% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
Description
The WordPress Popular Posts WordPress plugin is vulnerable to arbitrary file uploads due to insufficient input file type validation found in the ~/src/Image.php file which makes it possible for attackers with contributor level access and above to upload malicious files that can be used to obtain remote code execution, in versions up to and including 5.3.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| WordPress Popular Posts WordPress Popular Posts | from 0.0 up to 5.3.2 | CVE List |
| wordpress_popular_posts_project wordpress_popular_posts | up to 5.3.2 | NVD |
All scores
| Wordfence | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
The WordPress Popular Posts WordPress plugin is vulnerable to arbitrary file uploads due to insufficient input file type validation found in the ~/src/Image.php file which makes it possible for attackers with contributor level access and above to upload malicious files that can be used to obtain remote code execution, in versions up to and including 5.3.2.
NVD (es)
El plugin Popular Posts de WordPress es vulnerable a una carga de archivos arbitrarios debido a la insuficiente comprobación del tipo de archivo de entrada encontrada en el archivo ~/src/Image.php que hace posible que atacantes con acceso de nivel de colaborador y superior carguen archivos maliciosos que pueden ser usados para obtener una ejecución de código remota, en versiones hasta la 5.3.2 incluyéndola
References
| https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/ | exploit, third-party-advisory | |
| https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362 | third-party-advisory | |
| https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.php | patch, third-party-advisory | |
| https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009 | third-party-advisory | |
| http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.html | exploit, third-party-advisory, vdb-entry | |
| https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601 | patch | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42362 changed 2024-09-16 | CVE Terms of Use |
| NVD | CVE-2021-42362 changed 2026-06-17 | Public domain |