CVE-2025-58608
📋 TL;DR
This vulnerability allows attackers to include local files on the server through improper filename control in PHP's include/require statements. It affects WordPress sites running the MediaPress plugin versions up to 1.5.9.1, potentially enabling attackers to read sensitive files or execute arbitrary code.
💻 Affected Systems
- BuddyDev MediaPress WordPress Plugin
⚠️ 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, data exfiltration, and 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 information disclosure if file permissions are properly configured and PHP security settings restrict file inclusion.
🎯 Exploit Status
Simple HTTP requests can trigger the vulnerability. Public proof-of-concept exists in vulnerability databases.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.5.9.2 or later
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find MediaPress and click 'Update Now'. 4. Verify version is 1.5.9.2 or higher.
🔧 Temporary Workarounds
Disable PHP allow_url_include
allPrevent PHP from including remote files via URL
php.ini: allow_url_include = Off
Restrict open_basedir
allLimit PHP file access to specific directories
php.ini: open_basedir = /var/www/html:/tmp
🧯 If You Can't Patch
- Disable or remove the MediaPress plugin entirely
- Implement web application firewall (WAF) rules to block file inclusion patterns
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → MediaPress version. If version is 1.5.9.1 or lower, system is vulnerable.
Check Version:
wp plugin list --name=mediapress --field=version (if WP-CLI installed)
Verify Fix Applied:
Confirm MediaPress plugin version is 1.5.9.2 or higher in WordPress admin panel.
📡 Detection & Monitoring
Log Indicators:
- Unusual file paths in PHP include/require statements
- Multiple requests with ../ patterns
- Access to sensitive files like /etc/passwd
Network Indicators:
- HTTP requests with file inclusion parameters
- Patterns like ?file=../../../etc/passwd
SIEM Query:
web.url:*file=* AND web.url:*../*