CVE-2025-64639

5.3 MEDIUM

📋 TL;DR

This CVE describes a missing authorization vulnerability in the WP Compress for MainWP WordPress plugin that allows attackers to bypass access controls. It affects all versions up to and including 6.50.07, potentially enabling unauthorized users to perform actions reserved for authenticated administrators or other privileged roles.

💻 Affected Systems

Products:
  • WP Compress for MainWP WordPress Plugin
Versions: All versions through 6.50.07
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress sites using the vulnerable plugin version. MainWP dashboard users are particularly at risk.

⚠️ 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 modify plugin settings, disable security features, or potentially chain with other vulnerabilities to gain full administrative control of the WordPress site.

🟠

Likely Case

Unauthorized users could change compression settings, disable caching, or modify other plugin configurations that could degrade site performance or functionality.

🟢

If Mitigated

With proper network segmentation and web application firewalls, impact would be limited to the specific WordPress instance with minimal lateral movement potential.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires some level of access to the WordPress site, but the vulnerability bypasses authorization checks for authenticated users.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 6.50.08 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/wp-compress-mainwp/vulnerability/wordpress-wp-compress-for-mainwp-plugin-6-50-07-broken-access-control-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'WP Compress for MainWP'. 4. Click 'Update Now' if available, or manually update to version 6.50.08+. 5. Verify update completed successfully.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate WP Compress for MainWP until patched

wp plugin deactivate wp-compress-mainwp

Restrict plugin access via .htaccess

linux

Add access restrictions to plugin directory

<FilesMatch "\.(php|inc)$">
Order Deny,Allow
Deny from all
</FilesMatch>

🧯 If You Can't Patch

  • Implement strict network segmentation to isolate WordPress instances
  • Deploy web application firewall with specific rules to block unauthorized access to plugin endpoints

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > WP Compress for MainWP version number

Check Version:

wp plugin get wp-compress-mainwp --field=version

Verify Fix Applied:

Verify plugin version is 6.50.08 or higher and test authorization controls

📡 Detection & Monitoring

Log Indicators:

  • Unauthorized access attempts to wp-compress-mainwp plugin endpoints
  • Unexpected changes to plugin settings without admin authentication

Network Indicators:

  • HTTP requests to /wp-content/plugins/wp-compress-mainwp/ from unauthorized IPs
  • POST requests to plugin admin endpoints without proper authentication headers

SIEM Query:

source="wordpress.log" AND "wp-compress-mainwp" AND ("unauthorized" OR "access denied" OR "permission denied")

🔗 References

📤 Share & Export