CVE-2025-27272

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 VG PostCarousel plugin versions up to 1.1, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • VG PostCarousel WordPress Plugin
Versions: n/a through 1.1
Operating Systems: Any OS running PHP and WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: All WordPress installations using vulnerable plugin versions are affected regardless of 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, sensitive file disclosure (config files, passwords), and complete site takeover.

🟠

Likely Case

Sensitive file disclosure (wp-config.php, /etc/passwd), limited code execution through log poisoning or file upload, and potential privilege escalation.

🟢

If Mitigated

Limited impact with proper file permissions, disabled PHP execution in upload directories, and restricted server access.

🌐 Internet-Facing: HIGH - WordPress plugins are typically internet-facing, and this vulnerability can be exploited remotely without authentication.
🏢 Internal Only: MEDIUM - Internal systems may still be vulnerable if attackers gain initial access through other means.

🎯 Exploit Status

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

Exploitation requires understanding of PHP LFI techniques and may need additional steps for code execution.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 1.1 (check plugin repository for latest)

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/vg-postcarousel/vulnerability/wordpress-vg-postcarousel-plugin-1-1-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 VG PostCarousel and click 'Update Now'. 4. If no update is available, deactivate and delete the plugin immediately.

🔧 Temporary Workarounds

Disable vulnerable plugin

WordPress

Temporarily disable the VG PostCarousel plugin until patched

wp plugin deactivate vg-postcarousel

Restrict PHP file inclusion

Apache

Add .htaccess rules to restrict file inclusion patterns

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

🧯 If You Can't Patch

  • Remove the VG PostCarousel plugin completely from the WordPress installation
  • Implement web application firewall rules to block LFI attack patterns and monitor for exploitation attempts

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → VG PostCarousel version. If version is 1.1 or earlier, you are vulnerable.

Check Version:

wp plugin get vg-postcarousel --field=version

Verify Fix Applied:

Verify plugin version is updated beyond 1.1 in WordPress admin panel and test file inclusion attempts return errors instead of file contents.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP error logs
  • Multiple requests with '../' patterns
  • Requests to plugin files with file parameter

Network Indicators:

  • HTTP requests containing '../../' patterns
  • Requests to wp-content/plugins/vg-postcarousel/ with file parameters

SIEM Query:

source="*access.log*" AND ("vg-postcarousel" AND ("file=" OR "../" OR "..\\"))

🔗 References

📤 Share & Export