CVE-2025-23774

7.5 HIGH

📋 TL;DR

This vulnerability in the WPDB to Sql WordPress plugin allows attackers to retrieve sensitive embedded data through information disclosure in sent data. It affects WordPress sites using the WPDB to Sql plugin. The vulnerability exists in all versions up to and including 1.2.

💻 Affected Systems

Products:
  • WPDB to Sql WordPress Plugin
Versions: n/a through 1.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress installations with the vulnerable plugin version 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

Attackers could extract sensitive database information, credentials, or other embedded data, potentially leading to full site compromise or data breach.

🟠

Likely Case

Unauthorized users could access sensitive configuration data or database information that should remain hidden.

🟢

If Mitigated

With proper access controls and network segmentation, impact would be limited to information disclosure without escalation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires understanding of the plugin's data handling mechanisms.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.2

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wpdb-to-sql/vulnerability/wordpress-wpdb-to-sql-plugin-1-2-sensitive-data-exposure-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'WPDB to Sql' plugin
4. Click 'Update Now' if update available
5. If no update, deactivate and remove plugin
6. Install updated version from WordPress repository

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched version is available

wp plugin deactivate wpdb-to-sql

🧯 If You Can't Patch

  • Implement strict access controls to limit who can access plugin functionality
  • Add web application firewall rules to block suspicious data retrieval patterns

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → WPDB to Sql → Version number. If version is 1.2 or earlier, you are vulnerable.

Check Version:

wp plugin get wpdb-to-sql --field=version

Verify Fix Applied:

After update, verify plugin version is higher than 1.2 and test plugin functionality for data leakage.

📡 Detection & Monitoring

Log Indicators:

  • Unusual database query patterns
  • Multiple requests to plugin endpoints
  • Access to sensitive data endpoints

Network Indicators:

  • Unusual data retrieval from plugin endpoints
  • Patterns of information gathering requests

SIEM Query:

source="wordpress" AND (plugin="wpdb-to-sql" OR uri="/wp-content/plugins/wpdb-to-sql/") AND (status=200 OR method="POST")

🔗 References

📤 Share & Export