CVE-2024-47309

6.6 MEDIUM

📋 TL;DR

This CVE describes a path traversal vulnerability in the Cities Shipping Zones for WooCommerce WordPress plugin that allows attackers to include local PHP files on the server. The vulnerability affects all versions up to 1.2.7 and can lead to sensitive information disclosure or remote code execution. WordPress sites using this plugin are affected.

💻 Affected Systems

Products:
  • Cities Shipping Zones for WooCommerce WordPress plugin
Versions: n/a through 1.2.7
Operating Systems: All operating systems running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce installed and the vulnerable plugin activated

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

Remote code execution leading to complete server compromise, data theft, or website defacement

🟠

Likely Case

Sensitive file disclosure including configuration files, database credentials, or user data

🟢

If Mitigated

Limited impact with proper file permissions and web server restrictions in place

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Path traversal vulnerabilities are commonly exploited and public details are available

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.2.8 or later

Vendor Advisory: https://patchstack.com/database/vulnerability/cities-shipping-zones-for-woocommerce/wordpress-cities-shipping-zones-for-woocommerce-plugin-1-2-7-local-file-inclusion-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel
2. Navigate to Plugins → Installed Plugins
3. Find 'Cities Shipping Zones for WooCommerce'
4. Click 'Update Now' if update is available
5. If no update available, deactivate and remove the plugin

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily deactivate the Cities Shipping Zones for WooCommerce plugin

wp plugin deactivate cities-shipping-zones-for-woocommerce

Web server path restriction

all

Configure web server to restrict access to sensitive directories

# Apache: Add to .htaccess
<FilesMatch "\.(php|inc|conf|config)$">
  Order Deny,Allow
  Deny from all
</FilesMatch>
# Nginx: Add to server block
location ~ /\.(php|inc|conf|config)$ {
  deny all;
}

🧯 If You Can't Patch

  • Deactivate and remove the Cities Shipping Zones for WooCommerce plugin immediately
  • Implement web application firewall (WAF) rules to block path traversal attempts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → Installed Plugins for 'Cities Shipping Zones for WooCommerce' version 1.2.7 or earlier

Check Version:

wp plugin get cities-shipping-zones-for-woocommerce --field=version

Verify Fix Applied:

Verify plugin version is 1.2.8 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual file path requests containing '../' sequences
  • Requests to plugin files with unexpected parameters
  • Access to sensitive files like wp-config.php

Network Indicators:

  • HTTP requests with path traversal sequences in URL parameters
  • Unusual file extensions being requested through plugin endpoints

SIEM Query:

source="web_server_logs" AND (uri="*../*" OR uri="*..%2f*" OR uri="*..%5c*") AND uri="*cities-shipping-zones*"

🔗 References

📤 Share & Export