CVE-2024-12508

6.4 MEDIUM

📋 TL;DR

This vulnerability allows authenticated WordPress users with contributor-level access or higher to inject malicious scripts into website pages using the Glofox Shortcodes plugin. When other users visit pages containing these injected scripts, the scripts execute in their browsers. This affects all WordPress sites using vulnerable versions of the Glofox Shortcodes plugin.

💻 Affected Systems

Products:
  • Glofox Shortcodes WordPress Plugin
Versions: All versions up to and including 2.6
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Contributor-level access or higher is needed to exploit.

⚠️ 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 steal session cookies, redirect users to malicious sites, deface websites, or perform actions on behalf of authenticated users, potentially leading to complete site compromise.

🟠

Likely Case

Attackers with contributor access inject malicious scripts that steal user session cookies or redirect users to phishing pages when they visit affected pages.

🟢

If Mitigated

With proper user access controls and content security policies, impact is limited to defacement or minor data leakage from users visiting affected pages.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is technically simple once access is obtained.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.7 or later

Vendor Advisory: https://wordpress.org/plugins/glofox-shortcodes/

Restart Required: No

Instructions:

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

🔧 Temporary Workarounds

Disable vulnerable shortcodes

all

Remove or disable the 'glofox' and 'glofox_lead_capture' shortcodes from WordPress

Add to theme's functions.php: remove_shortcode('glofox'); remove_shortcode('glofox_lead_capture');

Restrict user roles

all

Limit contributor-level access to trusted users only

🧯 If You Can't Patch

  • Disable the Glofox Shortcodes plugin entirely until patched
  • Implement Content Security Policy headers to restrict script execution

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → Installed Plugins → Glofox Shortcodes version

Check Version:

wp plugin list --name=glofox-shortcodes --field=version

Verify Fix Applied:

Confirm plugin version is 2.7 or higher in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual shortcode usage in post/page edits
  • Multiple failed login attempts followed by contributor account access

Network Indicators:

  • Unexpected script tags in page responses containing glofox shortcode attributes

SIEM Query:

source="wordpress" (event="post_updated" OR event="page_updated") shortcode="glofox" OR shortcode="glofox_lead_capture"

🔗 References

📤 Share & Export