{"id":"CVE-2021-42362","published":"2021-11-17T17:44:23Z","modified":"2024-09-16T18:45:18Z","title":"WordPress Popular Posts <= 5.3.2 Authenticated Arbitrary File Upload","vendor":"WordPress Popular Posts","product":"WordPress Popular Posts","tier":"core","eol":null,"affectedVersions":[{"vendor":"WordPress Popular Posts","product":"WordPress Popular Posts","versions":[">= 0.0, <= 5.3.2"]}],"solutions":{"items":["Update to version 5.3.3 or newer."],"from":"CVE.org CNA","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The WordPress Popular Posts plugin, up to and including version 5.3.2, has insufficient file type validation in its Image.php component, allowing arbitrary file uploads. An attacker with contributor-level access or higher, reachable over the network, can upload a malicious file and use it to achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:52Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.79823,"percentile":0.99618,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://blog.nintechnet.com/improper-input-validation-fixed-in-wordpress-popular-posts-plugin/","tags":["x_refsource_MISC"]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2021-42362","tags":["x_refsource_MISC"]},{"url":"https://plugins.trac.wordpress.org/changeset/2542638/wordpress-popular-posts/trunk/src/Image.php","tags":["x_refsource_MISC"]},{"url":"https://wpscan.com/vulnerability/bd4f157c-a3d7-4535-a587-0102ba4e3009","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/cabrerahector/wordpress-popular-posts/commit/d9b274cf6812eb446e4103cb18f69897ec6fe601","tags":["patch"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2021-29333","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-29333","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50129,"url":"https://www.exploit-db.com/exploits/50129","title":"WordPress Plugin Popular Posts 5.3.2 - Authenticated Remote Code Execution (RCE)","type":"webapps","platform":"php","date":"2021-07-15","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-07-15"},"pocGithub":{"count":2,"skipped":0,"earliest":"2021-07-14","earliestUrl":"https://github.com/simonecris/CVE-2021-42362-PoC","repos":[{"name":"simonecris/CVE-2021-42362-PoC","url":"https://github.com/simonecris/CVE-2021-42362-PoC","stars":0,"created":"2021-07-14"},{"name":"samiba6/CVE-2021-42362","url":"https://github.com/samiba6/CVE-2021-42362","stars":0,"created":"2025-04-14"}]},"metasploit":[{"name":"Wordpress Popular Posts Authenticated RCE","module":"exploit/multi/http/wp_popular_posts_rce","type":"exploit","disclosureDate":"2021-06-11","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_popular_posts_rce.rb"}],"first":{"date":"2021-06-11","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_popular_posts_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/165376/WordPress-Popular-Posts-5.3.2-Remote-Code-Execution.html"],"flow":[],"timeline":[{"date":"2021-06-11","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2021-07-14, Exploit-DB 2021-07-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/wp_popular_posts_rce.rb","provenance":"source"},{"date":"2021-11-17","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-42362","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":31.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.92,"detail":"percentile 0.9962"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 2 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}