CVE-2025-32636

9.3 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the Local Magic WordPress plugin allows attackers to execute arbitrary SQL commands on affected databases. All WordPress sites running Local Magic versions up to 2.6.0 are potentially affected, which could lead to data theft, modification, or deletion.

💻 Affected Systems

Products:
  • Local Magic WordPress Plugin
Versions: n/a through 2.6.0
Operating Systems: All platforms running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with the Local Magic plugin installed and activated.

⚠️ 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 leading to data exfiltration, privilege escalation, remote code execution via database functions, or complete site takeover.

🟠

Likely Case

Data extraction from the WordPress database including user credentials, sensitive content, and configuration data, potentially leading to site defacement or credential theft.

🟢

If Mitigated

Limited impact with proper input validation and database user privilege restrictions, potentially only allowing data reading from non-sensitive tables.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection vulnerabilities in WordPress plugins are frequently weaponized due to the large attack surface and automated exploitation tools.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.6.1 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/local-magic/vulnerability/wordpress-local-magic-plugin-2-6-0-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Local Magic plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install latest version from WordPress repository.

🔧 Temporary Workarounds

Disable Local Magic Plugin

all

Temporarily deactivate the vulnerable plugin until patched version is available.

wp plugin deactivate local-magic

Web Application Firewall Rules

all

Implement WAF rules to block SQL injection patterns targeting Local Magic endpoints.

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries for all database interactions
  • Restrict database user permissions to minimum required privileges

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Local Magic version. If version is 2.6.0 or earlier, system is vulnerable.

Check Version:

wp plugin get local-magic --field=version

Verify Fix Applied:

After update, verify Local Magic plugin version is 2.6.1 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts
  • Unexpected plugin file modifications

Network Indicators:

  • HTTP requests with SQL injection payloads to Local Magic endpoints
  • Unusual database connection patterns

SIEM Query:

source="web_server" AND (uri_path="*local-magic*" AND (query="*UNION*" OR query="*SELECT*" OR query="*INSERT*" OR query="*DELETE*"))

🔗 References

📤 Share & Export