CVE-2025-49935

7.4 HIGH

📋 TL;DR

This CVE describes a PHP Local File Inclusion vulnerability in the WoodMart WordPress theme. Attackers can include arbitrary local files through improper filename control in PHP include/require statements, potentially leading to sensitive information disclosure or code execution. All WordPress sites using WoodMart theme versions before 8.3.2 are affected.

💻 Affected Systems

Products:
  • WoodMart WordPress Theme
Versions: All versions before 8.3.2
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with WoodMart theme active. PHP configuration with allow_url_include disabled does not prevent local file inclusion.

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

Remote code execution leading to complete server compromise, data theft, and website defacement.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials) and limited code execution within web server context.

🟢

If Mitigated

Information disclosure limited to publicly accessible files only.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires knowledge of file paths but is straightforward for attackers familiar with WordPress directory structure.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 8.3.2

Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/woodmart/vulnerability/wordpress-woodmart-theme-8-3-2-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check for WoodMart theme update notification. 4. Click 'Update Now' to install version 8.3.2 or higher. 5. Clear any caching plugins/CDN caches.

🔧 Temporary Workarounds

Disable vulnerable theme

all

Temporarily switch to default WordPress theme until patch can be applied

Web Application Firewall rule

all

Block requests containing path traversal sequences in URL parameters

🧯 If You Can't Patch

  • Implement strict file permission controls on sensitive configuration files
  • Deploy web application firewall with LFI protection rules

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Appearance > Themes for WoodMart version. If version is below 8.3.2, system is vulnerable.

Check Version:

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

Verify Fix Applied:

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

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in web server logs
  • Requests containing '../' sequences in URL parameters
  • Access to sensitive files like wp-config.php from unexpected sources

Network Indicators:

  • HTTP requests with path traversal payloads in GET/POST parameters
  • Unusual file extensions being requested

SIEM Query:

web_access_logs WHERE url CONTAINS '../' AND (url CONTAINS 'php' OR url CONTAINS 'inc')

🔗 References

📤 Share & Export