CVE-2025-57899

5.3 MEDIUM

📋 TL;DR

This CVE describes a missing authorization vulnerability in the WP Compress WordPress plugin that allows attackers to access functionality not properly constrained by access control lists. Attackers can exploit this to perform actions they shouldn't have permission for. This affects all WordPress sites using WP Compress versions up to 6.50.54.

💻 Affected Systems

Products:
  • WP Compress Image Optimizer WordPress Plugin
Versions: All versions up to and including 6.50.54
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations with vulnerable WP Compress versions are affected regardless of configuration.

⚠️ 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, potentially disabling security features, altering image optimization settings, or accessing administrative functions without proper authorization.

🟠

Likely Case

Unauthorized users could change plugin configurations, potentially affecting site performance or accessing functionality intended only for administrators.

🟢

If Mitigated

With proper network segmentation and least privilege principles, impact would be limited to the WordPress application layer only.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires some WordPress knowledge but no authentication. The vulnerability is in access control mechanisms.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 6.50.55 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wp-compress-image-optimizer/vulnerability/wordpress-wp-compress-plugin-6-50-54-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 Image Optimizer. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and manually update.

🔧 Temporary Workarounds

Temporary Plugin Deactivation

all

Disable the WP Compress plugin until patched to prevent exploitation.

wp plugin deactivate wp-compress-image-optimizer

🧯 If You Can't Patch

  • Implement strict network access controls to limit who can access the WordPress admin interface.
  • Add web application firewall rules to detect and block unauthorized access attempts to WP Compress endpoints.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for WP Compress version. If version is 6.50.54 or lower, you are vulnerable.

Check Version:

wp plugin get wp-compress-image-optimizer --field=version

Verify Fix Applied:

After updating, verify WP Compress version shows 6.50.55 or higher in WordPress plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php with wp_compress-related actions from unauthorized IPs
  • Multiple failed authorization attempts followed by successful wp_compress actions

Network Indicators:

  • HTTP requests to wp_compress endpoints from non-admin users
  • Unusual traffic patterns to /wp-content/plugins/wp-compress-image-optimizer/

SIEM Query:

source="wordpress.log" AND (uri_path="/wp-admin/admin-ajax.php") AND (action="wp_compress_*") AND (user_role!="administrator")

🔗 References

📤 Share & Export