CVE-2025-58944
📋 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 Manufactory theme version 1.4 and earlier. Attackers can potentially read sensitive files or execute arbitrary code.
💻 Affected Systems
- WordPress Manufactory Theme
📦 What is this software?
Manufactory by Axiomthemes
⚠️ Risk & Real-World Impact
Worst Case
Full server compromise through arbitrary code execution leading to data theft, ransomware deployment, or complete system takeover.
Likely Case
Sensitive file disclosure (configuration files, database credentials, user data) and limited code execution within web server context.
If Mitigated
Limited impact with proper file permissions and web application firewalls blocking malicious requests.
🎯 Exploit Status
Simple HTTP requests with crafted parameters can trigger the vulnerability. Public exploit details available on security databases.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: >1.4
Vendor Advisory: https://patchstack.com/database/Wordpress/Theme/manufactory/vulnerability/wordpress-manufactory-theme-1-4-local-file-inclusion-vulnerability?_s_id=cve
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Appearance > Themes. 3. Check if Manufactory theme update is available. 4. Update to latest version. 5. If no update available, replace with patched version from official source.
🔧 Temporary Workarounds
Disable or Replace Theme
allTemporarily disable the Manufactory theme and switch to default WordPress theme
Web Application Firewall Rules
allBlock requests containing local file inclusion patterns in parameters
🧯 If You Can't Patch
- Implement strict file permissions (chmod 600 for sensitive files)
- Deploy web application firewall with LFI detection rules
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Appearance > Themes for Manufactory theme version <=1.4
Check Version:
Check wp-content/themes/manufactory/style.css for Version: header
Verify Fix Applied:
Confirm theme version is >1.4 or theme has been removed/replaced
📡 Detection & Monitoring
Log Indicators:
- HTTP requests with file path traversal patterns in parameters
- Multiple failed include attempts in PHP error logs
Network Indicators:
- HTTP requests containing ../ patterns, file:// wrappers, or PHP wrapper patterns
SIEM Query:
web.url:*manufactory* AND (web.param:*../* OR web.param:*file:* OR web.param:*php://*)