CVE-2025-58849

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the WordPress Hide Real Download Path plugin allows attackers to perform stored cross-site scripting (XSS) attacks. This affects WordPress administrators who can be tricked into clicking malicious links while logged in. The vulnerability exists in all versions up to and including 1.6.

💻 Affected Systems

Products:
  • WordPress Hide Real Download Path plugin
Versions: n/a through 1.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Attack requires administrator to be tricked into clicking malicious link while authenticated.

⚠️ 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 could inject malicious scripts that execute in administrators' browsers, potentially leading to complete site takeover, data theft, or malware distribution to visitors.

🟠

Likely Case

Attackers create fake admin actions that inject persistent XSS payloads into WordPress pages, compromising administrator sessions and potentially affecting site visitors.

🟢

If Mitigated

With proper CSRF tokens and input validation, the attack would fail at the initial request stage, preventing any XSS injection.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

CSRF to XSS chain is well-understood attack pattern. Exploitation requires social engineering to trick authenticated administrators.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.6

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/hide-real-download-path/vulnerability/wordpress-hide-real-download-path-plugin-1-6-cross-site-request-forgery-csrf-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Hide Real Download Path' plugin. 4. Click 'Update Now' if update available. 5. If no update, deactivate and delete plugin immediately.

🔧 Temporary Workarounds

Add CSRF Protection Manually

all

Implement nonce verification in plugin files to validate requests

Edit plugin PHP files to add wp_verify_nonce() checks before processing admin actions

Restrict Admin Access

linux

Limit administrator accounts and implement IP whitelisting for admin panel

Add to .htaccess: Order Deny,Allow\nDeny from all\nAllow from 192.168.1.0/24

🧯 If You Can't Patch

  • Deactivate and remove the Hide Real Download Path plugin immediately
  • Implement web application firewall (WAF) rules to block CSRF attempts and XSS payloads

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Hide Real Download Path' version 1.6 or earlier

Check Version:

wp plugin list --name=hide-real-download-path --field=version

Verify Fix Applied:

Confirm plugin version is higher than 1.6 or plugin is completely removed

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed admin action requests from same IP
  • Unusual POST requests to wp-admin/admin-ajax.php with plugin parameters

Network Indicators:

  • CSRF token missing in admin requests
  • Suspicious JavaScript injection in plugin-related requests

SIEM Query:

source="wordpress.log" AND ("hide-real-download-path" OR "hrdp") AND (status=200 OR status=403) AND method=POST

🔗 References

📤 Share & Export