Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-49329 Overview
CVE-2025-49329 is an arbitrary file upload vulnerability in the Agile Logix Store Locator plugin for WordPress. The flaw affects agile-store-locator versions up to and including 1.5.2. It stems from an unrestricted upload of files with dangerous types [CWE-434], allowing an authenticated attacker with high privileges to upload a web shell to the underlying web server. Successful exploitation gives the attacker a foothold for executing arbitrary PHP within the WordPress application context.
Critical Impact
An authenticated attacker can upload a web shell to a vulnerable WordPress site running Agile Store Locator ≤ 1.5.2 and gain persistent remote code execution against the server.
Affected Products
- Agile Logix Store Locator WordPress plugin (agile-store-locator)
- All versions from n/a through 1.5.2
- WordPress installations with the affected plugin active
Discovery Timeline
- 2025-06-06 - CVE-2025-49329 published to the National Vulnerability Database
- 2026-06-17 - Last updated in the NVD database
Technical Details for CVE-2025-49329
Vulnerability Analysis
The vulnerability is classified under CWE-434: Unrestricted Upload of File with Dangerous Type. The Agile Store Locator plugin exposes a file upload path that fails to validate the type, extension, or MIME content of uploaded files. An attacker can submit a PHP file disguised as, or bundled with, expected content such as store logos or import assets. Once written to a web-accessible directory, the file executes as PHP whenever requested.
Exploitation requires authenticated access with high privileges within WordPress. The change in scope means a successful upload impacts resources beyond the plugin's own boundary, including the entire web application and hosting environment. Confidentiality, integrity, and availability impacts are all present at a low level individually but combine into full server-side code execution.
Root Cause
The plugin's upload handler does not enforce an allow-list of safe file extensions or verify file contents against expected types. Missing sanitization of the destination path and filename compounds the flaw, permitting attacker-controlled files to land under wp-content/uploads/ or a plugin-specific directory where the web server will execute them.
Attack Vector
The attack is delivered over the network against a vulnerable WordPress site. An authenticated attacker sends a crafted multipart HTTP request to the plugin's upload endpoint, providing a PHP payload with an extension or MIME string designed to bypass superficial checks. After the file is written, the attacker retrieves the URL and issues an HTTP request to invoke the web shell. The shell then executes commands as the web server user.
See the Patchstack Vulnerability Report for additional technical context.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2025-49329
Indicators of Compromise
- New .php, .phtml, .phar, or double-extension files (e.g., logo.php.jpg) under wp-content/uploads/ or plugin-controlled directories
- Outbound connections from the web server to unfamiliar hosts shortly after file writes to upload paths
- WordPress access logs showing POST requests to Agile Store Locator upload endpoints followed by GET requests to newly created files
- Web server processes spawning shell interpreters such as sh, bash, or python
Detection Strategies
- Inspect HTTP request bodies to plugin upload endpoints for PHP tags (<?php) or base64-encoded payloads
- Alert on file creation events where the file extension resolves to a server-executable type inside wp-content/uploads/
- Correlate WordPress authentication events for high-privilege accounts with subsequent upload activity from unusual source IPs
Monitoring Recommendations
- Enable file integrity monitoring across the WordPress document root and plugin directories
- Ship web server, PHP-FPM, and WordPress audit logs to a centralized analytics platform for behavioral review
- Track administrator and editor account activity, especially plugin usage from new geolocations or user agents
How to Mitigate CVE-2025-49329
Immediate Actions Required
- Update the Agile Store Locator plugin to a version later than 1.5.2 as soon as the vendor publishes a fixed release
- Audit wp-content/uploads/ and plugin directories for unexpected executable files and remove any web shells discovered
- Rotate WordPress administrator credentials and API keys if compromise is suspected
- Review recent high-privilege account activity for unauthorized logins or plugin actions
Patch Information
At the time of publication, the Patchstack advisory lists versions through 1.5.2 as vulnerable. Administrators should consult the Patchstack Vulnerability Report and the plugin's WordPress.org page for the latest fixed release and apply it across all environments.
Workarounds
- Deactivate and remove the Agile Store Locator plugin until a patched version is installed
- Restrict administrative access with multi-factor authentication and IP allow-listing to reduce the pool of accounts able to reach the upload endpoint
- Configure the web server to deny PHP execution inside wp-content/uploads/ using directory-level rules
- Deploy a web application firewall rule that blocks uploads containing PHP shebangs or executable MIME types to plugin endpoints
# Apache: block PHP execution inside wp-content/uploads
# Place in wp-content/uploads/.htaccess
<FilesMatch "\.(php|phtml|phar|php3|php4|php5|php7|pht)$">
Require all denied
</FilesMatch>
# Nginx equivalent (server or location block)
location ~* /wp-content/uploads/.*\.(php|phtml|phar)$ {
deny all;
return 403;
}
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

