CVE-2023-25999

8.1 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 the BodyCenter - Gym, Fitness WooCommerce theme versions up to 2.4, potentially leading to sensitive file disclosure or code execution.

💻 Affected Systems

Products:
  • BodyCenter - Gym, Fitness WooCommerce WordPress Theme
Versions: n/a through 2.4
Operating Systems: All OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable theme version. PHP configuration may affect exploitability.

⚠️ 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 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.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP requests can trigger the vulnerability. Public exploit details available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.5 or later

Vendor Advisory: https://patchstack.com/database/wordpress/theme/bodycenter/vulnerability/wordpress-bodycenter-gym-fitness-woocommerce-wordpress-theme-2-4-local-file-inclusion-vulnerability?_s_id=cve

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

all

Switch to a different WordPress theme temporarily until patched

wp theme activate twentytwentyfour

Restrict PHP file inclusion

linux

Modify 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/*"))

🔗 References

📤 Share & Export