CVE-2025-10289

5.9 MEDIUM

📋 TL;DR

The Filter & Grids WordPress plugin contains an SQL injection vulnerability in all versions up to 3.2.0. Unauthenticated attackers can exploit this to extract sensitive information from the database by injecting malicious SQL through the 'phrase' parameter. This affects WordPress sites using the vulnerable plugin on MariaDB databases.

💻 Affected Systems

Products:
  • WordPress Filter & Grids plugin
Versions: All versions up to and including 3.2.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only exploitable on MariaDB databases; MySQL returns syntax errors preventing exploitation.

⚠️ 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 extraction of user credentials, sensitive content, and potential privilege escalation through data manipulation.

🟠

Likely Case

Data exfiltration of sensitive information such as user emails, hashed passwords, and private content from the database.

🟢

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: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

SQL injection via 'phrase' parameter requires no authentication and has simple exploitation pattern.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.2.1 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3378420%40ymc-smart-filter&new=3378420%40ymc-smart-filter&sfp_email=&sfph_mail=

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Filter & Grids' plugin. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 3.2.1+ from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the Filter & Grids plugin until patched

wp plugin deactivate ymc-smart-filter

Web Application Firewall rule

all

Block SQL injection patterns targeting the 'phrase' parameter

ModSecurity rule: SecRule ARGS:phrase "@detectSQLi" "id:1001,phase:2,deny,status:403"

🧯 If You Can't Patch

  • Implement strict input validation for the 'phrase' parameter to allow only alphanumeric characters
  • Deploy a web application firewall with SQL injection detection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Filter & Grids version. If version is 3.2.0 or lower, you are vulnerable.

Check Version:

wp plugin get ymc-smart-filter --field=version

Verify Fix Applied:

Verify plugin version is 3.2.1 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries containing UNION, SELECT, or database functions in 'phrase' parameter
  • Multiple failed SQL syntax errors from same IP

Network Indicators:

  • HTTP requests with SQL injection payloads in 'phrase' parameter
  • Unusual database query patterns from web server

SIEM Query:

source="web_logs" AND (uri_query="*phrase=*UNION*" OR uri_query="*phrase=*SELECT*" OR uri_query="*phrase=*' OR '1'='1*")

🔗 References

📤 Share & Export