CVE-2025-22364

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 installations using the Ach Invoice App plugin versions up to 1.0.1, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • Service Shogun Ach Invoice App WordPress Plugin
Versions: n/a through 1.0.1
Operating Systems: Any OS running PHP and WordPress
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, sensitive file disclosure (config files, passwords), and complete system takeover.

🟠

Likely Case

Sensitive information disclosure (database credentials, configuration files) and limited file system access through path traversal.

🟢

If Mitigated

Limited impact with proper file permissions, web server restrictions, and security modules like mod_security in place.

🌐 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. No public exploit code available at this time.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.0.1

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/ach-invoice-app/vulnerability/wordpress-ach-invoice-app-plugin-1-0-1-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 'Ach Invoice App' plugin. 4. Check for available updates. 5. Update to latest version. 6. If no update available, deactivate and remove the plugin.

🔧 Temporary Workarounds

Disable vulnerable plugin

WordPress

Temporarily disable the Ach Invoice App plugin until patched version is available

wp plugin deactivate ach-invoice-app

Restrict PHP file inclusion

all

Configure PHP to disable dangerous functions and restrict file inclusion

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 plugin version: Navigate to WordPress admin → Plugins → Installed Plugins, find Ach Invoice App and check version number.

Check Version:

wp plugin get ach-invoice-app --field=version

Verify Fix Applied:

Verify plugin version is greater than 1.0.1 and test file inclusion attempts return proper errors instead of file contents.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP error logs
  • Multiple failed include/require attempts
  • Requests with ../ patterns or unusual parameters

Network Indicators:

  • HTTP requests with file inclusion patterns in parameters
  • Unusual file extensions in URLs

SIEM Query:

source="web_logs" AND (uri="*include*" OR uri="*require*" OR uri="*../*") AND status=200

🔗 References

📤 Share & Export