API Security

Tracking CVE-2024-2876: Why does the latest WordPress exploit compromise over 90,000 websites?

A highly concerning security loophole was recently discovered in a WordPress plugin called "Email Subscribers by Icegram Express," a popular tool utilized by a vast network of over 90,000+ websites. Officially designated as CVE-2024-2876 with a CVSS score of 9.8 (critical), the vulnerability represents a significant threat as it exposes numerous websites to potential attacks.

The heart of the problem resides in a SQL injection vulnerability, a flaw that allows malicious actors to inject and execute harmful SQL queries directly into the affected WordPress databases without the need for authentication.

Affecting all versions up to and including 5.7.14, the injection flaw stems from the inadequate handling of user-supplied parameters and insufficient preparation of SQL queries in the 'run' function of the 'IG_ES_Subscribers_Query' class.

Through the exploitation of inadequately sanitized user inputs, assailants can insert unapproved SQL commands and additional SQL queries into existing ones, thereby jeopardizing the integrity and confidentiality of the information housed within the WordPress database.

How did this spiral into the latest exploit CVE-2024-27956?

In the instances of observed attacks, CVE-2024-27956 has been utilized to execute unauthorized queries on databases and establish new administrator accounts on vulnerable WordPress sites (for instance, those beginning with "xtw").

The revelation emerges amidst the unveiling of critical vulnerabilities in plugins such as CVE-2024-2876, Forminator (CVE-2024-28890), and User Registration (CVE-2024-2417).

These vulnerabilities pose significant risks as they can potentially facilitate the extraction of sensitive data, such as password hashes, from the database, enable the uploading of arbitrary files, and confer admin privileges to unauthorized users.

This encompasses the installation of plugins that enable file uploads or code manipulation, suggesting efforts to transform the compromised sites into staging grounds for further actions.

WordPress security company Patchstack made CVE-2024-27956 public on March 13, 2024.

Wallarm Response and First Exploits

Although the CVE was disclosed on March 13, massive exploitation of the vulnerability only started around May when a Nuclei template on the exploit was developed and published on GitHub.

Since May, the Wallarm WAAP platform has detected more than 3,000 malicious requests associated with this vulnerability. An example of a scanning attempt using the Nuclei scanner and how it was detected by the Wallarm platform is shown below.

An example of the attack using the GitHub exploit and detected by the Wallarm WAAP platform is shown on the figure below.

Remediation Action

1. Since all versions up to 5.7.14 were detected with the CVE, it’s recommended for users to upgrade the Email Subscribers by Icegram Express plug-in to version 5.7.15 (or the most recent release 5.7.19).

2. Patchstack users have the option to enable automatic updates specifically for vulnerable plugins.

3. Implement a WAF/WAAP solution as an additional layer of protection. The advantage of such solutions is that even if the vulnerability is new and unknown (0-day), it may still prevent attacks by detecting exploitation patterns and techniques.

Recent Posts

Best API Security Product: Wallarm wins 2024 Cybersecurity Excellence Award

We are thrilled to announce that Wallarm has clinched the sought-after 2024 Cybersecurity Excellence Award,…

2 weeks ago

Introducing the Wallarm Q1 2024 API ThreatStats™ Report

As we have in previous editions of the ThreatStats report, we highlight the industry’s top…

3 weeks ago

Wallarm’s Open Source API Firewall debuts at Blackhat Asia 2024 – Introduces Key New Features & Functionalities

Wallarm introduced its ongoing Open Source API Firewall project to the world at the recently…

4 weeks ago

How to track and stop CVE-2024-3400: Palo Alto Networks API Exploit Causing Critical Infrastructure and Enterprise Epidemics

On Friday April 12, Palo Alto disclosed that some versions of PAN-OS are not only…

1 month ago

Top 3 API Leaks Identified by Cybersecurity & InfoSec Experts

APIs (Application Programming Interfaces) have proliferated widely, which increases their susceptibility to various vulnerabilities. In…

1 month ago

Spoutible Enhances Platform Security through Partnership with Wallarm

Spoutible, the rapidly growing social media platform known for its commitment to fostering a safe,…

2 months ago