#VU58267 Arbitrary file upload in WordPress Popular Posts


Published: 2021-12-20

Vulnerability identifier: #VU58267

Vulnerability 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

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
WordPress Popular Posts
Web applications / Modules and components for CMS

Vendor: Hector Cabrera

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.


Latest bulletins with this vulnerability