CVE-2025-60248
📋 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
- WPC Product Options for WooCommerce
⚠️ 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
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.
🎯 Exploit Status
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
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
allTemporarily disable the WPC Product Options plugin until patched
wp plugin deactivate wpc-product-options
Restrict PHP file functions
linuxAdd 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=*"))