CVE-2024-8189

4.4 MEDIUM

📋 TL;DR

This vulnerability allows authenticated attackers with administrator-level access to inject malicious scripts into WordPress pages via the 'wpmt_menu_name' parameter in the WP MultiTasking plugin. The scripts execute when users visit the compromised pages, enabling cross-site scripting attacks. Only WordPress multi-site installations and sites where unfiltered_html is disabled are affected.

💻 Affected Systems

Products:
  • WP MultiTasking – WP Utilities WordPress plugin
Versions: All versions up to and including 0.1.17
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ✅ No
Notes: Only affects WordPress multi-site installations and installations where unfiltered_html capability is disabled. Standard single-site WordPress installations with default settings are NOT vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, redirect users to malicious sites, deface websites, or perform actions on behalf of authenticated users.

🟠

Likely Case

Attackers with admin access could inject tracking scripts, display malicious content, or perform limited session hijacking against site visitors.

🟢

If Mitigated

With proper input validation and output escaping, the vulnerability would be prevented entirely.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: LOW

🎯 Exploit Status

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

Requires administrator-level access to WordPress, making exploitation more difficult but still dangerous for compromised admin accounts.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 0.1.18 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3158305/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'WP MultiTasking – WP Utilities'. 4. Click 'Update Now' if available. 5. Alternatively, download version 0.1.18+ from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the WP MultiTasking plugin until patched

wp plugin deactivate wp-multitasking

Enable unfiltered_html

all

Enable unfiltered_html capability for administrators (makes vulnerability inactive per CVE description)

Add define('DISALLOW_UNFILTERED_HTML', false); to wp-config.php

🧯 If You Can't Patch

  • Remove administrator access from untrusted users and implement strict access controls
  • Implement web application firewall (WAF) rules to block XSS payloads in plugin parameters

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → WP MultiTasking version. If version is 0.1.17 or lower, you are vulnerable if using multi-site or unfiltered_html is disabled.

Check Version:

wp plugin get wp-multitasking --field=version

Verify Fix Applied:

Verify plugin version is 0.1.18 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to admin-ajax.php or admin pages with wpmt_menu_name parameter containing script tags
  • Multiple failed login attempts followed by successful admin login

Network Indicators:

  • Unexpected JavaScript loading from WordPress admin pages
  • External script calls from WordPress menu pages

SIEM Query:

source="wordpress" AND (uri_path="*admin-ajax.php*" OR uri_path="*wp-admin/*") AND (param="wpmt_menu_name" OR param_contains="<script>")

🔗 References

📤 Share & Export