CVE-2024-6545

5.3 MEDIUM

📋 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

Products:
  • Admin Trim Interface WordPress Plugin
Versions: All versions up to and including 3.5.1
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with the vulnerable plugin active. The vulnerability exists in test files that should not be present in production.

⚠️ 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

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.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

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

linux

Delete vulnerable test files from plugin directory

rm -rf /path/to/wordpress/wp-content/plugins/admin-trim-interface/tests/

Disable plugin

all

Deactivate 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

📤 Share & Export