CVE-2024-27968

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the Optimole Super Page Cache for Cloudflare WordPress plugin allows attackers to perform stored cross-site scripting (XSS) attacks. This affects WordPress sites using vulnerable versions of the plugin. Attackers can trick authenticated administrators into executing malicious actions that inject harmful scripts.

💻 Affected Systems

Products:
  • Optimole Super Page Cache for Cloudflare WordPress plugin
Versions: n/a through 4.7.5
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress installations with the plugin enabled. Requires an authenticated administrator to be tricked into performing an action.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could inject malicious JavaScript that steals administrator credentials, hijacks sessions, defaces websites, or installs backdoors, potentially leading to complete site compromise.

🟠

Likely Case

Attackers create fake admin pages or emails that trick logged-in administrators into clicking malicious links, resulting in stored XSS payloads being injected into the site.

🟢

If Mitigated

With proper CSRF tokens and input validation, the attack vector is blocked, preventing unauthorized actions even if administrators are tricked.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Exploitation requires social engineering to trick authenticated users, but the technical execution is straightforward once the user is deceived.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.7.6 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/wp-cloudflare-page-cache/wordpress-super-page-cache-for-cloudflare-plugin-4-7-5-cross-site-request-forgery-csrf-to-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Super Page Cache for Cloudflare' and click 'Update Now'. 4. Verify the plugin version is 4.7.6 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the vulnerable plugin until patched.

wp plugin deactivate wp-cloudflare-page-cache

Implement CSRF Protection

all

Add custom CSRF tokens to plugin forms if you cannot update immediately.

🧯 If You Can't Patch

  • Restrict plugin access to trusted administrators only and monitor for suspicious activity.
  • Implement web application firewall (WAF) rules to block CSRF and XSS payloads targeting the plugin endpoints.

🔍 How to Verify

Check if Vulnerable:

Check the plugin version in WordPress admin under Plugins > Installed Plugins. If version is 4.7.5 or lower, it is vulnerable.

Check Version:

wp plugin get wp-cloudflare-page-cache --field=version

Verify Fix Applied:

After updating, confirm the plugin version is 4.7.6 or higher in the same location.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin admin endpoints without referrer headers or CSRF tokens
  • JavaScript injection in plugin settings or cache-related data

Network Indicators:

  • HTTP requests to /wp-admin/admin.php?page=wp-cloudflare-page-cache with suspicious parameters

SIEM Query:

source="wordpress" AND (uri_path="/wp-admin/admin.php" AND query="page=wp-cloudflare-page-cache") AND (method="POST" AND NOT referrer="*wp-admin*")

🔗 References

📤 Share & Export