CVE-2024-5942

4.3 MEDIUM

📋 TL;DR

The Page and Post Clone WordPress plugin has an Insecure Direct Object Reference vulnerability that allows authenticated attackers with Author-level permissions or higher to clone and read private posts. This occurs because the 'content_clone' function doesn't properly validate user-controlled input. Only WordPress sites using this specific plugin are affected.

💻 Affected Systems

Products:
  • WordPress Page and Post Clone plugin
Versions: All versions up to and including 6.0
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Attackers need at least Author-level authenticated access.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Author-level users could systematically clone and exfiltrate all private posts, potentially exposing sensitive information, draft content, or unpublished materials intended for limited audiences.

🟠

Likely Case

Malicious or compromised Author accounts could access and copy private posts they shouldn't have permission to view, leading to information disclosure of unpublished content.

🟢

If Mitigated

With proper access controls and monitoring, the impact is limited to potential unauthorized viewing of private posts by authorized users who shouldn't have that specific access.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access with Author privileges or higher. The vulnerability is in a publicly accessible function with missing input validation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 6.0

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

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Page and Post Clone' plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download latest version from WordPress plugin repository and manually update.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the Page and Post Clone plugin until patched

wp plugin deactivate page-or-post-clone

Restrict Author permissions

all

Review and reduce Author-level user permissions to minimize attack surface

🧯 If You Can't Patch

  • Implement strict access controls and monitor Author-level user activities
  • Remove the plugin entirely and use alternative content management methods

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins → Page and Post Clone version. If version is 6.0 or lower, you are vulnerable.

Check Version:

wp plugin get page-or-post-clone --field=version

Verify Fix Applied:

After updating, verify plugin version is higher than 6.0 in WordPress admin plugins page.

📡 Detection & Monitoring

Log Indicators:

  • Unusual cloning activity by Author-level users
  • Multiple POST requests to content_clone function
  • Access to post IDs outside user's normal permissions

Network Indicators:

  • HTTP POST requests to wp-admin/admin-ajax.php with action=content_clone

SIEM Query:

source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" AND parameters.action="content_clone")

🔗 References

📤 Share & Export