CVE-2024-54353

7.1 HIGH

📋 TL;DR

This CSRF vulnerability in the WPGear Hack-Info WordPress plugin allows attackers to trick authenticated administrators into performing actions that inject malicious scripts. When exploited, it leads to stored cross-site scripting (XSS) that can affect all users visiting the compromised site. WordPress sites using Hack-Info plugin versions up to 3.17 are affected.

💻 Affected Systems

Products:
  • WPGear Hack-Info WordPress Plugin
Versions: n/a through 3.17
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with Hack-Info 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

Attackers gain administrative access, deface websites, steal session cookies, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers inject malicious JavaScript to steal administrator credentials, hijack user sessions, or display unwanted content to visitors.

🟢

If Mitigated

With proper CSRF protections and content security policies, the attack surface is reduced, though stored XSS payloads could still execute if previously injected.

🌐 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 administrator into clicking a malicious link while authenticated.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.18 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/hack-info/vulnerability/wordpress-hack-info-plugin-3-17-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 'Hack-Info' and click 'Update Now'. 4. Verify version is 3.18 or higher.

🔧 Temporary Workarounds

Disable Hack-Info Plugin

all

Temporarily deactivate the vulnerable plugin until patched.

wp plugin deactivate hack-info

Implement CSRF Tokens

all

Add CSRF protection to WordPress forms if custom modifications are possible.

🧯 If You Can't Patch

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

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel under Plugins > Installed Plugins for Hack-Info version 3.17 or lower.

Check Version:

wp plugin get hack-info --field=version

Verify Fix Applied:

Confirm Hack-Info plugin version is 3.18 or higher in WordPress admin.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to Hack-Info admin endpoints
  • JavaScript injection patterns in plugin settings

Network Indicators:

  • CSRF attack patterns with referrer headers
  • Unexpected requests from administrator IPs to plugin endpoints

SIEM Query:

source="wordpress.log" AND "hack-info" AND ("POST" OR "admin-ajax.php")

🔗 References

📤 Share & Export