CVE-2024-6545
📋 TL;DR
The Admin Trim Interface WordPress plugin (versions up to 3.5.1) exposes full web server path information to unauthenticated attackers through test files with display_errors enabled. This information disclosure vulnerability doesn't cause direct damage but can aid attackers in crafting more sophisticated attacks when combined with other vulnerabilities. All WordPress sites using vulnerable versions of this plugin are affected.
💻 Affected Systems
- Admin Trim Interface 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
Attackers combine path disclosure with other vulnerabilities (like file inclusion or directory traversal) to achieve remote code execution, data theft, or complete site compromise.
Likely Case
Attackers gather reconnaissance information about server structure to plan targeted attacks, increasing success rate of subsequent exploitation attempts.
If Mitigated
Minimal impact - path information is exposed but cannot be combined with other vulnerabilities due to proper security controls.
🎯 Exploit Status
Exploitation requires simple HTTP requests to test files. The vulnerability is well-documented with public references showing exact vulnerable files.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 3.5.2 or later
Vendor Advisory: https://plugins.trac.wordpress.org/browser/admin-trim-interface/trunk/tests/bootstrap.php
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Admin Trim Interface'. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin. 6. Install latest version from WordPress repository.
🔧 Temporary Workarounds
Remove test files manually
linuxDelete vulnerable test files from plugin directory
rm -rf /path/to/wordpress/wp-content/plugins/admin-trim-interface/tests/
Disable plugin
allDeactivate plugin until patch can be applied
wp plugin deactivate admin-trim-interface
🧯 If You Can't Patch
- Implement web application firewall (WAF) rules to block access to /tests/ directory paths
- Configure server to disable display_errors in production environments
🔍 How to Verify
Check if Vulnerable:
Access https://yoursite.com/wp-content/plugins/admin-trim-interface/tests/bootstrap.php - if it returns PHP error with full path, you're vulnerable.
Check Version:
wp plugin get admin-trim-interface --field=version
Verify Fix Applied:
After update, attempt to access the test file URL - should return 404 or access denied. Check plugin version is 3.5.2+.
📡 Detection & Monitoring
Log Indicators:
- HTTP 200 responses to /wp-content/plugins/admin-trim-interface/tests/ paths
- PHP error logs containing full path disclosures
Network Indicators:
- GET requests to plugin test files from external IPs
- Repeated requests to /tests/ directory
SIEM Query:
source="web_access_logs" AND uri="/wp-content/plugins/admin-trim-interface/tests/" AND response="200"
🔗 References
- https://plugins.trac.wordpress.org/browser/admin-trim-interface/trunk/tests/bootstrap.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/92a50f24-7011-4fe4-a095-e7e320bfec81?source=cve
- https://plugins.trac.wordpress.org/browser/admin-trim-interface/trunk/tests/bootstrap.php
- https://www.wordfence.com/threat-intel/vulnerabilities/id/92a50f24-7011-4fe4-a095-e7e320bfec81?source=cve