HomeLatest WordPress security threats
Latest WordPress security threats
This page brings together recent WordPress security research and attack reports from Wordfence, Patchstack, Sucuri and WPScan. We summarise the headlines and link to the original vendor research so you can read the source in full.
1,909 reports kept since 2009. Updated automatically every 10 minutes. Last checked 5 min ago.
- Another Fake Google Domain: fonts.googlesapi.com
Research Sucuri, 2 Dec 2019
Our Remediation team lead Ben Martin recently found a fake Google domain that is pretty convincing to the naked eye. The malicious domain was abusing the URL shortener service is.gd : shortened URLs were being injected into the posts tab...
- Wrong content-type to XSS
Research Sucuri, 22 Nov 2019
WordPress Social Sharing Plugin - Sassy Social Share, which currently has over 100000 installations just fixed a Cross Site Scripting Vulnerability. This bug allows attackers to send custom links that direct unsuspecting users toward a v...
- How Many Types of Hackers Are There?
Research Sucuri, 22 Nov 2019
If you are a tech savvy person, you may have been called a “hacker” at some point by someone less technical. Maybe you’ve heard of growth hackers and life hacks. These are not the droids we’re looking for. The word “hack” in computer sys...
- Down the Malware Rabbit Hole: Part II
Research Sucuri, 18 Nov 2019
In our last post in this series, we took a look at a code snippet that had been encoded in a very specific way - and hidden 91 layers deep. Today, we’ll reveal how attackers achieve this level of encoding and investigate one of the many ...
- Why Reinfections Happen with a WAF
Research Sucuri, 11 Nov 2019
A web application firewall ( WAF ) is a great way to detect and filter incoming malicious requests before they can exploit website vulnerabilities and security flaws. While a WAF helps protect against threats over HTTP/HTTPS, the website...
- Vulnerable Versions of Adminer as a Universal Infection Vector
Research Sucuri, 9 Nov 2019
This past week, we’ve been monitoring a new wave of website infections mostly impacting WordPress and Magento websites. We found that hackers have been injecting scripts from scripts.trasnaltemyrecords[.]com into multiple files and datab...
- Skimmers for Both Magento and WordPress
Research Sucuri, 7 Nov 2019
We often write about malware that steal payment information from sites built with Magento and other types of e-commerce CMS. When discussing credit card skimmers like Magecart, it’s sometimes overlooked that WordPress also has a decent s...
- Plugins added to Malware Campaign: October 2019
Research Sucuri, 6 Nov 2019
This is an update for the long-lasting malware campaign targeting vulnerable plugins during August and September. Please check our previous updates below: Multi-Vector Attack in Server Logs: March 2019 Plugins Added to Malicious Campaign...
- Size for Opera: Hiding Spammy Links
Research Sucuri, 5 Nov 2019
There are many different tricks hackers use to make injected spam links invisible to regular visitors. Below is an example employed by one link spam campaign, which primarily promotes porn, torrents, and pharma. We’re finding links like ...
- Pharma Spam Redirects to .su & .eu Sites
Research Sucuri, 4 Nov 2019
We regularly clean all sorts of black hat SEO infections. During these infection cleanups, we often find compromised websites redirecting visitors to fake “Canadian Pharmacy” landing pages selling counterfeit men’s health pills from vari...
- Halloween Tales of the IoT Crypt
Research Sucuri, 31 Oct 2019
In the spirit of Halloween, we bring you some of the scariest internet of things (IoT) hacks that we have been made aware of. While this does not really focus on website security, it is still an interesting topic when you think about cyb...
- Data URLs and HTML Entities in New WordPress Malware
Research Sucuri, 30 Oct 2019
Last week, an ongoing WordPress malware campaign started a new wave which included a variety of experimental injection types. Scripts as Data URLs The first type looks pretty similar to what we discussed in our recent post. However, inst...
- Fake French Police Sextortion Scam
Research Sucuri, 28 Oct 2019
There has been a noted increase in the number of sextortion scams during 2019. These scam campaigns are commonly distributed through email, but any method of digital communication can be used to deliver the blackmail threat to the victim...
- Throwback Threat Thursday: JCE Vulnerability
Research Sucuri, 24 Oct 2019
Throwback Threat Thursday is a series of posts where we recall older vulnerabilities that have since been patched by their developers. In the past, these vulnerabilities caused significant impacts to the security of website owners. Some ...
- Fake UpdraftPlus Plugins
Research Sucuri, 17 Oct 2019
We often find various fake WordPress plugins installed by hackers during website cleanups. Recently, we’ve noticed a new wave of infections that install fake plugins with backdoor functionality. Malicious Plugins Sourced from UpdraftPlus...
- Sucuri_encrypted: Magento Malware
Research Sucuri, 17 Oct 2019
In an effort to make malicious code appear to be credible, hackers commonly piggyback on the names of reputable, well-known companies and services. Typical examples of this technique include malware campaigns that abuse names of jQuery a...
- Cryptominers & Backdoors Found in Fake Plugins
Research Sucuri, 16 Oct 2019
When cleaning websites, we regularly find phishing pages, malicious code injected into files, and SEO spam. However, over the past couple of months we’ve also noticed a considerable increase in the number of malicious plugins which have ...
- What Are Ethical Hackers?
Research Sucuri, 11 Oct 2019
There’s an issue with how some people define the word “hacker.” For some, it’s a word synonymous with “cybercriminal,” but not in the infosec community. White hat hackers (the good guys) are the ones who find security issues so they can ...
- What is the Cost of Cybercrimes & Attacks
Research Sucuri, 7 Oct 2019
The word cybercrime is no longer just a word you hear coming from Fortune 500 CEOs anymore. This word has being flashed on every good morning news show and radio channel. Cybercrime can target any business or website owner. Even the aver...
- Plugins added to Malware Campaign: September 2019
Research Sucuri, 3 Oct 2019
This is an update for the long-lasting malware campaign targeting vulnerable plugins during August and September. Please check our previous updates below: Multi-Vector Attack in Server Logs: March 2019 Malware Campaign Evolves to Target ...
- Down the Malware Rabbit Hole - Part 1
Research Sucuri, 3 Oct 2019
It’s common for malware to be encoded to hide itself-or its true intentions-but have you ever given thought to what lengths attackers will go to hide their malicious code? In our first post in this series, we’ll describe how bad actors h...
- A New Wave of Buggy WordPress Infections
Research Sucuri, 2 Oct 2019
We’ve been following an ongoing malware campaign for the past couple of years now. This campaign is renowned for its prompt addition of exploits for newly discovered WordPress theme and plugin vulnerabilities. Every other week, the attac...
- The Hacker Returns: A Backdoor Edition
Research Sucuri, 24 Sep 2019
Once an attacker manages to hack and gain access to a target site or system, they typically work hard to maintain their access-as long as it can to help them achieve their goals. You can think of it like having an annoying party-crasher ...
- Plugins Under Attack: August 2019
Research Sucuri, 19 Sep 2019
This is an update for the long-lasting malware campaign targeting vulnerable plugins during August and September. Please check our previous updates below: Multi-Vector Attack in Server Logs: March 2019 Malware Campaign Evolves to Target ...
- Fake Human Verification Spam
Research Sucuri, 18 Sep 2019
We recently released an update to our Labs Knowledgebase for new plugins that had been targeted during the month of July 2019. One of these newly targeted plugins was Advanced Booking Calendar - and it didn’t take long before we were rec...
- Unauthenticated settings update in woocommerce-ajax-filters
Research Sucuri, 18 Sep 2019
woocommerce-ajax-filters, which currently has over 10,000 installations (versions admin_init hook’s execution context. if( is_admin() ) { require_once dirname( __FILE__ ) . '/includes/wizard.php'; } [...] function wizard_selectors($wizar...
- Misuse of WordPress update_option() function Leads to Website Infections
Research Sucuri, 16 Sep 2019
In the past four months, Sucuri has seen an increase in the number of plugins affected by the misuse of WordPress’ update_option() function. This function is used to update a named option/value in the options database table. If developer...
- Dissecting the WordPress 5.2.3 Update
Research Sucuri, 13 Sep 2019
Last week, WordPress released version 5.2.3 which was a security and maintenance update, and as such, contained many security fixes. Part of our day to day work is to analyse these security releases, discover what security issue it is fi...
- How to Audit & Cleanup WordPress Plugins & Themes
Research Sucuri, 9 Sep 2019
WordPress makes it easy to extend your website with powerful functionality. Plugins and themes allow site owners to add features, customize design, and integrate new tools in minutes. But every new add-on also introduces new code and new...
- Throwback Threat Thursday: Joomla GoogleMaps Plugin SEO Spam Injection
Research Sucuri, 5 Sep 2019
Throwback Threat Thursday is a series of posts where we recall older vulnerabilities that have since been patched by their developers. In the past, these vulnerabilities caused significant impacts to the security of website owners. Some ...
- What is Cryptocurrency Mining Malware?
Research Sucuri, 2 Sep 2019
Before we get into the details of “Cryptocurrency Mining Malware”, we need to understand first what cryptocurrency is and what miners are. What is Cryptocurrency? Cryptocurrency is best thought of as digital currency and it only exists o...
- TimThumb Attacks: The Scale of Legacy Malware Infections
Research Sucuri, 29 Aug 2019
These days, we consider a malware campaign massive if it affects a couple thousand websites. However, back in the day when Sucuri first started its operations, the scale of infections was significantly larger - and it was quite typical t...
- How Domain Expiration Can Potentially Disrupt Other Websites
Research Sucuri, 22 Aug 2019
A website owner recently reached out to us about a pop-up advertisement problem on their website which occurred any time someone clicked anywhere on the web page. This irritating pop-up didn’t come from malware placed in the website’s fi...
- Lack of controls when using WordPress’ update_option() with user input data equals plugin nightmare
Research Sucuri, 20 Aug 2019
As mentioned in recent posts, WordPress’ update_option() function is used to update any option in the options database table. If the permission flow when using this function isn’t correctly implemented by developers, attackers can gain a...
- What Hackers Do after Gaining Access to a Website
Research Sucuri, 15 Aug 2019
A hack or cyber attack is the act of maliciously entering, taking control over, or manipulating by force a web application, server, or file that belongs to someone else. Cyber attacks will: modify files, retrieve information, insert comm...
- Skimmers and Phishing
Research Sucuri, 14 Aug 2019
Recently, we shared a post about a network of domains used in a JavaScript credit card stealing malware campaign. These domains are all hosted on the same server with the IP 8.208.15.67 . In addition to the domains used by the skimmers, ...
- Troldesh Ransomware Dropper
Research Sucuri, 12 Aug 2019
Over the past few weeks, we’ve seen an increase in Troldesh ransomware using compromised websites as intermediary malware distributors. The malware often uses a PHP file that acts as a delivery tool for downloading the host malware dropp...
- KOSONG Credit Card Stealer
Research Sucuri, 12 Aug 2019
Our security analyst Christopher Morrow recently discovered a server-side Magento skimmer that was injected into the savePayment function in the app/code/core/Mage/Checkout/Model/Type/Onepage.php file. This code emails payment details to...
- Magento Skimmers: From Atob to Alibaba
Research Sucuri, 7 Aug 2019
Last year we saw a fairly massive Magento malware campaign that injected credit card stealing code similar to this: It uses the JavaScript atob function to decode base64-encoded domain names and URL patterns. In the sample above, it’s hx...
- Autoloaded Server-Side Swiper
Research Sucuri, 6 Aug 2019
Front-end JavaScript-based credit card stealing malware has garnered a lot of attention within the security community. This makes sense, since the “swipers” can be easily detected by simply scanning the web pages of e-commerce sites. How...
- User adder backdoor
Research Sucuri, 5 Aug 2019
As we’ve seen many times before, there are a variety of backdoors that can be planted on a website. Post-compromise, it’s almost mandatory to review the list of users with admin capabilities within the website. But, what if you check the...
- Malicious Plugin Used to Encrypt WordPress Posts
Research Sucuri, 5 Aug 2019
During a recent cleanup, we found an interesting malicious WordPress plugin, “WP Security”, that was being used to encrypt blog post content. The website owner complained of a newly installed and activated plugin on their website that wa...
- EE wireless provider phishing malware
Research Sucuri, 1 Aug 2019
A large number of phishing targets include popular services such as banks, payment providers, and email services. In this type of attack, fraudsters create fake pages that appear to be legitimate content, but instead trick victims into d...
- Neapolitan Backdoor Injection
Research Sucuri, 1 Aug 2019
Most of us are familiar with Neapolitan ice cream: a flavour whose distinguishing characteristic is not one single flavour but several. Many also know it as the ice cream which your roommate eats all of the chocolate, leaving you with th...
- New variant of “trollherten” malware
Research Sucuri, 31 Jul 2019
We continue to see new variations of obfuscation used to hide a PHP backdoor that began to be heavily used by malicious users in late 2018 - as we mentioned in a blog post at the time. This variant tries to hide by compressing and encodi...
- Self-destruct malware
Research Sucuri, 31 Jul 2019
The majority of malware we find on compromised websites have been planted by bad actors with the intention of concealing and accessing backdoor access. During a recent investigation, we found an interesting variation of this technique. T...
- Reverse Hardening WordPress Config
Research Sucuri, 30 Jul 2019
Hardening is the process of securing a website or system against known security weaknesses or potential issues to reduce the attack surface. The more functions or features a website has, the more potential points of entry an attacker has...
- Yet another variant of the cPanel user shadow editor malware
Research Sucuri, 30 Jul 2019
We have discovered a new variant of PHP malware used to edit a cPanel users’s shadow file, allowing for bad actors to change passwords for all of the email accounts under that cPanel user. In our past blog post, we analyzed this file’s a...
- Plugins Under Attack: July 2019
Research Sucuri, 29 Jul 2019
A long-lasting malware campaign targeting deprecated, vulnerable versions of plugins continues to be leveraged by attackers to inject malicious scripts into affected websites: Multi-Vector Attack in Server Logs: March 2019 Malware Campai...
- Simple but effective backdoor
Research Sucuri, 29 Jul 2019
We recently found a malicious PHP file containing a small amount of code that is effective at hiding from detection by various server side scanning tools. $a = "\x66\x69\x6c\x65\x5f\x67\x65\x74\x5f\x63\x6f\x6e\x74\x65\x6e\x74\x73"; $b = ...
Common types of WordPress compromise
WordPress compromises do not all look the same. Some are obvious to visitors, while others are designed to remain unnoticed. A site may start sending visitors to an unrelated domain, display pages or links that the owner never created, or contain a backdoor that allows an attacker to return after the visible problem has been removed.
Other compromises can involve rogue administrator accounts or fake plugins placed in the WordPress installation to blend in with legitimate software. On WooCommerce sites, malicious code may target the checkout process or other pages that handle customer data. The presence of unfamiliar code is not enough on its own to identify what happened, so the investigation needs to establish what changed, when it changed and how the attacker gained access.
Outdated components are one possible route, but compromised passwords, exposed hosting credentials and other weaknesses can also matter. WordPress recommends keeping software current, using strong passwords, controlling file permissions and maintaining reliable backups as part of normal hardening.
Signs your WordPress site may be hacked
Unexpected redirects are a common warning sign, particularly when they appear only on certain devices, browsers or traffic sources. Other clues include unfamiliar administrator users, pages you did not publish, altered titles or search snippets, unexplained file changes, new scheduled tasks, or security warnings in Google Search Console.
Performance problems can also justify investigation, but a slow site does not automatically mean malware. The same applies to unusual server load or email activity. Treat these as signals to inspect logs, files, users and recent changes rather than proof of a specific infection.
Google recommends using the Security Issues report in Search Console when hacked content or malware is suspected. A simple site search can also reveal indexed pages that do not belong to you. If you find something unexpected, record it before making changes so you have evidence to compare during cleanup.
What to do first if you think your WordPress site is hacked
Do not begin by deleting every suspicious file you can see. First take a copy of the affected site and database, note the time the problem was found and preserve relevant logs where available. This gives you something to examine if the visible symptoms return or if you need to identify the original entry point.
Change passwords for WordPress administrators, hosting, SFTP or FTP, the database and other privileged services that could have been exposed. Review all administrator accounts and remove access you do not recognise. Then decide whether the safest recovery route is a clean restoration from a known good backup or a controlled malware cleanup.
The job is not finished when the unwanted page or redirect disappears. Check themes, plugins, WordPress core, configuration files and scheduled tasks for persistence, update vulnerable components and close the route that allowed access. If Google has flagged the site, follow its hacked site guidance and request review only after the site has been cleaned. Our WordPress malware removal page explains the recovery service. Hacked Site Rescue is £249 fixed price.
Common questions
Answers to the questions we hear most about this.
How can I tell if my WordPress site has malware?
Look for unexpected redirects, unfamiliar administrator accounts, pages or links you did not create, unexplained file changes and security warnings in Google Search Console. None of these signs identifies the cause by itself, so the site still needs investigation.
Should I delete suspicious files straight away?
Not necessarily. Take a copy of the site and database first and preserve useful logs where possible. Deleting visible files before recording the incident can remove evidence without closing the route used to gain access.
Can restoring a backup fix a hacked WordPress site?
A clean backup can be an effective recovery route if it predates the compromise, but you still need to identify and fix the entry point. Otherwise the same weakness can remain after the restore.
What should I change after a WordPress hack?
Change privileged passwords, review administrator users, update vulnerable software and inspect the site for persistence such as backdoors or altered scheduled tasks. The exact steps depend on how the compromise occurred.
Think your website has been hacked?
Call us or send the details. Hacked Site Rescue is a fixed £249, and we find how the attacker got in.