CVE-2024-54337

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in the DevriX DX Dark Site WordPress plugin allows attackers to perform stored cross-site scripting (XSS) attacks. This affects all WordPress sites using the plugin version 1.0.1 or earlier. Attackers can inject malicious scripts that execute when other users view affected pages.

💻 Affected Systems

Products:
  • DevriX DX Dark Site WordPress Plugin
Versions: n/a through 1.0.1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. No special configuration needed.

⚠️ 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 persistent malicious scripts that steal admin credentials, deface websites, redirect users to malicious sites, or perform actions as authenticated users.

🟠

Likely Case

Attackers trick authenticated users into submitting malicious forms that inject JavaScript payloads, leading to session hijacking or unauthorized content modification.

🟢

If Mitigated

With proper CSRF protections and input validation, the attack surface is minimized, though the vulnerable code remains present.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires tricking authenticated users into clicking malicious links or visiting crafted pages. CSRF to stored XSS chain is well-documented.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.2 or later

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

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'DX Dark Site' and click 'Update Now'. 4. Verify version is 1.0.2 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily deactivate the vulnerable plugin until patched.

wp plugin deactivate devrix-dark-site

Implement CSRF Tokens

all

Add CSRF protection to all plugin forms if custom modifications are possible.

🧯 If You Can't Patch

  • Disable the DX Dark Site plugin immediately.
  • Implement web application firewall (WAF) rules to block CSRF attempts and XSS payloads.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for DX Dark Site version. If version is 1.0.1 or earlier, you are vulnerable.

Check Version:

wp plugin get devrix-dark-site --field=version

Verify Fix Applied:

After update, confirm plugin version shows 1.0.2 or higher in WordPress plugins list.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin admin endpoints without referrer headers
  • JavaScript injection patterns in form submissions

Network Indicators:

  • CSRF attack patterns with missing anti-CSRF tokens
  • Unexpected iframe or script tags in HTTP traffic

SIEM Query:

source="wordpress.log" AND "DX Dark Site" AND ("POST" OR "admin-ajax.php")

🔗 References

📤 Share & Export