Skip to main content

Better Search Replace CVE-2023-6933

HIGH
Deserialization of Untrusted Data (CWE-502)
2024-02-05 security@wordfence.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify WordPress site running Better Search Replace <=1.4.4
  2. Delivery
    Craft serialized PHP payload targeting known POP gadget
  3. Exploit
    Lure authenticated admin to malicious link
  4. Install
    Browser submits payload to vulnerable plugin endpoint
  5. C2
    Plugin unserializes attacker input and instantiates gadget classes
  6. Execute
    Gadget chain triggers file deletion, data theft, or code execution
  7. Impact
    Establish persistence via webshell or admin user creation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the Better Search Replace plugin (version <=1.4.4) to be installed and active on the target WordPress site, an authenticated administrator to be tricked into visiting an attacker-controlled link or page (UI:R in the CVSS vector - the attacker themselves is unauthenticated, PR:N, but the request must originate from a privileged session via CSRF-style user interaction), and at least one additional plugin or theme on the same site that supplies a usable PHP Object Injection POP chain to convert object instantiation into file deletion, data disclosure, or code execution. Limiting factors are therefore: the plugin must be present (it is a migration utility, not always installed), an admin must perform the triggering interaction, and the host WordPress instance must contain at least one gadget-bearing component - on a hardened, minimal install with no exploitable gadget classes, impact is constrained to the object-injection primitive itself.

Impact

Signals converge strongly toward priority remediation: CVSS 8.8 with vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H indicates network-reachable, low-complexity exploitation by unauthenticated attackers with high impact across confidentiality, integrity, and availability, requiring only user interaction (UI:R). EPSS at 93.40% (100th percentile) combined with publicly available exploit code makes opportunistic mass exploitation realistic against the large WordPress install base. The vulnerability is not listed in CISA KEV at time of analysis, so 'confirmed active exploitation' cannot be asserted, but the combination of public POC, very high EPSS, and a popular plugin should be treated as a strong de facto exploitation signal. The one notable caveat is that real impact depends on a POP chain being present via another installed plugin or theme - on a minimal install with no gadget classes, the immediate impact is limited to the object injection primitive itself, which is why this should be assessed in context of the full plugin/theme footprint of each site.

Exploit ScenarioDerived

An attacker hosts a malicious page or sends a crafted link to a logged-in WordPress administrator (UI:R); when the admin's browser triggers a request to the vulnerable Better Search Replace endpoint with a serialized PHP payload, the plugin calls unserialize() on attacker-controlled input and instantiates attacker-chosen classes. On a typical WordPress site with several plugins or themes loaded, a known POP gadget chain in one of those components is then triggered to delete files, exfiltrate database secrets, or achieve PHP code execution as the web user. Publicly available exploit code exists, lowering the skill barrier for opportunistic abuse.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
Patch available 93.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

PHP Object Injection in the Better Search Replace WordPress plugin (versions up to and including 1.4.4) allows remote unauthenticated attackers to inject arbitrary PHP objects through deserialization of untrusted input. While the plugin itself contains no POP chain, the presence of any additional plugin or theme on the same WordPress instance that introduces a usable POP gadget can escalate the bug to arbitrary file deletion, sensitive data disclosure, or remote code execution. Publicly available exploit code exists and the EPSS score of 93.40% (100th percentile) signals very high real-world exploitation probability.

RemediationAI

Patch available per vendor advisory: upgrade Better Search Replace to the vendor-fixed release (version above 1.4.4, per the WP Engine/Wordfence advisories referenced from the CVE record) on every WordPress site where the plugin is installed, including staging and migration-only environments. If immediate patching is not possible, deactivate and uninstall the plugin since it is typically used only during one-off migrations and is not required for normal site operation - this fully removes the vulnerable endpoint with the trade-off that any in-progress search-replace workflow must be redone post-patch. As a compensating control, place the WordPress admin and the plugin's AJAX/admin-post endpoints behind an IP allow-list or WAF rule that blocks serialized PHP payloads (strings beginning with O: or a: in POST bodies targeting the plugin's actions), accepting the trade-off that legitimate admin requests carrying serialized data may be blocked. Audit the site for other installed plugins and themes that ship known POP gadget classes (e.g., older Monolog, Guzzle, PHPMailer, RIPS-documented WordPress gadgets) and prioritize removing or updating them, since they are what turns this primitive into full code execution.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-502 (Deserialization of Untrusted Data), a well-known class of bug in PHP applications where calling unserialize() on attacker-controlled input lets the attacker instantiate arbitrary classes and trigger their magic methods (__wakeup, __destruct, __toString). The affected component is the Better Search Replace plugin by WP Engine (CPE cpe:2.3:a:wpengine:better_search_replace), a widely deployed WordPress utility used by administrators to perform bulk find-and-replace operations on the database, often after a site migration. Because WordPress runs many plugins and themes in one PHP process, any class autoloadable at request time becomes a potential gadget, which is why a 'gadget-less' object injection in one plugin is still dangerous in the typical WordPress ecosystem.

Know when Better Search Replace gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Apr 08, 2026 - 18:22 nvd
Patch available
PoC Detected
Apr 08, 2026 - 18:18 vuln.today
Public exploit code
CVE Published
Feb 05, 2024 - 22:15 nvd
HIGH 8.8

DescriptionCVE.org

The Better Search Replace plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.4.4 via deserialization of untrusted input. This makes it possible for unauthenticated attackers to inject a PHP Object. No POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

Executive ViewAI

Why It Matters

Better Search Replace WordPress plugin (CVE-2023-6933) contains a PHP object injection vulnerability exploitable by unauthenticated remote attackers. With a 93.40% exploitation probability and publicly available exploit code, WordPress sites using version 1.4.4 or earlier face significant risk; actual code execution depends on the presence of additional plugins with vulnerable object gadget chains.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Threat Score
6.1/10
Composite threat intelligence
EPSS Score
93.4%
Top 0% exploitable
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 93.4%
Patch available Yes
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

157
Low Medium High Critical
KEV: 0
EPSS: +93
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)CVE.org

cpe:2.3:a:wpengine:better_search_replace:*:*:*:*:*:wordpress:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy