Arbitrary file upload in WordPress Popular Posts - CVE-2021-42362

 

Arbitrary file upload in WordPress Popular Posts - CVE-2021-42362

Published: November 19, 2021 / Updated: December 20, 2021


Vulnerability identifier: #VU58267
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-42362
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

WordPress Popular Posts

How to mitigate CVE-2021-42362

Install update from vendor's website.

WordPress Popular Posts - update to 5.3.3

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins