CVE-2025-2158

8.8 HIGH

📋 TL;DR

This vulnerability allows authenticated attackers with Contributor-level access or higher to perform Local File Inclusion attacks in the WordPress Review Plugin. Attackers can include and execute arbitrary PHP files on the server, potentially leading to remote code execution, data theft, or privilege escalation. All WordPress sites using this plugin version 5.3.5 or earlier are affected.

💻 Affected Systems

Products:
  • WordPress Review Plugin: The Ultimate Solution for Building a Review Website
Versions: All versions up to and including 5.3.5
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated user with Contributor role or higher. Additional risk if pearcmd is enabled with register_argc_argv.

⚠️ 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 via remote code execution leading to data exfiltration, backdoor installation, or complete site takeover.

🟠

Likely Case

Unauthorized file access, sensitive data disclosure, or limited code execution within the web server context.

🟢

If Mitigated

Attack limited to authenticated users only, with proper file upload restrictions preventing PHP file inclusion.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access but is straightforward once credentials are obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 5.3.6 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/wp-review/tags/5.3.6

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Review Plugin: The Ultimate Solution for Building a Review Website'. 4. Click 'Update Now' if available. 5. Alternatively, download version 5.3.6+ from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate wp-review

Restrict User Roles

all

Remove Contributor and higher roles from untrusted users.

🧯 If You Can't Patch

  • Implement strict file upload restrictions to block PHP files
  • Enable web application firewall with LFI protection rules

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins > Installed Plugins

Check Version:

wp plugin get wp-review --field=version

Verify Fix Applied:

Confirm plugin version is 5.3.6 or higher after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual file inclusion attempts in web server logs
  • POST requests to plugin files with file path parameters

Network Indicators:

  • HTTP requests containing file path traversal patterns to plugin endpoints

SIEM Query:

source="web_server.logs" AND ("wp-review" OR "includes/functions.php") AND (".." OR "file=" OR "path=")

🔗 References

📤 Share & Export