CVE-2025-66115

6.6 MEDIUM

📋 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 Easy Invoice plugin installations running vulnerable versions, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • WordPress Easy Invoice plugin
Versions: All versions up to and including 2.1.4
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Easy Invoice plugin enabled. PHP configuration with allow_url_include disabled does not prevent 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 disclosure (config files, passwords), and complete system takeover.

🟠

Likely Case

Sensitive information disclosure including database credentials, configuration files, and user data through reading local files.

🟢

If Mitigated

Limited impact with proper file permissions, web server restrictions, and security controls preventing file inclusion outside web root.

🌐 Internet-Facing: HIGH - WordPress plugins are typically internet-facing and this vulnerability can be exploited remotely without authentication.
🏢 Internal Only: MEDIUM - Internal systems could still be vulnerable but attack surface is reduced compared to internet-facing deployments.

🎯 Exploit Status

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

Local file inclusion vulnerabilities are commonly exploited and weaponized. The vulnerability is unauthenticated and requires minimal technical skill to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.1.5 or later

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/easy-invoice/vulnerability/wordpress-easy-invoice-plugin-2-1-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 Easy Invoice plugin. 4. Click 'Update Now' if update available. 5. Alternatively, download version 2.1.5+ from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable Easy Invoice plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate easy-invoice

Restrict file inclusion paths

linux

Configure PHP to restrict file inclusion to specific directories

Add 'open_basedir = /var/www/html' to php.ini

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file permissions on sensitive configuration files and directories

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Easy Invoice version. If version is 2.1.4 or lower, system is vulnerable.

Check Version:

wp plugin get easy-invoice --field=version

Verify Fix Applied:

Verify Easy Invoice plugin version is 2.1.5 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in web server logs
  • Requests containing '../' sequences or file inclusion parameters
  • Access to sensitive files like /etc/passwd, wp-config.php

Network Indicators:

  • HTTP requests with file inclusion parameters (include, require, file parameters)
  • Unusual file paths in URL parameters

SIEM Query:

web.url:*../* AND (web.url:*include* OR web.url:*require* OR web.url:*file*)

🔗 References

📤 Share & Export