CVE-2025-14166

5.3 MEDIUM

📋 TL;DR

The WPMasterToolkit WordPress plugin allows authenticated users with Contributor-level access or higher to inject and execute arbitrary PHP code through the Code Snippets feature. This vulnerability enables remote code execution, privilege escalation, and complete site compromise. All WordPress sites using WPMasterToolkit version 2.13.0 or earlier are affected.

💻 Affected Systems

Products:
  • WPMasterToolkit WordPress Plugin
Versions: All versions up to and including 2.13.0
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with WPMasterToolkit plugin enabled and at least one user with Contributor role or higher.

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

Complete server compromise leading to data theft, malware deployment, defacement, and lateral movement to other systems.

🟠

Likely Case

Attacker gains administrative access to WordPress, modifies content, steals sensitive data, and installs backdoors.

🟢

If Mitigated

Limited impact if proper user role management and network segmentation are in place.

🌐 Internet-Facing: HIGH - WordPress sites are typically internet-facing, making them accessible to attackers worldwide.
🏢 Internal Only: MEDIUM - Internal WordPress installations could still be exploited by compromised internal accounts.

🎯 Exploit Status

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

Exploitation requires authenticated access but is straightforward once credentials are obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.13.1 or later

Vendor Advisory: https://plugins.trac.wordpress.org/log/wpmastertoolkit/

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WPMasterToolkit and click 'Update Now'. 4. Verify version is 2.13.1 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched.

wp plugin deactivate wpmastertoolkit

Restrict User Roles

all

Remove Contributor and Author roles from untrusted users.

wp user list --role=contributor --field=ID
wp user set-role <user_id> subscriber

🧯 If You Can't Patch

  • Immediately disable the WPMasterToolkit plugin and remove it from the system.
  • Implement strict user role management and monitor for suspicious activity from Contributor/Author accounts.

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins → WPMasterToolkit version.

Check Version:

wp plugin get wpmastertoolkit --field=version

Verify Fix Applied:

Confirm WPMasterToolkit version is 2.13.1 or higher in WordPress admin.

📡 Detection & Monitoring

Log Indicators:

  • Unusual PHP execution in WordPress logs
  • Code snippet creation/modification by non-admin users
  • wp-content/plugins/wpmastertoolkit/ directory modifications

Network Indicators:

  • Unexpected outbound connections from WordPress server
  • POST requests to /wp-admin/admin-ajax.php with code parameters

SIEM Query:

source="wordpress.log" AND ("wpmastertoolkit" OR "code-snippets") AND ("execute" OR "eval" OR "system")

🔗 References

📤 Share & Export