CVE-2025-49313

7.5 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 ovatheme BRW plugin versions up to 1.8.6, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • ova-brw WordPress plugin
Versions: n/a through 1.8.6
Operating Systems: All OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version. PHP configuration with allow_url_include disabled reduces risk but doesn't eliminate local file inclusion.

⚠️ 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, sensitive file access (including configuration files with credentials), and complete site takeover.

🟠

Likely Case

Sensitive information disclosure (database credentials, configuration files), limited file system access, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper file permissions, web server restrictions, and security controls in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation is straightforward with publicly available details. Attackers can craft URLs to include local files without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.8.7 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/ova-brw/vulnerability/wordpress-brw-1-8-6-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 'BRW' plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and remove plugin, then install fresh version 1.8.7+ from WordPress repository.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the BRW plugin until patched version is available

wp plugin deactivate ova-brw

Restrict PHP file inclusion

linux

Configure PHP to disable dangerous functions and restrict file inclusion paths

php.ini: allow_url_include = Off
php.ini: open_basedir = /var/www/html

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file system permissions and implement strict access controls

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins for BRW plugin version. If version is 1.8.6 or earlier, system is vulnerable.

Check Version:

wp plugin get ova-brw --field=version

Verify Fix Applied:

Verify BRW plugin version is 1.8.7 or later in WordPress admin panel. Test file inclusion attempts should fail.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP include/require statements
  • Multiple 404 errors for non-existent PHP files
  • Access to sensitive files like /etc/passwd, wp-config.php

Network Indicators:

  • HTTP requests with file path traversal patterns
  • Requests containing '..', '../', or absolute paths in parameters

SIEM Query:

source="web_access" AND (uri="*..*" OR uri="*/etc/*" OR uri="*wp-config*" OR uri="*passwd*")

🔗 References

📤 Share & Export