CVE-2023-35881
📋 TL;DR
This vulnerability allows attackers to read arbitrary files on the server through path traversal in the WooCommerce One Page Checkout plugin. It affects WordPress sites using vulnerable versions of this plugin, potentially exposing sensitive configuration files and data.
💻 Affected Systems
- WooCommerce One Page Checkout
⚠️ 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
Complete server compromise through local file inclusion leading to remote code execution, sensitive data exposure, and website defacement.
Likely Case
Unauthorized access to sensitive files like wp-config.php containing database credentials, leading to data theft or further system compromise.
If Mitigated
Limited impact with proper file permissions, web application firewalls, and restricted PHP execution in upload directories.
🎯 Exploit Status
Exploitation requires no authentication and uses simple path traversal techniques.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.3.1
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'WooCommerce One Page Checkout'. 4. Click 'Update Now' if available, or manually update to version 2.3.1+. 5. Verify plugin is active and functioning.
🔧 Temporary Workarounds
Disable vulnerable plugin
allTemporarily disable the WooCommerce One Page Checkout plugin until patched
wp plugin deactivate woocommerce-one-page-checkout
Web Application Firewall rule
linuxBlock path traversal patterns in requests
ModSecurity rule: SecRule ARGS "\.\./" "id:1001,phase:2,deny,status:403,msg:'Path Traversal Attempt'
🧯 If You Can't Patch
- Implement strict file permissions (644 for files, 755 for directories)
- Deploy web application firewall with path traversal detection rules
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin → Plugins → WooCommerce One Page Checkout version. If version ≤2.3.0, you are vulnerable.
Check Version:
wp plugin get woocommerce-one-page-checkout --field=version
Verify Fix Applied:
Confirm plugin version is 2.3.1 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- HTTP requests containing '../' patterns to plugin endpoints
- Access to sensitive files like wp-config.php from unexpected sources
Network Indicators:
- Unusual file read requests to /wp-content/plugins/woocommerce-one-page-checkout/
SIEM Query:
source="web_server" AND (uri="*../*" OR uri="*/wp-content/plugins/woocommerce-one-page-checkout/*")
🔗 References
- https://patchstack.com/database/vulnerability/woocommerce-one-page-checkout/wordpress-woocommerce-one-page-checkout-plugin-2-3-0-local-file-inclusion-vulnerability?_s_id=cve
- https://patchstack.com/database/vulnerability/woocommerce-one-page-checkout/wordpress-woocommerce-one-page-checkout-plugin-2-3-0-local-file-inclusion-vulnerability?_s_id=cve