CVE-2025-32128

7.6 HIGH

📋 TL;DR

This SQL injection vulnerability in the WordPress Nearby Locations plugin allows attackers to execute arbitrary SQL commands through unsanitized user input. All WordPress sites running Nearby Locations version 1.1.1 or earlier are affected, potentially compromising database integrity and confidentiality.

💻 Affected Systems

Products:
  • WordPress Nearby Locations plugin
Versions: n/a through 1.1.1
Operating Systems: All platforms running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of the affected plugin versions are vulnerable regardless of configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, modification, or deletion; potential privilege escalation to administrative access; possible remote code execution if database functions allow it.

🟠

Likely Case

Data extraction from the WordPress database including user credentials, sensitive content, and configuration data; potential site defacement or content manipulation.

🟢

If Mitigated

Limited impact with proper input validation and parameterized queries preventing successful exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection vulnerabilities typically have low exploitation complexity, especially when unauthenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.1.1

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/nearby-locations/vulnerability/wordpress-nearby-locations-plugin-1-1-1-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find Nearby Locations plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete the plugin immediately.

🔧 Temporary Workarounds

Disable Nearby Locations Plugin

all

Temporarily disable the vulnerable plugin until patched version is available

wp plugin deactivate nearby-locations

Web Application Firewall Rule

all

Implement WAF rules to block SQL injection patterns targeting the plugin

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries in plugin code
  • Deploy web application firewall with SQL injection protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Nearby Locations → Version. If version is 1.1.1 or earlier, you are vulnerable.

Check Version:

wp plugin get nearby-locations --field=version

Verify Fix Applied:

After update, verify plugin version is higher than 1.1.1 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual database queries in WordPress debug logs
  • Multiple failed SQL syntax attempts in web server logs
  • Unexpected database errors in application logs

Network Indicators:

  • HTTP requests with SQL syntax in parameters
  • Unusual database connection patterns from web server

SIEM Query:

source="*apache*" OR source="*nginx*" | search "nearby-locations" AND ("UNION" OR "SELECT" OR "INSERT" OR "DELETE" OR "' OR '" OR "--" OR ";")

🔗 References

📤 Share & Export