CVE-2025-6222

9.8 CRITICAL

📋 TL;DR

This vulnerability allows unauthenticated attackers to upload arbitrary files to WordPress sites using the WooCommerce Refund And Exchange plugin due to missing file type validation. Attackers can potentially achieve remote code execution by uploading malicious files like PHP shells. All WordPress sites using this plugin up to version 3.2.6 are affected.

💻 Affected Systems

Products:
  • WooCommerce Refund And Exchange with RMA - Warranty Management, Refund Policy, Manage User Wallet
Versions: All versions up to and including 3.2.6
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the vulnerable plugin installed and activated.

⚠️ 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

Complete server compromise leading to data theft, ransomware deployment, or use as part of a botnet.

🟠

Likely Case

Website defacement, malware distribution, credential theft, or cryptocurrency mining.

🟢

If Mitigated

Limited impact if file uploads are restricted at web server level or WAF blocks malicious uploads.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

CVSS 9.8 indicates trivial exploitation with high impact. No authentication required makes this particularly dangerous.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.2.7 or later

Vendor Advisory: https://codecanyon.net/item/woocommerce-refund-and-exchange/17810207#item-description__changelog

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'WooCommerce Refund And Exchange' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin immediately.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate woocommerce-refund-and-exchange

Restrict File Uploads via .htaccess

linux

Block PHP and other executable file uploads at web server level

<FilesMatch "\.(php|php3|php4|php5|phtml|pl|py|jsp|asp|sh|cgi)$">
  Order Allow,Deny
  Deny from all
</FilesMatch>

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file uploads to the vulnerable endpoint
  • Restrict file permissions on upload directories to prevent execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'WooCommerce Refund And Exchange' version 3.2.6 or earlier

Check Version:

wp plugin get woocommerce-refund-and-exchange --field=version

Verify Fix Applied:

Confirm plugin version is 3.2.7 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual file uploads to /wp-content/uploads/ced-rnx-attachments/
  • POST requests to /wp-admin/admin-ajax.php with action=ced_rnx_order_exchange_attach_files

Network Indicators:

  • Unexpected file uploads to WordPress admin-ajax.php endpoint
  • Traffic spikes to upload directories

SIEM Query:

source="web_logs" AND uri="/wp-admin/admin-ajax.php" AND post_data LIKE "%ced_rnx_order_exchange_attach_files%"

🔗 References

📤 Share & Export