CVE-2024-5551

7.5 HIGH

📋 TL;DR

This CSRF vulnerability in WP STAGING Pro WordPress Backup Plugin allows unauthenticated attackers to trick administrators into executing malicious requests that can include local PHP files ending in '-settings.php'. All WordPress sites using vulnerable plugin versions are affected.

💻 Affected Systems

Products:
  • WP STAGING Pro WordPress Backup Plugin
Versions: All versions up to and including 5.6.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress administrator to be tricked into clicking malicious link while authenticated.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could include sensitive configuration files, potentially exposing database credentials, API keys, or other secrets, leading to complete site compromise.

🟠

Likely Case

Attackers steal sensitive configuration data from settings files, enabling further attacks or data exfiltration.

🟢

If Mitigated

With proper CSRF protections and user awareness, exploitation requires significant social engineering and may be detected by security monitoring.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires social engineering to trick authenticated administrators.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 5.6.0

Vendor Advisory: https://wp-staging.com/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins. 3. Find WP STAGING Pro. 4. Click 'Update Now' or manually update to version after 5.6.0.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable WP STAGING Pro plugin until patched

wp plugin deactivate wp-staging

Add CSRF protection headers

all

Implement additional CSRF protection at web server level

🧯 If You Can't Patch

  • Implement strict Content Security Policy (CSP) headers
  • Educate administrators about phishing risks and require multi-factor authentication

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > WP STAGING Pro version. If version is 5.6.0 or lower, vulnerable.

Check Version:

wp plugin get wp-staging --field=version

Verify Fix Applied:

Verify plugin version is higher than 5.6.0 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual requests to WP STAGING endpoints with 'sub' parameter
  • Multiple failed attempts to access settings files

Network Indicators:

  • Suspicious referrer headers in requests to admin endpoints
  • CSRF token validation failures

SIEM Query:

source="wordpress.log" AND "wp-staging" AND "-settings.php"

🔗 References

📤 Share & Export