CVE-2024-51654

7.1 HIGH

📋 TL;DR

This CVE describes a Cross-Site Request Forgery (CSRF) vulnerability in the APK.Support APK Downloader WordPress plugin that can lead to Stored Cross-Site Scripting (XSS). Attackers can trick authenticated administrators into executing malicious actions, potentially injecting persistent scripts into the website. This affects all WordPress sites using APK Downloader plugin versions up to and including 1.0.0.

💻 Affected Systems

Products:
  • APK.Support APK Downloader WordPress Plugin
Versions: All versions up to and including 1.0.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled and an authenticated administrator to trigger the CSRF.

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

An attacker could gain administrative access to the WordPress site, deface the website, steal session cookies, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers inject malicious JavaScript that steals administrator session cookies, leading to unauthorized administrative access and potential content manipulation.

🟢

If Mitigated

With proper CSRF tokens and input validation, the attack vector is eliminated, preventing unauthorized administrative actions.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires social engineering to trick an authenticated administrator into clicking a malicious link. The vulnerability chain (CSRF to Stored XSS) is well-documented in the reference.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.1 or later

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

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'APK Downloader' and update to version 1.0.1 or later. 4. If update not available, deactivate and delete the plugin immediately.

🔧 Temporary Workarounds

Implement CSRF Protection Manually

all

Add nonce verification to plugin forms if you cannot update immediately (requires coding knowledge).

Not applicable - requires PHP code modification

Use WordPress Security Plugins

all

Install security plugins like Wordfence or Sucuri that can help detect and block CSRF/XSS attempts.

wp plugin install wordfence --activate

🧯 If You Can't Patch

  • Immediately deactivate and remove the APK Downloader plugin from your WordPress installation.
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact if plugin cannot be removed.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for APK Downloader version. If version is 1.0.0 or earlier, you are vulnerable.

Check Version:

wp plugin get apk-downloader --field=version

Verify Fix Applied:

After updating, verify the plugin version shows 1.0.1 or later in WordPress admin plugins page.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to wp-admin/admin-post.php from unexpected referrers
  • Administrative actions (plugin edits, settings changes) from unusual IP addresses or user agents

Network Indicators:

  • HTTP requests containing malicious script patterns in form submissions to plugin endpoints

SIEM Query:

source="wordpress.log" AND ("apk-downloader" OR "admin-post.php") AND (POST AND NOT referer="*wp-admin*")

🔗 References

📤 Share & Export