CVE-2025-60240

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 running the AnyComment plugin version 0.3.6 or earlier, potentially leading to sensitive information disclosure or code execution.

💻 Affected Systems

Products:
  • WordPress AnyComment Plugin
Versions: n/a through <= 0.3.6
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Affects WordPress installations with the AnyComment plugin installed and 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, and website defacement.

🟠

Likely Case

Local file inclusion allowing reading of sensitive files like configuration files, potentially leading to credential theft.

🟢

If Mitigated

Limited impact if file permissions are properly configured and sensitive files are protected.

🌐 Internet-Facing: HIGH - WordPress plugins are typically internet-facing and this vulnerability can be exploited remotely.
🏢 Internal Only: MEDIUM - Internal systems running vulnerable versions could be exploited by authenticated users.

🎯 Exploit Status

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

Simple path traversal techniques can exploit this vulnerability without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: > 0.3.6

Vendor Advisory: https://patchstack.com/database/Wordpress/Plugin/anycomment/vulnerability/wordpress-anycomment-plugin-0-3-6-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 AnyComment plugin
4. Click 'Update Now' if update available
5. If no update available, deactivate and remove plugin

🔧 Temporary Workarounds

Disable PHP include path manipulation

linux

Configure PHP to restrict file inclusion to specific directories

php_admin_value open_basedir /var/www/html
php_admin_value allow_url_include Off

🧯 If You Can't Patch

  • Deactivate and remove the AnyComment plugin immediately
  • Implement web application firewall rules to block file inclusion patterns

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → AnyComment version number

Check Version:

wp plugin list --name=anycomment --field=version

Verify Fix Applied:

Verify AnyComment plugin version is > 0.3.6 in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual file paths in PHP error logs
  • Multiple include/require failures with path traversal patterns

Network Indicators:

  • HTTP requests with ../ patterns in parameters
  • Requests to plugin-specific endpoints with file paths

SIEM Query:

source="web_logs" AND (uri="*../*" OR params="*../*") AND uri="*anycomment*"

🔗 References

📤 Share & Export