CVE-2024-7416

5.3 MEDIUM

📋 TL;DR

The Reveal Template WordPress plugin up to version 3.7 allows unauthenticated attackers to retrieve the full web server path via direct access to bootstrap.php with display_errors enabled. This information disclosure vulnerability affects all WordPress sites using vulnerable plugin versions. While not directly damaging, the exposed path information can assist attackers in exploiting other vulnerabilities.

💻 Affected Systems

Products:
  • WordPress Reveal Template plugin
Versions: All versions up to and including 3.7
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Reveal Template plugin enabled. Vulnerability exists in default plugin configuration.

⚠️ 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 full path disclosure with other vulnerabilities (like file inclusion or directory traversal) to execute arbitrary code, read sensitive files, or compromise the WordPress installation.

🟠

Likely Case

Attackers gather reconnaissance information about server structure to plan targeted attacks, increasing success probability for subsequent exploitation attempts.

🟢

If Mitigated

Minimal impact as path disclosure alone doesn't enable system compromise without additional vulnerabilities present.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

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

Simple HTTP request to vulnerable file path triggers disclosure. No authentication required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 3.8 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/reveal-template/trunk/tests/phpunit/bootstrap.php

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find Reveal Template plugin. 4. Click 'Update Now' if update available. 5. Alternatively, download latest version from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable plugin

all

Temporarily deactivate Reveal Template plugin until patched version available

Restrict file access

linux

Block direct access to bootstrap.php via web server configuration

# Apache: Add to .htaccess
<Files "bootstrap.php">
    Order Allow,Deny
    Deny from all
</Files>
# Nginx: Add to server block
location ~* /bootstrap\.php$ {
    deny all;
    return 403;
}

🧯 If You Can't Patch

  • Remove Reveal Template plugin completely if update not possible
  • Implement web application firewall rules to block requests to bootstrap.php

🔍 How to Verify

Check if Vulnerable:

Access https://[your-site]/wp-content/plugins/reveal-template/tests/phpunit/bootstrap.php - if full server path displayed, vulnerable

Check Version:

Check WordPress admin plugins page or examine reveal-template/readme.txt file version

Verify Fix Applied:

After update, attempt same access - should return 403 error or blank page instead of path disclosure

📡 Detection & Monitoring

Log Indicators:

  • HTTP 200 responses to bootstrap.php requests
  • Unusual access patterns to plugin test directories

Network Indicators:

  • GET requests to /wp-content/plugins/reveal-template/tests/phpunit/bootstrap.php

SIEM Query:

web.url:*reveal-template*tests*phpunit*bootstrap.php AND http.status_code:200

🔗 References

📤 Share & Export