CVE-2025-31904

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in Infoway LLC's Ebook Downloader WordPress plugin allows attackers to trick authenticated administrators into performing unintended actions. It affects all versions up to 1.0, potentially leading to stored XSS attacks. WordPress site administrators using this plugin are at risk.

💻 Affected Systems

Products:
  • Infoway LLC Ebook Downloader WordPress Plugin
Versions: All versions up to and including 1.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress administrator to be logged in and visit a malicious page 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 visitors' browsers, potentially stealing credentials, session cookies, or performing actions on behalf of users.

🟠

Likely Case

Attackers create fake requests that administrators might execute while logged in, leading to plugin settings changes or content injection.

🟢

If Mitigated

With proper CSRF tokens and same-origin policies, the attack would fail as unauthorized requests would be rejected.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

CSRF attacks are well-understood and easy to weaponize; requires social engineering to trick administrators.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.1 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/ebook-downloader/vulnerability/wordpress-ebook-downloader-plugin-1-0-csrf-to-stored-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Ebook Downloader' and click 'Update Now'. 4. Verify update to version 1.0.1 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate ebook-downloader

Implement CSRF Protection

all

Add custom CSRF tokens to plugin forms if you can modify code

🧯 If You Can't Patch

  • Restrict administrator access to trusted networks only
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for Ebook Downloader version 1.0 or lower

Check Version:

wp plugin get ebook-downloader --field=version

Verify Fix Applied:

Verify plugin version is 1.0.1 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /wp-admin/admin-ajax.php with ebook-downloader actions
  • Multiple failed CSRF token validations

Network Indicators:

  • Cross-origin requests to WordPress admin endpoints from unexpected domains

SIEM Query:

source="wordpress.log" AND ("ebook-downloader" OR "admin-ajax.php") AND status=200 AND referer NOT CONTAINS "your-domain.com"

🔗 References

📤 Share & Export