Arbitrary file upload in WordPress Popular Posts plugin



Published: 2021-11-19
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-42362
CWE-ID CWE-434
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Subscribe
WordPress Popular Posts
Web applications / Modules and components for CMS

Vendor Hector Cabrera

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Arbitrary file upload

EUVDB-ID: #VU58267

Risk: Medium

CVSSv3.1: 8.2 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2021-42362

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload in the ~/src/Image.php file. A remote authenticated attacker can upload a malicious file and execute it on the server.

Mitigation

Install update from vendor's website.

Vulnerable software versions

WordPress Popular Posts: 1.0 - 5.3.2

External links

http://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362
http://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009
http://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.php
http://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###