Researchers from Sucuri have identified a remote file upload vulnerability in a popular WordPress plugin that has been downloaded more than 1.7 million times. The security hole has been patched by the developers.
According to the security company, the affected plugin is MailPoet, which enables WordPress users to easily create newsletters, post notifications and create autoresponders.
The flaw can be exploited by an attacker to upload any PHP file to affected websites, allowing them to abuse the site for phishing, spam, malware attacks and other malicious activities, Sucuri said. It’s worth noting that the attacker doesn’t need to have any accounts or privileges on the targeted website for the attack to work.
While they haven’t provided many technical details of the vulnerability to prevent abuse, Sucuri explained that the security hole is a result of an erroneous assumption made by the developers.
“The vulnerability resides in the fact that the developers assumed that WordPress’s “admin_init” hooks were only called when an administrator user visited a page inside /wp-admin/,” Daniel Cid, the CTO and founder of Sucuri, wrote in a blog post. “It is a easy mistake to make and they used that hook (admin_init) to verify if a specific user was allowed to upload files. However, any call to /wp-admin/admin-post.php also executes this hook without requiring the user to be authenticated. Thus making their theme upload functionality available to everybody.”
Cid advises developers never to use admin_init() or is_admin() as an authentication method.
The developers of MailPoet were notified of the existence of the vulnerability a few weeks ago, and they released version 2.6.7 of the plugin on Tuesday to address the issue. All previous versions of the application are affected so users are advised to update their installations as soon as possible.

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- Microsoft’s Verified Publisher Status Abused in Email Theft Campaign
- British Retailer JD Sports Discloses Data Breach Affecting 10 Million Customers
- Meta Awards $27,000 Bounty for 2FA Bypass Vulnerability
- Industry Reactions to Hive Ransomware Takedown: Feedback Friday
- US Reiterates $10 Million Reward Offer After Disruption of Hive Ransomware
- Hive Ransomware Operation Shut Down by Law Enforcement
- UK Gov Warns of Phishing Attacks Launched by Iranian, Russian Cyberspies
- Dozens of Cybersecurity Companies Announced Layoffs in Past Year
Latest News
- Sentra Raises $30 Million for DSPM Technology
- Cyber Insights 2023: Cyberinsurance
- Cyber Insights 2023: Attack Surface Management
- Cyber Insights 2023: Artificial Intelligence
- Microsoft’s Verified Publisher Status Abused in Email Theft Campaign
- Guardz Emerges From Stealth Mode With $10 Million in Funding
- How the Atomized Network Changed Enterprise Protection
- Critical QNAP Vulnerability Leads to Code Injection
