CVE-2025-30814

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 Post Grid plugin versions up to 7.7.17, potentially enabling attackers to read sensitive files or execute code.

💻 Affected Systems

Products:
  • RadiusTheme The Post Grid WordPress Plugin
Versions: n/a through 7.7.17
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version. PHP configuration with allow_url_include disabled does not prevent local file inclusion.

⚠️ 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 exfiltration, and complete site takeover.

🟠

Likely Case

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

🟢

If Mitigated

Limited impact with proper file permissions, web application firewalls, and restricted PHP functions.

🌐 Internet-Facing: HIGH - WordPress plugins are typically exposed to the internet and this vulnerability can be exploited remotely.
🏢 Internal Only: MEDIUM - Internal attackers could still exploit this, but external exposure is the primary concern.

🎯 Exploit Status

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

Exploitation requires specific conditions but is feasible with knowledge of WordPress plugin structure. No public exploit code identified at time of analysis.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version 7.7.18 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/the-post-grid/vulnerability/wordpress-the-post-grid-plugin-7-7-17-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 'The Post Grid' plugin. 4. Click 'Update Now' if update available. 5. If no update appears, manually download version 7.7.18+ from WordPress.org and replace plugin files.

🔧 Temporary Workarounds

Disable vulnerable plugin

WordPress

Temporarily deactivate The Post Grid plugin until patched version can be installed.

wp plugin deactivate the-post-grid

Web Application Firewall rule

all

Block requests containing local file inclusion patterns targeting the-post-grid endpoints.

🧯 If You Can't Patch

  • Remove The Post Grid plugin completely if not essential for site functionality
  • Implement strict file permissions (chmod 600 for sensitive files) and disable dangerous PHP functions like allow_url_fopen, allow_url_include

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → The Post Grid → Version number. If version is 7.7.17 or lower, system is vulnerable.

Check Version:

wp plugin get the-post-grid --field=version

Verify Fix Applied:

Confirm plugin version is 7.7.18 or higher in WordPress admin panel and test plugin functionality remains intact.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in PHP error logs
  • HTTP requests containing '..', '/etc/', '/proc/' patterns targeting the-post-grid endpoints
  • Multiple failed include attempts

Network Indicators:

  • HTTP requests with file path traversal parameters to /wp-content/plugins/the-post-grid/

SIEM Query:

source="web_logs" AND (uri="*the-post-grid*" AND (param="*../*" OR param="*/etc/*" OR param="*/proc/*"))

🔗 References

📤 Share & Export