Rank Math PRO 3.0.123 shipped with malware for 11 hours
Rank Math says copies of its Rank Math PRO WordPress SEO plugin, version 3.0.123, downloaded between October 15 at 20:02 UTC and October 16 at 07:12 UTC contained malware that could compromise a site once activated. It released a clean 3.0.124 and tells anyone who activated the bad version to treat the site as compromised and restore from an earlier backup.
Rank Math, which makes a widely used WordPress SEO plugin, says a limited number of users downloaded a compromised Rank Math PRO 3.0.123 between October 15 at 20:02 UTC and October 16 at 07:12 UTC. The files contained malware that could compromise a website if the plugin was activated. The company removed them and released a clean version, 3.0.124. It has not said how the malicious code got into the release.
Sites that installed and activated 3.0.123 in that window should be treated as compromised; installed but never activated, the plugin files should be deleted and replaced; downloaded only, there is no sign of compromise from this incident alone. Rank Math recommends restoring the site and database from a backup made before October 15 at 20:02 UTC and then changing every password, database credential and API key, on the assumption that all secrets on the site are exposed.
For sites that can't be restored, the cleanup guide shows how persistent the malware is. It rebuilds a hidden backdoor whenever someone visits the site, so the plugin folder and specific entries in the wp_options table must be removed first, and outbound connections to rank1cdn.com blocked. Admins should then hunt for backdoor PHP files in mu-plugins and other plugin and theme folders, rogue administrator accounts with @wp-mail.net addresses, a fake WordPress core file, PHP hidden in .cache files, and cron entries tagged #ms6v46.