WordPress.org plugins created admin backdoors
The June 2024 WordPress.org plugin campaign inserted backdoors into several established plugins through the official plugin distribution channel.
Story
This campaign compromised WordPress plugins at the source: the official WordPress.org plugin repository. Site owners did not have to install a lookalike plugin or download from a third-party site. Updating a trusted plugin was enough.
Wordfence first saw Social Warfare on June 24, 2024 after a WordPress.org Plugin Review Team forum post, then found four more plugins with similar injected code. The earliest known injection dated to June 21, and the attacker was still making plugin updates hours before Wordfence published.
The injected PHP attempted to create new administrator accounts named Options or PluginAuth, then sent the credentials to 94.156.79.8. The attacker also injected footer JavaScript that added SEO spam across affected sites.
The useful lesson is the distribution boundary. WordPress.org plugin updates are a normal maintenance workflow, so a malicious commit in that channel can reach sites without any phishing, typosquatting, or manual upload by the site owner.
This campaign record carries the shared method and indicators. The individual plugin records carry the package names, affected versions, and specific WordPress.org distribution paths.
Linked Attacks
2024
Malicious code was injected directly into the Wrapper Link Element plugin repository on WordPress.org.
Malicious code was injected directly into the Social Warfare plugin repository on WordPress.org.
Malicious code was found in Simply Show Hooks 1.2.1 during the June 2024 WordPress.org plugin-repository compromise.
Malicious code was injected directly into the Contact Form 7 Multi-Step Addon plugin repository on WordPress.org.
Malicious code was injected directly into the Blaze Widget plugin repository on WordPress.org.
Campaign Context
- Actor
- Third Party
- Attribution
- Group
- Cause
- Unknown
Affected Packages
External References
Source record: oss/campaigns/wordpress-plugin-backdoor-2024/meta.yaml