CVE-2023-25995
📋 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
- AI Mortgage Calculator WordPress Plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- 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.
🎯 Exploit Status
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
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
allTemporarily disable the AI Mortgage Calculator plugin until patched
wp plugin deactivate ai-mortgage-calculator
Restrict PHP file inclusion
linuxConfigure 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=*")