CVE-2023-35881

7.6 HIGH

📋 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

Products:
  • WooCommerce One Page Checkout
Versions: All versions up to and including 2.3.0
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 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires no authentication and uses simple path traversal techniques.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.3.1

Vendor Advisory: https://patchstack.com/database/vulnerability/woocommerce-one-page-checkout/wordpress-woocommerce-one-page-checkout-plugin-2-3-0-local-file-inclusion-vulnerability

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

all

Temporarily disable the WooCommerce One Page Checkout plugin until patched

wp plugin deactivate woocommerce-one-page-checkout

Web Application Firewall rule

linux

Block 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

📤 Share & Export