CVE-2023-25999
📋 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 the BodyCenter - Gym, Fitness WooCommerce theme versions up to 2.4, potentially leading to sensitive file disclosure or code execution.
💻 Affected Systems
- BodyCenter - Gym, Fitness WooCommerce WordPress Theme
⚠️ 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 data exposure, and complete site takeover.
Likely Case
Sensitive file disclosure (configuration files, database credentials), limited code execution, and potential privilege escalation.
If Mitigated
Limited impact with proper file permissions and security controls, potentially only file disclosure without execution.
🎯 Exploit Status
Simple HTTP requests can trigger the vulnerability. Public exploit details available in security advisories.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 2.5 or later
Restart Required: No
Instructions:
1. Update the BodyCenter theme to version 2.5 or later via WordPress admin panel. 2. Verify theme files are properly updated. 3. Clear any caching mechanisms.
🔧 Temporary Workarounds
Disable vulnerable theme
allSwitch to a different WordPress theme temporarily until patched
wp theme activate twentytwentyfour
Restrict PHP file inclusion
linuxModify PHP configuration to restrict file inclusion paths
php_admin_value open_basedir "/var/www/html:/tmp"
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 permissions and implement strict access controls on sensitive directories
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Appearance > Themes for BodyCenter theme version. If version is 2.4 or earlier, vulnerable.
Check Version:
wp theme list --name=bodycenter --field=version
Verify Fix Applied:
Verify theme version shows 2.5 or later in WordPress admin. Test file inclusion attempts return proper errors.
📡 Detection & Monitoring
Log Indicators:
- Unusual file path patterns in access logs
- Multiple requests to theme files with path traversal parameters
- PHP include/require errors with suspicious paths
Network Indicators:
- HTTP requests with file path parameters to theme files
- Patterns of ../ or absolute paths in URLs
SIEM Query:
source="web_access_logs" AND (url="*bodycenter*" AND (url="*../*" OR url="*/etc/*" OR url="*/proc/*"))