Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2023-6063: Unauthenticated SQL Injection in WP Fastest Cache <1.2.2

Published Dec 4, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS74.8%100th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Wpfastestcache
IdentifiersCVE-2023-6063CWE-89 · Improper Neutralization of Special…

A critical unauthenticated SQL injection vulnerability exists in the WP Fastest Cache WordPress plugin prior to version 1.2.2. The vulnerability arises from improper sanitization and escaping of the $username variable in the is_user_admin function of the WpFastestCacheCreateCache class. This variable, extracted from cookies, is used directly in an SQL query before input sanitization occurs, allowing attackers to inject arbitrary SQL. The flaw is exploitable via time-based blind SQL injection techniques, enabling attackers to read the full contents of the WordPress database without authentication.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows unauthenticated attackers to extract the entire contents of the WordPress database using time-based blind SQL injection. This can lead to exposure of sensitive information, including user credentials, configuration data, and potentially compromise the entire WordPress installation. The attack does not require authentication, significantly increasing the risk and attack surface.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, disable or remove the WP Fastest Cache plugin until it can be updated. Restrict access to the WordPress site where feasible, and monitor for suspicious activity. Employ a web application firewall (WAF) with SQL injection detection capabilities as an additional layer of defense.

Remediation

Patch, then assume compromise.

Upgrade WP Fastest Cache to version 1.2.2 or later, which addresses the vulnerability by properly sanitizing and escaping user-supplied input before it is used in SQL queries.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.

View more in app →
Exploit-CVE-2023-6063-PoC-VulnThis three-file Python PoC targets CVE-2023-6063 in WP Fastest Cache 1.2.2 and earlier. poc.py is the sole executable component; it uses requests for HTTP traffic and pwntools logging/progress output, while requirements.txt lists those dependencies and README.md documents use and mitigation. The script places conditional MySQL SQL expressions in the wordpress_logged_in cookie and measures request latency to determine whether each condition caused SLEEP(delay). It supports checking a username, validating a supplied password hash or email domain, extracting a selected user's wp_users.user_pass hash, and extracting wp_users.user_email. Extraction iterates a printable-character alphabet and tests each database character position until a matching delayed response is observed. The target address is entirely operator-supplied; the repository contains no hard-coded external host, IP address, or command-and-control endpoint.zhairiazzeddine · Disclosed Sep 9, 2026 · python · markdown · web · networkOperationalCVE-2023-6063-PoCThis repository provides a Python proof-of-concept exploit for CVE-2023-6063, a time-based blind SQL injection vulnerability in the WP Fastest Cache WordPress plugin (versions <=1.2.2). The exploit is implemented in 'poc.py', which uses the 'requests' and 'pwntools' libraries to automate the injection of SQL payloads via the 'wordpress_logged_in' cookie. The script allows an attacker to extract hashed passwords and email addresses for WordPress users by measuring response delays caused by the SLEEP() function in SQL queries. The exploit is unauthenticated and works remotely, requiring only the target URL and a valid username. The repository includes a README.md with detailed usage instructions, technical background, and mitigation advice, as well as a requirements.txt listing dependencies. The main entry point is 'poc.py', which provides command-line options for customizing the attack. No hardcoded endpoints are present, but the script is designed to target arbitrary WordPress sites running the vulnerable plugin.incommatose · Disclosed Apr 10, 2025 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
WpfastestcacheWp Fastest Cacheapplication
FAQ

Frequently asked questions

Is CVE-2023-6063 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-6063 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-6063?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-6063, the earliest disclosed Apr 10, 2025.
Is there a patch for CVE-2023-6063?
Upgrade WP Fastest Cache to version 1.2.2 or later, which addresses the vulnerability by properly sanitizing and escaping user-supplied input before it is used in SQL queries.
What products are affected by CVE-2023-6063?
Wpfastestcache Wp Fastest Cache.
How severe is CVE-2023-6063?
CVE-2023-6063 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 74.8% (100th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.