CVE-2025-30846

8.8 HIGH

📋 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 Restaurant Menu by MotoPress plugin versions up to 2.4.4, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • Restaurant Menu by MotoPress (WordPress plugin)
Versions: n/a through 2.4.4
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version. PHP configuration (allow_url_include) 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 theft, and complete site takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials), limited code execution, or denial of service.

🟢

If Mitigated

No impact if proper file permissions and web server configurations prevent access to sensitive files.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires understanding of PHP file inclusion vulnerabilities and target environment. No public exploit code identified.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 2.4.4

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/mp-restaurant-menu/vulnerability/wordpress-restaurant-menu-by-motopress-plugin-2-4-4-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 'Restaurant Menu by MotoPress'. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and remove plugin, then install latest version from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the Restaurant Menu by MotoPress plugin until patched version is available.

Restrict file permissions

Linux/Unix

Set strict file permissions on sensitive directories and configuration files.

chmod 600 wp-config.php
chmod 600 sensitive-config-files

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Disable PHP allow_url_include directive in php.ini configuration

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for 'Restaurant Menu by MotoPress' version 2.4.4 or earlier.

Check Version:

wp plugin list --name='Restaurant Menu by MotoPress' --field=version

Verify Fix Applied:

Verify plugin version is updated beyond 2.4.4 in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in web server logs
  • PHP include/require errors with suspicious file paths
  • Multiple requests to plugin files with file parameter variations

Network Indicators:

  • HTTP requests containing file inclusion patterns (../, /etc/, etc.) to plugin endpoints

SIEM Query:

source="web_server_logs" AND (uri="*mp-restaurant-menu*" AND (params="*file=*" OR params="*include=*" OR params="*require=*"))

🔗 References

📤 Share & Export