CVE-2024-56230

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP include/require statements. It affects WordPress sites using the Dynamic Product Category Grid, Slider for WooCommerce plugin versions up to 1.1.3, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • Dynamic Product Category Grid, Slider for WooCommerce
Versions: n/a through 1.1.3
Operating Systems: All operating systems running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce installed. Vulnerability exists in default plugin configuration.

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

Full server compromise through local file inclusion leading to remote code execution, data theft, and complete site takeover.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials) and limited code execution within web server context.

🟢

If Mitigated

No impact if proper file permissions and web server configurations prevent access to sensitive files.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Simple HTTP requests can trigger the vulnerability. Public exploit details available through security advisories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.1.4 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/dynamic-product-categories-design/vulnerability/wordpress-dynamic-product-category-grid-slider-for-woocommerce-plugin-1-1-3-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 'Dynamic Product Category Grid, Slider for WooCommerce'
4. Click 'Update Now' if update available
5. If no update available, deactivate and delete plugin, then install fresh version 1.1.4+ from WordPress repository

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the plugin until patched version is available

wp plugin deactivate dynamic-product-categories-design

Restrict PHP include paths

linux

Configure PHP to restrict include paths to specific directories

php_admin_value open_basedir "/var/www/html:/tmp"

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block requests containing path traversal patterns
  • Restrict file permissions on sensitive configuration files and disable dangerous PHP functions

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins for plugin version 1.1.3 or earlier

Check Version:

wp plugin get dynamic-product-categories-design --field=version

Verify Fix Applied:

Verify plugin version is 1.1.4 or later in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests containing '../' patterns or unusual file paths in query parameters
  • PHP warnings about failed file inclusions

Network Indicators:

  • HTTP requests with path traversal sequences in parameters
  • Unusual file access patterns from single IP

SIEM Query:

source="web_access.log" AND (uri="*../*" OR uri="*..\\*" OR uri="*%2e%2e%2f*")

🔗 References

📤 Share & Export