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-12571: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in moaluko Store Locator for WordPress with Google Maps – LotsOfLocales

0
Critical
VulnerabilityCVE-2024-12571cvecve-2024-12571cwe-98
Published: Fri Dec 20 2024 (12/20/2024, 06:59:06 UTC)
Source: CVE Database V5
Vendor/Project: moaluko
Product: Store Locator for WordPress with Google Maps – LotsOfLocales

Description

CVE-2024-12571 is a critical Local File Inclusion (LFI) vulnerability in version 3. 98. 9 of the Store Locator for WordPress with Google Maps – LotsOfLocales plugin. It arises from improper control of the filename in the 'sl_engine' parameter, allowing unauthenticated attackers to include and execute arbitrary files on the server. This can lead to remote code execution, bypass of access controls, and exposure of sensitive data. The vulnerability has a CVSS score of 9. 8, indicating a critical severity with network attack vector, no required privileges or user interaction, and full impact on confidentiality, integrity, and availability. No known exploits are currently reported in the wild. Organizations using this plugin on WordPress sites are at high risk and should prioritize patching or mitigation. The threat is especially relevant to countries with high WordPress usage and e-commerce or business websites relying on this plugin.

AI-Powered Analysis

AILast updated: 02/26/2026, 03:26:36 UTC

Technical Analysis

CVE-2024-12571 is a critical Local File Inclusion vulnerability identified in version 3.98.9 of the Store Locator for WordPress with Google Maps – LotsOfLocales plugin. The vulnerability stems from improper validation and control of the 'sl_engine' parameter, which is used in PHP include or require statements. An attacker can manipulate this parameter to include arbitrary files from the server, leading to execution of malicious PHP code. This flaw allows unauthenticated remote attackers to bypass access controls, execute arbitrary code, and potentially gain full control over the affected web server. The vulnerability is classified under CWE-98, which concerns improper control of filename for include/require statements in PHP programs. The CVSS v3.1 base score is 9.8, reflecting the ease of exploitation over the network without authentication or user interaction, and the severe impact on confidentiality, integrity, and availability of the system. Although no public exploits have been reported yet, the nature of the vulnerability makes it highly exploitable and dangerous. The plugin is widely used in WordPress sites that provide store location services with Google Maps integration, making the attack surface significant. The vulnerability can be exploited even if the attacker only uploads files typically considered safe, such as images, by leveraging the inclusion flaw to execute embedded PHP code. This elevates the risk of data breaches, website defacement, or full server compromise.

Potential Impact

The impact of CVE-2024-12571 is severe and multifaceted. Successful exploitation can lead to remote code execution on the web server hosting the vulnerable WordPress plugin, allowing attackers to execute arbitrary PHP code. This can result in complete compromise of the affected system, including unauthorized access to sensitive data, modification or deletion of files, and disruption of service. The vulnerability can also be used to bypass existing access controls, potentially exposing administrative interfaces or confidential information. For organizations, this could mean data breaches, defacement of websites, loss of customer trust, and regulatory penalties. Given the plugin's integration with Google Maps and its use in e-commerce or business directories, attackers could manipulate location data or disrupt business operations. The ease of exploitation without authentication or user interaction increases the likelihood of widespread attacks. Additionally, compromised servers could be used as launch points for further attacks within an organization's network or for hosting malicious content, amplifying the overall risk.

Mitigation Recommendations

To mitigate CVE-2024-12571, organizations should immediately update the Store Locator for WordPress with Google Maps – LotsOfLocales plugin to a patched version once available. In the absence of an official patch, administrators should consider disabling or removing the plugin to eliminate the attack vector. Implement strict input validation and sanitization on the 'sl_engine' parameter to prevent inclusion of arbitrary files. Employ web application firewalls (WAFs) with rules specifically designed to detect and block attempts to exploit Local File Inclusion vulnerabilities targeting this plugin. Restrict file upload types and enforce server-side checks to prevent uploading of files containing executable PHP code disguised as images or other safe formats. Harden PHP configurations by disabling functions like include(), require(), and allow_url_include where not necessary. Monitor web server logs for suspicious requests involving the 'sl_engine' parameter and unusual file inclusion attempts. Conduct regular security audits and vulnerability scans focused on WordPress plugins. Finally, implement least privilege principles for web server file permissions to limit the impact of any successful exploitation.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-12T14:17:30.761Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e43b7ef31ef0b59bef7

Added to database: 2/25/2026, 9:48:51 PM

Last enriched: 2/26/2026, 3:26:36 AM

Last updated: 2/26/2026, 9:14:11 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