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
The Store Locator for WordPress with Google Maps – LotsOfLocales plugin for WordPress is vulnerable to Local File Inclusion in version 3.98.9 via the 'sl_engine' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
AI Analysis
Technical Summary
CVE-2024-12571 is a Local File Inclusion vulnerability categorized under CWE-98 affecting the Store Locator for WordPress with Google Maps – LotsOfLocales plugin, specifically version 3.98.9. The vulnerability arises from improper control of the filename used in include/require statements within the PHP code, specifically via the 'sl_engine' parameter. An attacker can manipulate this parameter to include arbitrary files from the server, which can contain malicious PHP code. Because the plugin does not authenticate or sanitize this input properly, attackers can execute arbitrary PHP code remotely without any authentication or user interaction. This can lead to full system compromise, including bypassing access controls, data exfiltration, and remote code execution. The vulnerability has a CVSS 3.1 base score of 9.8, reflecting its critical impact on confidentiality, integrity, and availability. No patches or official fixes are currently linked, and no exploits are publicly known, but the vulnerability's nature makes it highly exploitable. The plugin’s integration with WordPress, a widely used CMS, increases the potential attack surface significantly.
Potential Impact
The impact of CVE-2024-12571 is severe for organizations using the affected plugin. Successful exploitation can lead to remote code execution, allowing attackers to execute arbitrary PHP code on the web server. This can result in complete system compromise, including unauthorized access to sensitive data, modification or deletion of files, and disruption of service availability. Attackers could also use this foothold to pivot within the network, escalate privileges, or deploy malware such as ransomware. Given WordPress’s popularity, many websites, including e-commerce, corporate, and governmental sites, could be affected, potentially leading to data breaches, reputational damage, and financial losses. The lack of authentication and user interaction requirements makes this vulnerability particularly dangerous and easy to exploit at scale.
Mitigation Recommendations
To mitigate CVE-2024-12571, organizations should immediately upgrade the Store Locator for WordPress with Google Maps – LotsOfLocales plugin to a patched version once available. Until a patch is released, implement strict input validation and sanitization on the 'sl_engine' parameter to prevent arbitrary file inclusion. Employ Web Application Firewalls (WAFs) with rules to detect and block attempts to exploit LFI vulnerabilities targeting this parameter. Restrict file permissions on the server to limit the web server’s ability to read or execute unauthorized files. Disable PHP execution in directories used for file uploads or temporary storage. Regularly audit and monitor web server logs for suspicious requests targeting the vulnerable parameter. Additionally, consider isolating the WordPress environment using containerization or sandboxing to limit the blast radius of a potential compromise. Finally, maintain regular backups and have an incident response plan ready in case of exploitation.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands, Italy, Spain
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
Description
The Store Locator for WordPress with Google Maps – LotsOfLocales plugin for WordPress is vulnerable to Local File Inclusion in version 3.98.9 via the 'sl_engine' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-12571 is a Local File Inclusion vulnerability categorized under CWE-98 affecting the Store Locator for WordPress with Google Maps – LotsOfLocales plugin, specifically version 3.98.9. The vulnerability arises from improper control of the filename used in include/require statements within the PHP code, specifically via the 'sl_engine' parameter. An attacker can manipulate this parameter to include arbitrary files from the server, which can contain malicious PHP code. Because the plugin does not authenticate or sanitize this input properly, attackers can execute arbitrary PHP code remotely without any authentication or user interaction. This can lead to full system compromise, including bypassing access controls, data exfiltration, and remote code execution. The vulnerability has a CVSS 3.1 base score of 9.8, reflecting its critical impact on confidentiality, integrity, and availability. No patches or official fixes are currently linked, and no exploits are publicly known, but the vulnerability's nature makes it highly exploitable. The plugin’s integration with WordPress, a widely used CMS, increases the potential attack surface significantly.
Potential Impact
The impact of CVE-2024-12571 is severe for organizations using the affected plugin. Successful exploitation can lead to remote code execution, allowing attackers to execute arbitrary PHP code on the web server. This can result in complete system compromise, including unauthorized access to sensitive data, modification or deletion of files, and disruption of service availability. Attackers could also use this foothold to pivot within the network, escalate privileges, or deploy malware such as ransomware. Given WordPress’s popularity, many websites, including e-commerce, corporate, and governmental sites, could be affected, potentially leading to data breaches, reputational damage, and financial losses. The lack of authentication and user interaction requirements makes this vulnerability particularly dangerous and easy to exploit at scale.
Mitigation Recommendations
To mitigate CVE-2024-12571, organizations should immediately upgrade the Store Locator for WordPress with Google Maps – LotsOfLocales plugin to a patched version once available. Until a patch is released, implement strict input validation and sanitization on the 'sl_engine' parameter to prevent arbitrary file inclusion. Employ Web Application Firewalls (WAFs) with rules to detect and block attempts to exploit LFI vulnerabilities targeting this parameter. Restrict file permissions on the server to limit the web server’s ability to read or execute unauthorized files. Disable PHP execution in directories used for file uploads or temporary storage. Regularly audit and monitor web server logs for suspicious requests targeting the vulnerable parameter. Additionally, consider isolating the WordPress environment using containerization or sandboxing to limit the blast radius of a potential compromise. Finally, maintain regular backups and have an incident response plan ready in case of exploitation.
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, 2:26:16 PM
Last updated: 4/12/2026, 1:07:29 AM
Views: 24
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.