CVE-2025-67520

9.8 CRITICAL

📋 TL;DR

This SQL injection vulnerability in the WordPress Media Library Tools plugin allows attackers to execute arbitrary SQL commands on the database. All WordPress sites running affected versions of this plugin are vulnerable, potentially exposing sensitive data.

💻 Affected Systems

Products:
  • WordPress Media Library Tools plugin
Versions: All versions up to and including 1.6.15
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin active

⚠️ 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 theft, privilege escalation, and full site takeover

🟠

Likely Case

Unauthorized data access, including user credentials, personal information, and site content

🟢

If Mitigated

Limited impact with proper input validation and database permissions

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

SQL injection vulnerabilities are commonly exploited with automated tools

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.6.16 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/media-library-tools/vulnerability/wordpress-media-library-tools-plugin-1-6-15-sql-injection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins > Installed Plugins
3. Find Media Library Tools
4. Click 'Update Now' if available
5. If no update available, deactivate and delete the plugin

🔧 Temporary Workarounds

Immediate Plugin Deactivation

all

Temporarily disable the vulnerable plugin to prevent exploitation

wp plugin deactivate media-library-tools

WAF Rule Implementation

all

Add SQL injection detection rules to web application firewall

🧯 If You Can't Patch

  • Deactivate the Media Library Tools plugin immediately
  • Implement strict input validation and parameterized queries at application level

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Media Library Tools version

Check Version:

wp plugin get media-library-tools --field=version

Verify Fix Applied:

Verify plugin version is 1.6.16 or higher

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts
  • Unexpected database schema changes

Network Indicators:

  • SQL syntax in HTTP parameters
  • Unusual database connection patterns

SIEM Query:

SELECT * FROM web_logs WHERE url LIKE '%media-library-tools%' AND (params LIKE '%UNION%' OR params LIKE '%SELECT%' OR params LIKE '%INSERT%')

🔗 References

📤 Share & Export