- Update the theme the day the fix ships — licence active and auto-update enabled, not just installed
- Audit builder content for injected code blocks and sections after any RCE incident
- Scan for shells across the whole install; RCE means the file system was the playground
- Rotate credentials and salts; premium themes read wp-config.php as easily as any code
This post is part of our series on WordPress attacks in the last 10 years — one major attack per day, what it was, how to detect it, how to remove it and how to keep it out. This instalment covers Bricks Builder RCE (CVE-2024-25600) (February 2024).
What happened
In February 2024, security researchers disclosed CVE-2024-25600 in Bricks, a popular premium builder theme: an unauthenticated attacker could execute PHP code on the server through a vulnerable endpoint. The vendor patched in 1.9.6.1 quickly, but active exploitation followed within days — Wordfence blocked thousands of attempts, and the flaw joined the permanent scanning lists. Bricks matters to this series because it breaks a comforting assumption: themes are not decoration. A builder theme is a plugin with a theme’s filename, carrying the same endpoint surface and the same CVE risk.
Who was exposed: Bricks Builder theme versions up to 1.9.6 — a premium site-builder theme; about 25,000 sites at disclosure, with exploitation recorded at scale. Why it mattered: Unauthenticated remote code execution: complete server control with no account at all — the highest-severity class, in a paid product.
How this attack works
Builder functionality needs server-side actions — render this element, run this query, execute this code block for the design. When one of those actions is reachable without authentication and does not validate what it runs, the builder’s power becomes the attacker’s. Premium pricing does not change the arithmetic: the exploit worked the same on a $79 licence as on any free plugin.
The exploitation itself is usually automated end to end. Bots continuously scan the web reading plugin readme files and version strings; the moment a vulnerable version is fingerprinted, an exploit script fires — creating an admin account, uploading a web shell, or injecting a database payload, depending on the flaw. The site owner typically did nothing ‘wrong’ on the day it happened beyond running a popular plugin a few versions behind, which is why the median time from disclosure to mass attack — about five hours for the worst flaws in 2025 — matters so much.
Signs your site has it — and how to confirm
- A premium theme inside a disclosed vulnerable range — premium products announce fixes quietly to customers; check your licence inbox
- Theme or builder files modified outside your design work
- Unknown files in uploads or the theme’s directories, or new admin users
- Builder-powered pages executing content you didn’t build — check for injected sections and code blocks
Confirm the plugin and its version on your site against the affected versions in the advisory — if you are at or below the vulnerable version, treat the site as exposed, not just at risk. Then check for the fingerprints of a successful exploit: admin users you did not create, files modified after the disclosure date, PHP files in uploads, and unfamiliar options or cron jobs in the database.
Step-by-step removal and recovery
Immediate actions for this attack
- Update the theme the day the fix ships — licence active and auto-update enabled, not just installed
- Audit builder content for injected code blocks and sections after any RCE incident
- Scan for shells across the whole install; RCE means the file system was the playground
- Rotate credentials and salts; premium themes read wp-config.php as easily as any code
The full protocol
- Back up first, labelled infected — you may need it for evidence or rollback.
- Update the vulnerable plugin immediately if a fix exists; if none exists, deactivate and delete it — an unpatched known flaw is an open door.
- Assume entry may already have happened: audit every administrator account (including in the database, where hidden admins do not show in wp-admin).
- Scan files and database: recently modified PHP, PHP in uploads, encoded payloads in wp_options, rogue cron jobs.
- Reinstall the plugin (and ideally core and theme) from clean official sources rather than trusting edited files.
- Rotate wp-admin, hosting, database and FTP credentials, and regenerate wp-config.php salt keys to kill every existing session.
- Verify with a fresh fetch of key pages and a server-side scan, then watch file-change alerts closely for two weeks — reinfection almost always means a persistence point survived.
How to prevent it
- Keep theme licences active and renewals paid — an expired premium theme is tomorrow’s Kaswara
- Choose ONE builder stack and know its disclosure channels; spread across three builders, you track none of them
- Restrict who holds builder/code capabilities in wp-admin; builder power should not be a default role
- Apply the plugin discipline to themes: inventory, versions, changelogs, update latency
The defences repeat across this whole series for a reason: kept-updated software, unique passwords with 2FA, the fewest possible plugins, backups stored off the server, and monitoring that looks at your site the way an attacker — or Google — does. Sites rarely fall to one exotic trick; they fall to one ordinary gap.
FAQs
Are premium themes safer than free plugins?
They are differently audited, not inherently safer. Bricks, TagDiv themes and others in this timeline were premium products with critical flaws. Maintenance behaviour is the metric, not price.
My theme is a child theme of a builder. Does updating the parent break my site?
It can change rendering, which is why owners delay — and why attackers love builder sites. Test on staging for big updates; apply security point-releases immediately.
The CVE is from 2024. Why is it still relevant?
Scanners still probe for it because vulnerable copies persist. A flaw stops mattering when the last copy is patched — the tail is measured in years.
Next in the series and the full timeline: WordPress Attacks in the Last 10 Years — the complete guide.
JunoBizz audits, cleans and hardens WordPress sites — cloaked spam, rogue admins, poisoned plugins and everything in this series. Get the checks run before Google finds the problem.
Talk to JunoBizz