Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-4887: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in qodeinteractive Qi Addons For Elementor

0
High
VulnerabilityCVE-2024-4887cvecve-2024-4887cwe-98
Published: Fri Jun 07 2024 (06/07/2024, 03:21:56 UTC)
Source: CVE Database V5
Vendor/Project: qodeinteractive
Product: Qi Addons For Elementor

Description

CVE-2024-4887 is a high-severity Remote File Inclusion (RFI) vulnerability in the Qi Addons For Elementor WordPress plugin, affecting all versions up to 1. 7. 2. It allows authenticated users with Contributor-level access or higher to include remote files via the 'behavior' attribute in the qi_addons_for_elementor_blog_list shortcode, potentially leading to remote code execution. Exploitation requires the attacker to create a non-existent directory or exploit specific file_exists behavior, making it somewhat complex. The vulnerability impacts confidentiality, integrity, and availability of affected WordPress sites. No known exploits are currently in the wild, but the risk remains significant due to the high CVSS score of 7. 5. Organizations using this plugin should prioritize patching or mitigating this issue. The threat is especially relevant to countries with widespread WordPress usage and significant web presence.

AI-Powered Analysis

AILast updated: 02/26/2026, 00:57:14 UTC

Technical Analysis

CVE-2024-4887 is a Remote File Inclusion vulnerability classified under CWE-98, found in the Qi Addons For Elementor plugin for WordPress, specifically in all versions up to and including 1.7.2. The vulnerability arises from improper control of filenames used in include/require statements within the plugin's code, particularly via the 'behavior' attributes in the qi_addons_for_elementor_blog_list shortcode. Authenticated attackers with Contributor-level or higher privileges can exploit this flaw to include remote files on the server. This inclusion can lead to arbitrary code execution, compromising the server hosting the WordPress site. The exploitation requires the attacker to create a non-existent directory or leverage scenarios where the PHP function file_exists does not return false for non-existent directories in the path, adding complexity to the attack vector. The vulnerability has a CVSS v3.1 score of 7.5, indicating high severity, with attack vector network, attack complexity high, privileges required low, no user interaction, and impacts on confidentiality, integrity, and availability. No public exploits have been reported yet, but the vulnerability poses a significant risk given the widespread use of the plugin and WordPress. The lack of an official patch at the time of reporting necessitates immediate mitigation efforts by administrators.

Potential Impact

The impact of CVE-2024-4887 is substantial for organizations running WordPress sites with the vulnerable Qi Addons For Elementor plugin. Successful exploitation allows attackers to execute arbitrary code remotely, potentially leading to full server compromise. This can result in data breaches, defacement, malware deployment, or pivoting to internal networks. Since the vulnerability requires only Contributor-level access, attackers can leverage compromised or weak user accounts to escalate their privileges and execute attacks. The confidentiality, integrity, and availability of affected systems are all at risk. Organizations relying on WordPress for business-critical websites or e-commerce platforms face reputational damage, financial losses, and regulatory consequences if exploited. The complexity of exploitation reduces immediate risk but does not eliminate it, especially in environments where attackers can manipulate file system structures or exploit specific PHP behaviors.

Mitigation Recommendations

To mitigate CVE-2024-4887, organizations should immediately restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of authenticated exploitation. Administrators should monitor shortcode usage, especially the qi_addons_for_elementor_blog_list shortcode with 'behavior' attributes, for suspicious or unexpected inputs. Implement web application firewalls (WAFs) with rules to detect and block attempts to include remote files or unusual shortcode parameters. Disable or limit PHP functions such as include, require, and file_exists where feasible, or use hardened PHP configurations to prevent remote file inclusion. Regularly audit user accounts and remove inactive or unnecessary Contributor-level users. Since no official patch is currently available, consider temporarily disabling the Qi Addons For Elementor plugin if possible or replacing it with alternative plugins without this vulnerability. Stay updated with vendor advisories for patches and apply them promptly once released. Employ intrusion detection systems to identify anomalous file inclusion or code execution attempts.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-05-14T22:12:38.932Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b98b7ef31ef0b557095

Added to database: 2/25/2026, 9:37:28 PM

Last enriched: 2/26/2026, 12:57:14 AM

Last updated: 2/26/2026, 8:08:20 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats