WordPress site owners who downloaded Rank Math PRO during an 11-hour window last week may have received a trojanized version of the SEO plugin, according to the vendor and security researchers.
Rank Math said that version 3.0.123 of the paid plugin, downloaded from its official website between October 15 at 20:02 UTC and October 16 at 07:12 UTC, was replaced with compromised files in a supply-chain attack. "The affected plugin files contained malware that could compromise your website if the plugin was activated," the vendor warned. It said it removed the affected files and released a clean version, 3.0.124. Only the PRO edition was affected; the free Rank Math SEO plugin distributed through WordPress.org was not.
The malware establishes persistent access, communicates with the domain rank1cdn[.]com, and recreates hidden backdoors when an infected site is visited, according to Rank Math's advisory. The vendor warned that activating the compromised plugin could expose database credentials, API keys and other secrets held by the web server.
Separately, BleepingComputer said it found a PHP malware sample on VirusTotal containing the same indicators of compromise listed in Rank Math's alert, including a 'wpsupport_' administrator account prefix, '@wp-mail.net' email addresses, and an '#ms6v46' cron job marker. The sample appears to be a first-stage script that deploys the 'wp-includes/class-wp-cache-util.php' backdoor, and can execute commands, modify WordPress databases and steal cloud and SSH credentials. BleepingComputer said it could not confirm the sample was distributed through the plugin.
Rank Math advises affected users to treat their websites as compromised, restore from a clean backup and rotate all passwords, keys and salts. Those without a backup should delete the plugin folder and malicious database entries, investigate for unauthorized admin accounts and scheduled tasks, and block outbound connections to rank1cdn[.]com. Users who installed but did not activate the plugin should delete it, install the clean version and scan their sites.
