CVE-2025-30835

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 running the Accounting for WooCommerce plugin versions up to 1.6.8, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • Accounting for WooCommerce WordPress plugin
Versions: n/a through 1.6.8
Operating Systems: Any OS running WordPress with PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version. 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, sensitive data exposure, and complete site takeover.

🟠

Likely Case

Information disclosure of sensitive files like configuration files, logs, or source code, potentially enabling further attacks.

🟢

If Mitigated

Limited file access within web root directory if proper file permissions and security controls are implemented.

🌐 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 WordPress plugin structure.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.6.8

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/accounting-for-woocommerce/vulnerability/wordpress-accounting-for-woocommerce-plugin-1-6-8-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 'Accounting for WooCommerce'
4. Click 'Update Now' if available
5. If no update available, deactivate and remove plugin
6. Install latest version from WordPress repository

🔧 Temporary Workarounds

Disable vulnerable plugin

WordPress

Temporarily deactivate the Accounting for WooCommerce plugin until patched version is available

wp plugin deactivate accounting-for-woocommerce

🧯 If You Can't Patch

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

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins for Accounting for WooCommerce version ≤1.6.8

Check Version:

wp plugin get accounting-for-woocommerce --field=version

Verify Fix Applied:

Verify plugin version is >1.6.8 in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in web server logs
  • PHP include/require errors with unexpected file paths
  • Requests containing '../' or similar path traversal patterns

Network Indicators:

  • HTTP requests with file inclusion parameters
  • Unusual file path patterns in URL parameters

SIEM Query:

web.url:*accounting-for-woocommerce* AND (web.url:*../* OR web.url:*php* OR web.url:*include*)

🔗 References

📤 Share & Export