CVE-2025-9334

8.8 HIGH

📋 TL;DR

This vulnerability allows authenticated WordPress users with Subscriber-level access or higher to execute arbitrary code through the Better Find and Replace plugin. Attackers can call arbitrary plugin functions due to insufficient input validation in the 'rtafar_ajax' function. All WordPress sites using vulnerable plugin versions are affected.

💻 Affected Systems

Products:
  • Better Find and Replace – AI-Powered Suggestions WordPress plugin
Versions: All versions up to and including 1.7.7
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin enabled. Any authenticated user (Subscriber role or higher) can exploit.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full site compromise allowing attackers to execute arbitrary PHP code, install backdoors, steal data, deface websites, or pivot to other systems.

🟠

Likely Case

Attackers with subscriber accounts inject malicious code to create admin users, modify content, or install cryptocurrency miners.

🟢

If Mitigated

With proper access controls and monitoring, impact limited to plugin functionality disruption or minor data manipulation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once attacker has valid credentials.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7.8 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3389979/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Better Find and Replace – AI-Powered Suggestions'. 4. Click 'Update Now' if available. 5. Alternatively, delete and reinstall latest version from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the plugin until patched

wp plugin deactivate real-time-auto-find-and-replace

Restrict user registration

all

Disable new user registration to prevent attacker account creation

Settings → General → Membership → Uncheck 'Anyone can register'

🧯 If You Can't Patch

  • Remove Subscriber role from all users or restrict to trusted individuals only
  • Implement web application firewall rules to block suspicious AJAX requests to rtafar_ajax endpoint

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins → Better Find and Replace → Version number

Check Version:

wp plugin get real-time-auto-find-and-replace --field=version

Verify Fix Applied:

Verify plugin version is 1.7.8 or higher after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php with action=rtafar_ajax
  • Multiple failed login attempts followed by successful authentication and plugin function calls
  • Unexpected PHP execution or file creation in plugin directories

Network Indicators:

  • HTTP POST requests containing 'rtafar_ajax' parameter with suspicious function names
  • Traffic spikes to admin-ajax.php from single IP addresses

SIEM Query:

source="wordpress.log" AND "admin-ajax.php" AND "rtafar_ajax" AND ("eval" OR "system" OR "exec" OR "shell_exec")

🔗 References

📤 Share & Export