CVE-2025-22279

7.5 HIGH

📋 TL;DR

This vulnerability allows attackers to include local files on the server through improper filename control in PHP's include/require statements. It affects WordPress sites using the JetCompareWishlist plugin from Crocoblock. Attackers can potentially read sensitive files or execute code depending on server configuration.

💻 Affected Systems

Products:
  • Crocoblock JetCompareWishlist WordPress Plugin
Versions: All versions up to and including 1.5.9
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with vulnerable plugin version. PHP configuration (allow_url_include) may affect exploitability.

⚠️ 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, and website defacement.

🟠

Likely Case

Sensitive file disclosure (configuration files, database credentials) and limited file system access.

🟢

If Mitigated

Limited impact if proper file permissions and web server configurations restrict access to sensitive directories.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation is straightforward with publicly available proof-of-concept. No authentication required.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.6.0 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/jet-compare-wishlist/vulnerability/wordpress-jetcomparewishlist-plugin-1-5-9-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 JetCompareWishlist and click 'Update Now'. 4. Verify version is 1.6.0 or higher.

🔧 Temporary Workarounds

Disable vulnerable plugin

all

Temporarily disable the JetCompareWishlist plugin until patched

wp plugin deactivate jet-compare-wishlist

Restrict PHP file inclusion

linux

Configure PHP to disable remote file inclusion and restrict local file inclusion paths

php_admin_value allow_url_include Off
php_admin_value open_basedir /var/www/html

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block file inclusion patterns
  • Restrict file system permissions and implement strict access controls

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → JetCompareWishlist version. If version is 1.5.9 or lower, system is vulnerable.

Check Version:

wp plugin get jet-compare-wishlist --field=version

Verify Fix Applied:

Verify plugin version is 1.6.0 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in PHP error logs
  • HTTP requests with file inclusion parameters (include, require, file parameters)

Network Indicators:

  • HTTP requests containing file paths in query parameters
  • Requests to plugin-specific endpoints with file parameters

SIEM Query:

source="web_access_logs" AND (uri="*jet-compare-wishlist*" AND (query="*include*" OR query="*require*" OR query="*file*"))

🔗 References

📤 Share & Export