CVE-2025-6746

8.8 HIGH

📋 TL;DR

The WoodMart WordPress theme plugin contains a Local File Inclusion vulnerability in the 'layout' attribute that allows authenticated attackers with Contributor-level access or higher to include and execute arbitrary PHP files. This can lead to remote code execution, data theft, and access control bypass. All WordPress sites using WoodMart theme versions up to 8.2.3 are affected.

💻 Affected Systems

Products:
  • WoodMart WordPress Theme
Versions: All versions up to and including 8.2.3
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated user with Contributor role or higher. WordPress multisite installations may have different impact.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full server compromise through remote code execution, data exfiltration, backdoor installation, and complete site takeover.

🟠

Likely Case

Unauthorized file access, privilege escalation, data leakage, and limited code execution within web server context.

🟢

If Mitigated

Limited impact if proper file upload restrictions and server hardening are in place, but still significant risk.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once credentials are obtained. Public exploit details are available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 8.2.4 or later

Vendor Advisory: https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/20264492

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check for WoodMart theme updates. 4. Update to version 8.2.4 or later. 5. Clear any caching plugins.

🔧 Temporary Workarounds

Remove Contributor Role Access

all

Temporarily restrict or remove Contributor-level access until patching is complete

Web Application Firewall Rule

all

Add WAF rule to block requests containing suspicious 'layout' parameter patterns

🧯 If You Can't Patch

  • Implement strict file upload restrictions and disable PHP execution in upload directories
  • Apply principle of least privilege: restrict user roles and capabilities to minimum necessary

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for WoodMart version. If version is 8.2.3 or lower, system is vulnerable.

Check Version:

wp theme list --field=name,version --format=csv | grep -i woodmart

Verify Fix Applied:

Confirm WoodMart theme version is 8.2.4 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file inclusion attempts in web server logs
  • Requests with 'layout' parameter containing path traversal patterns
  • PHP file execution from unexpected locations

Network Indicators:

  • HTTP requests with suspicious 'layout' parameter values
  • POST/GET requests attempting file inclusion

SIEM Query:

web_access_logs | where url contains 'layout' and (url contains '../' or url contains '.php')

🔗 References

📤 Share & Export