- Security researchers find more than 5,000 websites with a piece of malicious code
- The malware installs a plugin that steals login credentials and sensitive data
- The researchers recommended a number of mitigation measures
Thousands of WordPress sites were observed running malware that could create a rogue administrator account and exfiltrate sensitive data through malicious plugins.
A new report by security researcher Himanshu Anand of c/side claims that at least 5,000 WordPress sites were found hosting a malicious script that creates an unauthorized administrator account with a username and password that can be found in the code.
After creating the account, the script will download a malicious WordPress plugin and run it. The plugin, which was not named, is tasked with exfiltrating sensitive data to an external server. The data pulled includes administrator credentials and operational statuses, it added.
how to defend
The researchers could not determine exactly how the malicious code ended up on these websites.
“So far we have not identified a common denominator and our investigation is ongoing,” Anand said.
Those interested in double-checking whether or not their site is secure should visit one of these sites, the researcher advised:
– PublicWWW.com
– URLScan.io
To defend against the attacks, c/side recommends blocking the domain https://wp3[.]xyz in firewalls or security tools, auditing WordPress admin accounts for unauthorized users, removing suspicious plugins and validating existing ones, and strengthening CSRF protection and implementing multi-factor authentication (MFA). Ultimately, they also recommend using c/side’s services.
As the most popular website builder on the planet, WordPress is constantly targeted by threat actors. However, since the platform is secure for the mail part, attackers are focused on third-party plugins and themes, especially free to use, which often do not have the right software support.
As a general rule of thumb, companies should only use plugins and themes from reputable sources and with a strong supporting community. They should also make sure to uninstall any plugins they don’t use and to keep the remaining ones up to date.