Skip to content
OSULZER.AT
Security2 min read· updated April 16, 2022

WordPress Elementor Remote Code Execution Vulnerability: The "Elementor Pro Hack"

A security flaw in Elementor is being exploited to infect WordPress sites with malicious code via a fake elementor-pro plugin. How to spot and clean it.

Elementor users, beware: a serious security vulnerability in the Elementor page builder is currently being exploited to infect WordPress websites with malicious code. I recently handled a case in which this exploit was used to execute remote code on a website.

A look at the logs of the affected website showed that a fake “elementor-pro” plugin file had been created in the plugins folder. This was then used to install further backdoors, and the website itself started serving spam ads. The attackers also use a well-known trick: the ads are shown only to visitors who arrive, for example, via Google. This keeps the site owner from noticing the hack quickly. The type of malicious code injected can of course vary.

Affected site owners should not only remove the PHP file from the fake folder under wp-contents/plugins/elementor-pro, but also check other PHP files in the WordPress folder.

Typical affected files can include:

  • PHP files, including those in inconspicuous subfolders
  • wp-blog-header.php
  • Plugins that have a folder under /wp-content/plugins but do not appear in the plugin list in WordPress

The Vulnerability in Detail

According to official statements, the exploit targets a flaw in the “Onboarding” wizard. It allowed regular users to upload plugins. The new onboarding module was introduced in version 3.6.0, so all versions from 3.6.0 to 3.6.4 are currently affected. You should install the update without delay.

WordFence issued the following statement about it:

Unfortunately no capability checks were used in the vulnerable versions.

An attacker could craft a fake malicious “Elementor Pro” plugin zip and use this function to install it.

Any code present in the fake plugin would be executed, which could be used to take over the site or access additional resources on the server.

If you are affected by this hack and need help, feel free to get in touch.

WordPress Maintenance

So it never comes to that

Tested updates, daily backups, and malware protection - from €40 per month.

See maintenance

New project?

Contact.

Tell me briefly about your project - I'll get back to you personally.

Your data is used solely to handle your inquiry. More in the privacy policy.