CVE-2025-60242

7.5 HIGH

📋 TL;DR

This path traversal vulnerability in the WordPress Download Counter plugin allows attackers to download arbitrary files from the server by manipulating file paths. It affects all WordPress sites running Download Counter version 1.4 or earlier. Attackers can access sensitive files like configuration files, passwords, or source code.

💻 Affected Systems

Products:
  • WordPress Download Counter plugin
Versions: <= 1.4
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress installations with the vulnerable plugin activated. No special configuration required.

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

Complete server compromise through retrieval of sensitive configuration files (like wp-config.php containing database credentials), leading to data theft, site defacement, or further attacks.

🟠

Likely Case

Exfiltration of sensitive files containing credentials, configuration data, or user information, potentially enabling lateral movement or privilege escalation.

🟢

If Mitigated

Limited impact if file permissions are properly restricted and sensitive files are stored outside web-accessible directories.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires simple HTTP requests with manipulated file paths. Public proof-of-concept exists in the advisory.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: >1.4

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/download-counter/vulnerability/wordpress-download-counter-plugin-1-4-arbitrary-file-download-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Download Counter' and update to latest version. 4. If no update available, deactivate and delete the plugin.

🔧 Temporary Workarounds

Deactivate plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate download-counter

Web server file restriction

linux

Configure web server to block directory traversal attempts

# For Apache: add to .htaccess
RewriteCond %{REQUEST_URI} \.\. [NC]
RewriteRule .* - [F]

🧯 If You Can't Patch

  • Remove plugin files completely from wp-content/plugins/download-counter directory
  • Implement WAF rules to block requests containing directory traversal patterns (../, ..\, etc.)

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Download Counter version <=1.4

Check Version:

wp plugin list --name=download-counter --field=version

Verify Fix Applied:

Verify plugin version is >1.4 or plugin is removed from wp-content/plugins directory

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests containing '../' or '..\' patterns to download-counter endpoints
  • Unusual file access patterns from single IPs

Network Indicators:

  • HTTP GET requests with path traversal sequences in URL parameters

SIEM Query:

source="web_logs" AND (url="*download-counter*" AND (url="*../*" OR url="*..\\*"))

🔗 References

📤 Share & Export