CVE-2025-60248

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP include/require statements. It affects WordPress sites using WPC Product Options for WooCommerce plugin versions up to 1.8.6, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • WPC Product Options for WooCommerce
Versions: All versions up to and including 1.8.6
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce installed. Vulnerability exists in default plugin configuration.

⚠️ 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 server compromise through local file inclusion leading to remote code execution, sensitive file disclosure (including configuration files with database credentials), and complete site takeover.

🟠

Likely Case

Sensitive information disclosure (database credentials, configuration files), limited file system access, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper file permissions, web server restrictions, and security controls in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Local file inclusion vulnerabilities are commonly exploited. Public exploit details available through security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.8.7 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/wpc-product-options/vulnerability/wordpress-wpc-product-options-for-woocommerce-plugin-1-8-6-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'WPC Product Options for WooCommerce'. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install fresh version 1.8.7+ from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the WPC Product Options plugin until patched

wp plugin deactivate wpc-product-options

Restrict PHP file functions

linux

Add PHP configuration to restrict include/require functions

php_admin_value open_basedir /var/www/html
php_admin_value allow_url_include Off

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file system permissions and implement strict access controls

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → WPC Product Options for WooCommerce version. If version is 1.8.6 or lower, system is vulnerable.

Check Version:

wp plugin get wpc-product-options --field=version

Verify Fix Applied:

Verify plugin version is 1.8.7 or higher in WordPress admin panel. Test file inclusion attempts should fail.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP include/require statements
  • Access to sensitive files like /etc/passwd, wp-config.php
  • Multiple failed file inclusion attempts

Network Indicators:

  • HTTP requests with file path parameters containing directory traversal sequences
  • Requests to plugin-specific endpoints with file inclusion parameters

SIEM Query:

source="web_logs" AND (uri="*wpc-product-options*" AND (param="*../*" OR param="*file=*" OR param="*include=*"))

🔗 References

📤 Share & Export