CVE-2023-6063

7.5 HIGH

📋 TL;DR

This vulnerability allows unauthenticated attackers to execute arbitrary SQL commands on WordPress sites using WP Fastest Cache plugin versions before 1.2.2. Attackers can potentially read, modify, or delete database content, affecting all WordPress installations with the vulnerable plugin.

💻 Affected Systems

Products:
  • WP Fastest Cache WordPress plugin
Versions: All versions before 1.2.2
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all WordPress installations with vulnerable plugin versions

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, privilege escalation, or site takeover

🟠

Likely Case

Data exfiltration, database manipulation, or denial of service

🟢

If Mitigated

Limited impact with proper input validation and database permissions

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

WPScan has published technical details and proof-of-concept

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.2.2

Vendor Advisory: https://wordpress.org/plugins/wp-fastest-cache/#developers

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find WP Fastest Cache
4. Click 'Update Now' if available
5. Or download version 1.2.2+ from WordPress repository
6. Deactivate and delete old version
7. Upload and activate new version

🔧 Temporary Workarounds

Disable WP Fastest Cache

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate wp-fastest-cache

Web Application Firewall Rule

all

Block SQL injection attempts targeting WP Fastest Cache endpoints

🧯 If You Can't Patch

  • Implement strict input validation and parameterized queries
  • Restrict database user permissions to minimum required

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → WP Fastest Cache version

Check Version:

wp plugin get wp-fastest-cache --field=version

Verify Fix Applied:

Confirm plugin version is 1.2.2 or higher

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple requests to wp-fastest-cache endpoints

Network Indicators:

  • SQL injection patterns in HTTP requests
  • Unusual database traffic

SIEM Query:

source="web_logs" AND uri="*wp-fastest-cache*" AND (query="*SELECT*" OR query="*UNION*" OR query="*OR 1=1*")

🔗 References

📤 Share & Export