CVE-2024-10640

7.3 HIGH

📋 TL;DR

This vulnerability allows unauthenticated attackers to execute arbitrary WordPress shortcodes through the FOX Currency Switcher Professional plugin. Attackers can potentially execute malicious code, access sensitive data, or take over affected WordPress sites. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • FOX – Currency Switcher Professional for WooCommerce WordPress plugin
Versions: All versions up to and including 1.4.2.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce and the vulnerable plugin installed. 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

Complete site compromise through remote code execution, data theft, defacement, or malware installation via malicious shortcodes.

🟠

Likely Case

Unauthorized content injection, privilege escalation, or data exfiltration through WordPress shortcode functionality.

🟢

If Mitigated

Limited impact if shortcode execution is restricted through security plugins or hardened WordPress configurations.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Attack requires no authentication and leverages WordPress's built-in shortcode functionality, making exploitation straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.4.2.3 or later

Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3183018%40woocommerce-currency-switcher&old=3178647%40woocommerce-currency-switcher&sfp_email=&sfph_mail=

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'FOX – Currency Switcher Professional for WooCommerce'. 4. Click 'Update Now' if available, or download version 1.4.2.3+ from WordPress repository. 5. Activate updated plugin.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the FOX Currency Switcher plugin until patched

wp plugin deactivate woocommerce-currency-switcher

Restrict shortcode execution

all

Use security plugins to restrict or sanitize shortcode execution

🧯 If You Can't Patch

  • Disable the FOX Currency Switcher plugin immediately
  • Implement web application firewall rules to block suspicious shortcode patterns

🔍 How to Verify

Check if Vulnerable:

Check plugin version in WordPress admin under Plugins → Installed Plugins. If version is 1.4.2.2 or lower, you are vulnerable.

Check Version:

wp plugin get woocommerce-currency-switcher --field=version

Verify Fix Applied:

Verify plugin version is 1.4.2.3 or higher after update. Test currency switcher functionality works normally.

📡 Detection & Monitoring

Log Indicators:

  • Unusual shortcode execution patterns in WordPress debug logs
  • Multiple failed shortcode execution attempts
  • Unexpected plugin activation/deactivation events

Network Indicators:

  • HTTP POST requests containing shortcode parameters to vulnerable endpoints
  • Unusual traffic to /wp-admin/admin-ajax.php with shortcode parameters

SIEM Query:

source="wordpress.log" AND ("do_shortcode" OR "shortcode_atts") AND "currency-switcher"

🔗 References

📤 Share & Export