CVE-2023-25995

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 AI Mortgage Calculator plugin versions up to 1.0.1, potentially leading to sensitive file disclosure or code execution.

💻 Affected Systems

Products:
  • AI Mortgage Calculator WordPress Plugin
Versions: n/a through 1.0.1
Operating Systems: All operating systems running 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 website takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials), limited code execution, 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

Simple HTTP requests can trigger the vulnerability. Public exploit details available in security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.2 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/ai-mortgage-calculator/vulnerability/wordpress-ai-mortgage-calculator-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 AI Mortgage Calculator
4. Click 'Update Now' if update available
5. If no update, remove plugin and find alternative

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the AI Mortgage Calculator plugin until patched

wp plugin deactivate ai-mortgage-calculator

Restrict PHP file inclusion

linux

Configure PHP to restrict file inclusion paths

php_admin_value open_basedir /var/www/html
php_admin_value allow_url_include Off

🧯 If You Can't Patch

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

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → AI Mortgage Calculator version. If version is 1.0.1 or earlier, you are vulnerable.

Check Version:

wp plugin get ai-mortgage-calculator --field=version

Verify Fix Applied:

Verify plugin version is 1.0.2 or later in WordPress admin panel. Test functionality remains working.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP error logs
  • Multiple requests with file inclusion parameters
  • Access to sensitive system files

Network Indicators:

  • HTTP requests with file path parameters like ?file=../../etc/passwd
  • Unusual file extensions in URLs

SIEM Query:

source="web_server_logs" AND (uri="*..*" OR uri="*file=*" OR uri="*include=*")

🔗 References

📤 Share & Export