CVE-2025-58608

7.5 HIGH

📋 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

Products:
  • BuddyDev MediaPress WordPress Plugin
Versions: n/a through 1.5.9.1
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with MediaPress plugin enabled. 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, 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.

🌐 Internet-Facing: HIGH - WordPress sites are typically internet-facing and vulnerable to unauthenticated attacks.
🏢 Internal Only: MEDIUM - Internal WordPress sites could still be exploited by authenticated users or through other attack vectors.

🎯 Exploit Status

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

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

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/mediapress/vulnerability/wordpress-mediapress-plugin-1-5-9-1-local-file-inclusion-vulnerability?_s_id=cve

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

all

Prevent PHP from including remote files via URL

php.ini: allow_url_include = Off

Restrict open_basedir

all

Limit 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:*../*

🔗 References

📤 Share & Export