Wordfence Details BdThemes Supply-Chain Attack Using Poisoned JSON

· Original article ↗

Summary

Wordfence says attackers poisoned JSON from BdThemes’ cloud storage to exploit XSS in WordPress plugins, create rogue admins, deploy a web shell and persistence modules. WordPress temporarily disabled downloads for seven affected plugins.

Key points

  • WordPress temporarily disabled downloads for seven BdThemes plugins pending review.
  • Wordfence says attackers poisoned remote JSON in a vendor cloud-storage bucket; no files in the official WordPress.org repository were modified.
  • The Biggopti component’s JSON parsing reportedly had an XSS flaw involving the display_id parameter, allowing injected scripts to run on logged-in administrators’ wp-admin pages.
  • The w2.js payload reportedly contacted ia-cdn[.]com, created rogue administrator accounts, installed a fake plugin containing a PHP web shell, and added persistence modules.
  • An alternate x.js payload reportedly generated predictable administrator credentials from a site’s hostname and sent attack results to the C2 server.
  • Wordfence assessed the cloud-storage access as evidence of a serious compromise of BdThemes’ credentials or internal infrastructure.

Article Details

Attack Vectors
  • Attackers with write access to BdThemes' remote JSON bucket replaced legitimate responses with crafted payloads, exploiting an XSS flaw in Biggopti's parsing of the display_id parameter.
  • Injected JavaScript ran in logged-in administrators' wp-admin browsers, created rogue administrator accounts, downloaded and installed a fake plugin containing a PHP web shell, and installed persistence modules.
  • An alternate payload generated deterministic administrator credentials from the victim site's hostname, created a malicious administrator account, and sent attack results to a C2 server.
Defensive Notes
  • WordPress temporarily disabled downloads of the affected BdThemes plugins pending a full review.
  • Wordfence said the deterministic credential algorithm allows incident responders to compute the generated username and password when hunting on suspected sites.

MITRE ATT&CK

CVE

People

Vendors

Products

Related Articles