CVE-2023-7320
📋 TL;DR
The WooCommerce plugin for WordPress versions up to 7.8.2 has improper CORS handling on Store API REST endpoints, allowing unauthenticated attackers to directly access sensitive user information including PII from any origin. This affects all WordPress sites using vulnerable WooCommerce versions.
💻 Affected Systems
- WooCommerce WordPress plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Mass extraction of customer PII including names, email addresses, and potentially other personal data, leading to privacy violations and regulatory compliance issues.
Likely Case
Unauthorized access to customer information that could be used for phishing, spam, or identity theft attempts.
If Mitigated
Limited exposure with proper network controls, but still presents data privacy risks.
🎯 Exploit Status
Exploitation requires direct HTTP requests to vulnerable endpoints from external origins.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 7.8.3 and later
Vendor Advisory: https://wordpress.org/plugins/woocommerce/#developers
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find WooCommerce and click 'Update Now'. 4. Verify update completes successfully.
🔧 Temporary Workarounds
Restrict CORS Origins
allImplement proper CORS headers to restrict access to trusted origins only.
Add appropriate CORS headers via .htaccess or web server configuration
🧯 If You Can't Patch
- Implement web application firewall rules to block unauthorized CORS requests
- Restrict access to WooCommerce Store API endpoints via network controls
🔍 How to Verify
Check if Vulnerable:
Check WooCommerce version in WordPress admin under Plugins > Installed Plugins. If version is 7.8.2 or lower, system is vulnerable.
Check Version:
wp plugin list --name=woocommerce --field=version
Verify Fix Applied:
Verify WooCommerce version is 7.8.3 or higher after update.
📡 Detection & Monitoring
Log Indicators:
- Unusual external requests to /wp-json/wc/store/* endpoints
- Requests with Origin headers from unexpected domains
Network Indicators:
- External CORS preflight requests to WooCommerce API endpoints
- Unauthorized data extraction patterns
SIEM Query:
source="web_server_logs" AND uri="/wp-json/wc/store/*" AND NOT origin IN ["trusted_domains"]
🔗 References
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=2939652@woocommerce/trunk&old=2933569@woocommerce/trunk&sfp_email=&sfph_mail=
- https://wpscan.com/vulnerability/d1cec296-b5df-4cea-8c0d-d03a975cb6af
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7b2d1879-c337-41c9-9f47-f9c2fe8e5928?source=cve